【发布时间】:2020-10-17 01:51:51
【问题描述】:
python chatterbot 库给出 convo.txt 下面的数据集
输出.txt
hey
hey 1
hey
hey 2
hey
hey 3
或者当在这个数据集上训练时,在下面的数据集(yml)的语料库中
- - hey
- hey 1
- - hey
- hey 2
- - hey
- hey 3
当调用 get_response('hey') 时,hey 1 和 hey 2 是唯一给出的,这是为什么呢?以及当用户输入“嘿”时如何获得多个响应,我希望它在 hey 1 hey 2 和 hey 3 之间随机生成
【问题讨论】:
标签: python python-3.x chatbot corpus chatterbot