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
Traceback (most recent call last):
File "newsClassifier.py", line 22, in
newsTrainer.train(news['text'], news['category'])
File "/home/hydra/Desktop/AUR/projectSpider/naive-bayes-classifier/naiveBayesClassifier/trainer.py", line 17, in train
tokens = self.tokenizer.tokenize(text)
AttributeError: 'module' object has no attribute 'tokenize'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "newsClassifier.py", line 22, in
newsTrainer.train(news['text'], news['category'])
File "/home/hydra/Desktop/AUR/projectSpider/naive-bayes-classifier/naiveBayesClassifier/trainer.py", line 17, in train
tokens = self.tokenizer.tokenize(text)
AttributeError: 'module' object has no attribute 'tokenize'
The text was updated successfully, but these errors were encountered: