Skip to content

Commit

Permalink
Updated readme & release version.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Oct 28, 2015
1 parent af6e512 commit 945d769
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion chatterbot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .chatterbot import ChatBot

__version__ = "0.2.7"
__version__ = "0.2.8"
__maintainer__ = "Gunther Cox"
__email__ = "gunthercx@gmail.com"
25 changes: 17 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ from chatterbot import ChatBot
chatbot = ChatBot("Ron Obvious")
# Train based on the english corpus
# For better greetings
chatbot.train("chatterbot.corpus.english.greetings")
# For more verbose conversations
chatbot.train("chatterbot.corpus.english.conversations")
chatbot.train("chatterbot.corpus.english")
# Get a response to an input statement
chatbot.get_response("Hello, how are you today?")
Expand All @@ -55,8 +50,22 @@ chatbot.get_response("Hello, how are you today?")
Chatterbot comes with a data utility module that can be used to train chat bots.
At the moment there is only English training data in this module. Contributions
of additional training data or training data in other languages would be greatly
appreciated. Take a look at the data files in the `chatterbot.corpus` directory
if you are interested in contributing.
appreciated. Take a look at the data files in the
[chatterbot/corpus](https://github.com/gunthercox/ChatterBot/tree/master/chatterbot/corpus)
directory if you are interested in contributing.

```
# Train based on the english corpus
chatbot.train("chatterbot.corpus.english")
# Train based on english greetings corpus
chatbot.train("chatterbot.corpus.english.greetings")
# Train based on the english conversations corpus
chatbot.train("chatterbot.corpus.english.conversations")
```

**Corpus contributions are welcome! Please make a pull request.**

# Documentation

Expand Down

0 comments on commit 945d769

Please sign in to comment.