Skip to main content

ChatterBot Language Training Corpus

Package Version Build Status

These modules are used to quickly train ChatterBot to respond to various inputs in different languages. Although much of ChatterBot is designed to be language independent, it is still useful to have these training sets available to prime a fresh database and make the variety of responses that a bot can yield much more diverse.

For instructions on how to use these data sets, please refer to the project documentation.

All training data contained within this corpus is user contributed.

If you are interested in contributing support for a new language please create a pull request. Additions are welcomed!

Create your own Corpus Training data

Chatterbot is a very flexible and dynamic chatbot that you easily can create your own training data and structure.

Create or copy an existing .yml file and put that file in a existing or a new directory you created under chatterbot_corpus\data\<NEW DIRECTORY> Edit that file with any text editor that you like to work with.

In the beginning of the file you set one or two categories.

categories:
- myown
- my own categories

Then can you start your actual training conversation data.

conversations:
- - Hello
  - Hello
- - Hi
  - Hello

Install your training corpus data to Django

You need to install chatterbot as the Quick Start Guide. When the installation are done, please go to (Virtual Env)/lib/pythonX.X/site-packages/chatterbot_corpus/data/ directory. Here is the same structure as you can find in this GitHub repo, here is the area where you can create your own directories and conversation files.

When you are done with your files, then can you edit the Django setting.py file and locate the chatterbot training section. Here do you need to add chatterbot.corpus.<DIRECTORY>.<FILENAME>

'training_data': [
     'chatterbot.corpus.english.greeting',
     'chatterbot.corpus.custom.myown',
     'chatterbot.corpus.swedish.food'
]

When you are done, please proceed with the Django Chatterbot Training session.

Unit Testing

“A true professional does not waste the time and money of other people by handing over software that is not reasonably free of obvious bugs; that has not undergone minimal unit testing; that does not meet the specifications and requirements; that is gold-plated with unnecessary features; or that looks like junk.” – Daniel Read

pip install -r dev-requirements.txt
nosetests

Metadata

Release files for sugaroid-chatterbot-corpus 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sugaroid-chatterbot-corpus 1.2.0
File Size Uploaded Provenance
sugaroid-chatterbot-corpus-1.2.0.tar.gz 194.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sugaroid-chatterbot-corpus 1.2.0
File Interpreter ABI Platform
sugaroid_chatterbot_corpus-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 436.2 kB

Release files / sugaroid-chatterbot-corpus-1.2.0.tar.gz

Download URL sugaroid-chatterbot-corpus-1.2.0.tar.gz
Size 194.3 kB
Tags Source
SHA-256 checksum
How to use checksums
63c04a7123e44ce8de37a4da084bc5693bbef609cd93783073a0b06e75d73b73
BLAKE2b-256 checksum
How to use checksums
c57c78bd206085921ef52fd188d86eb7a56cc9dd2144771c0153a1437a01c4a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Release files / sugaroid_chatterbot_corpus-1.2.0-py2.py3-none-any.whl

Download URL sugaroid_chatterbot_corpus-1.2.0-py2.py3-none-any.whl
Size 241.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
224ba4600d864afc9c6018629eb5038e12735a28f28f2238b460e57ba9b90473
BLAKE2b-256 checksum
How to use checksums
64020b2b68807c9e2b894f11b3d7c2ab20630433e35cdfc69c0cad205d9eb7fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Security for sugaroid-chatterbot-corpus 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page