Chatterbot: How do I change file location of Chatterbot_corpus data?

Created on 13 Oct 2017  路  2Comments  路  Source: gunthercox/ChatterBot

Hi, I have developed my own UI for creating Q&A for chatterbot_corpus data. I can test chatterbot responses also. They are working fine.
Now when i create Q&A from my project, the YAML files will be stored in location "C:/Python27/Lib/site-packages/chatterbot_corpus/data/english/". For the simplicity of my project, I want to move it into my project folder so that I don't have to use absolute path, but using relative path instead. Can I do it?

question

Most helpful comment

@nanda248 Yes, you could, Read this documentation will guide you how to configure.

chatterbot.train(
    "./data/greetings_corpus/custom.corpus.json",
    "./data/my_corpus/"
)

All 2 comments

@nanda248 Yes, you could, Read this documentation will guide you how to configure.

chatterbot.train(
    "./data/greetings_corpus/custom.corpus.json",
    "./data/my_corpus/"
)

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.

Was this page helpful?
0 / 5 - 0 ratings