Skip to main content

No project description provided

Project description

A machine readable multilingual dialog corpus.

Home-page: https://github.com/gunthercox/chatterbot-corpus
Author: Gunther Cox
Author-email: gunthercx@gmail.com
License: BSD
Download-URL: https://github.com/gunthercox/chatterbot-corpus/tarball/1.2.0
Description: 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 <http://chatterbot.readthedocs.io/en/latest/training.html#training-with-corpus-data>`__.

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 <http://chatterbot.readthedocs.io/en/stable/quickstart.html>`__.
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 requirements.txt
nosetests

.. |Package Version| image:: https://img.shields.io/pypi/v/chatterbot-corpus.svg
:target: https://pypi.python.org/pypi/chatterbot-corpus/
.. |Build Status| image:: https://travis-ci.org/gunthercox/chatterbot-corpus.svg?branch=master
:target: https://travis-ci.org/gunthercox/chatterbot-corpus

Keywords: chatterbot,dialog,language,corpus
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatterbot-corpus-1.2.0.tar.gz (90.7 kB view details)

Uploaded Source

Built Distribution

chatterbot_corpus-1.2.0-py2.py3-none-any.whl (117.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file chatterbot-corpus-1.2.0.tar.gz.

File metadata

  • Download URL: chatterbot-corpus-1.2.0.tar.gz
  • Upload date:
  • Size: 90.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for chatterbot-corpus-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e6d81d9abd2404663cbe19eec4b2786877b305965604998dc000904903d69be2
MD5 7396fcf7fc9b4bcbbed5166968593556
BLAKE2b-256 bef9e1cd9ee8b286659cd87baa62e466f1222c9c6e2f408582260de866f9ed22

See more details on using hashes here.

File details

Details for the file chatterbot_corpus-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: chatterbot_corpus-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 117.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for chatterbot_corpus-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5caf9f02ea1b7fed5f4df39a210a66c3f5afa308b6fa6b635dffe0bbe75a3cdf
MD5 ce2f9cea938bdfb84f25e1249ffbdae7
BLAKE2b-256 ed19f8b41daf36fe4b0f43e283a820362ffdb2c1128600ab4ee187e84262fa4d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page