Skip to content
Advertisement

Tag: non-english

KeyError on a certain word

I am trying to use Naive Bayes for spam-ham classification. I am getting a word error repeteadly on here: The error message is just this: ‘hafta’ is the first word of the pandas dataframe and the trainng dataset. I tried the solution on this issue that seemed similar to mine but it didn’t work out. I will appreciate any hint

Advertisement