naive-bayes-classifier
naive-bayes-classifier copied to clipboard
'module' object has no attribute 'Tokenizer'
newsTrainer = Trainer(tokenizer.Tokenizer(stop_words = [], signs_to_remove = ["?!#%&"]))
At the above line, I am getting an error.
Traceback (most recent call last):
File "
@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