You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"]))
At the above line, I am getting an error.
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'Tokenizer'
The text was updated successfully, but these errors were encountered:
@b121351 you should copy the contents of tokenizer.py in this repo into tokenizer.py in your pip package. You can find the location by running pip show naiveBayesClassifier in the terminal
newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"]))
At the above line, I am getting an error.
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'Tokenizer'
The text was updated successfully, but these errors were encountered: