[nltk_data] Downloading package stopwords to C:UsersXXXX
[nltk_data] XXXAppDataRoamingnltk_data...
[nltk_data] Package stopwords is already up-to-date!
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] C:UsersXXXXXXXXAppDataRoamingnltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date!
Traceback (most recent call last):
File "C:UsersXXXXXXXXXmyprojectchatbotprochatbot.py", line 8, in
bot.set_trainer(ListTrainer)
AttributeError: 'ChatBot' object has no attribute 'set_trainer'
set_trainer is obsolete, and has been removed. see below how to use the trainer.
trainer = ListTrainer(bot)
trainer.train()
馃憜馃憜that's correct @orfeous
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
馃憜馃憜that's correct @orfeous