简体   繁体   English

ChatterBot Ubuntu语料库培训师

[英]ChatterBot Ubuntu Corpus Trainer

Looking to create a custom trainer for chatterbot, In the ubuntu corpus trainer, it looks as if the training is done based on all the conversation entries. 想要为chatterbot创建定制的培训师,在ubuntu语料库培训师中,看起来培训是根据所有对话条目完成的。 I manually copy the ubuntu_dialogs.tgz to the 'data' folder. 我手动将ubuntu_dialogs.tgz复制到“数据”文件夹。 Trainer fails with error file could not be opened successfully 培训师失败,错误file could not be opened successfully

https://github.com/gunthercox/ChatterBot/blob/master/examples/ubuntu_corpus_training_example.py

can i unzip all the data to ubuntu_dialogs and provide to trainer? 我可以将所有数据解压缩到ubuntu_dialogs并提供给培训师吗?

edit: Yes, we can , the data folder is ".\\data" , which is path from where you are invoking the ubuntu_corpus_training_example.py. 编辑:是的,我们可以,数据文件夹为“。\\ data”,这是您调用ubuntu_corpus_training_example.py的路径。 create a folder ubuntu_dialogs and unzip all the folders, the trainer.py looks at .\\data\\ubuntu_dialogs***.tsv files 创建一个文件夹ubuntu_dialogs并解压缩所有文件夹,trainer.py会查看。\\ data \\ ubuntu_dialogs ***。tsv文件

Yes, we can , the data folder is ".\\data" , which is path from where you are invoking the ubuntu_corpus_training_example.py. 是的,我们可以,数据文件夹为“。\\ data”,这是您调用ubuntu_corpus_training_example.py的路径。 create a folder ubuntu_dialogs and unzip all the folders, the trainer.py looks at .\\data\\ubuntu_dialogs***.tsv files 创建一个文件夹ubuntu_dialogs并解压缩所有文件夹,trainer.py会查看。\\ data \\ ubuntu_dialogs ***。tsv文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM