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
This is a small change that needs to be made before future changes that will help improve the time and processing efficiency when ChatterBot generates a response to an input statement.
Changes have already been made to add categories to the ChatterBot Corpus so that the data looks like this:
categories:
- conversationsconversations:
- - Good morning, how are you?
- I am doing well, how about you?
- I'm also good.
- That's good to hear.
- Yes it is.
- - Hello
- Hi
- How are you doing?
- I am doing well.
The categories attribute allows a list of descriptive labels to be added to the collection of dialog. Now, changes need to be made so that the ChatterBotCorpusTrainer in trainers.py adds the values from the categories list in the corpus data to the tags fields that statements have.
In the future (a different issue and pull request will be created to describe and make this change), the categorization of statements will make it possible for the chat bot to predict a smaller set of data that a possible response should be likely to exist it.
The text was updated successfully, but these errors were encountered:
gunthercox
changed the title
Modify ChatterBot Corpus trainer to save corpus categories to as tags for statements
Modify ChatterBot Corpus trainer to save corpus categories as tags for statements
Oct 10, 2017
This is a small change that needs to be made before future changes that will help improve the time and processing efficiency when ChatterBot generates a response to an input statement.
Changes have already been made to add categories to the ChatterBot Corpus so that the data looks like this:
The
categories
attribute allows a list of descriptive labels to be added to the collection of dialog. Now, changes need to be made so that theChatterBotCorpusTrainer
in trainers.py adds the values from thecategories
list in the corpus data to thetags
fields that statements have.In the future (a different issue and pull request will be created to describe and make this change), the categorization of statements will make it possible for the chat bot to predict a smaller set of data that a possible response should be likely to exist it.
The text was updated successfully, but these errors were encountered: