James

Results 6 comments of James

Facing the same issue.

How bad is it effecting the training?

I was able to fix it, and I think it did not really effect the training for me. ``` for doc in documents: # initializing bag of words bag =...

Then changed the bow function in app.py. ``` def clean_up_sentence(sentence): sentence_words = nltk.word_tokenize(sentence) sentence_words = [lemmatizer.lemmatize(word.lower()) for word in sentence_words] return sentence_words def bow(sentence, classes, show_details=True): sentence_words = clean_up_sentence(sentence) bag...

Thank you. I am not, I just did a very brief fix to get rid of the error. Is the best for you to have a look because I just...

@mainadennis My fix doesnt work. Can you please look into it, thanks!