• Stars
    star
    1,360
  • Rank 34,554 (Top 0.7 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created almost 8 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A multilingual dialog corpus

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

More Repositories

1

ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
Python
14,065
star
2

chatterbot-voice

A example of verbal communication using ChatterBot
108
star
3

Salvius

An open source humanoid robot made from recycled parts and open source technology
Python
89
star
4

jsondb

JSON formated file database
Python
63
star
5

mathparse

A Python library for evaluating natural language mathematical equations
Python
50
star
6

chatterbot-weather

A ChatterBot logic adapter that returns information about the current weather
Python
29
star
7

ArduinoNeuronLibrary

Simulate neural activity with Arduino
C++
26
star
8

ocr-service

A stand alone character recognition micro-service with a RESTful API
Python
21
star
9

django-bootstrap-base-template

A common base template for Django web apps using Bootstrap
Python
19
star
10

HackathonPack

Everything you need to get to a hackathon
18
star
11

chicken-photos

A collection of chicken photos. Useful for training computer vision models to identify chickens.
13
star
12

NoCoin

No Coin is the most secure, inflation-proof crypto currency. Risk nothing by having no coins.
10
star
13

DataHub

A fast data feed designed for machine consumption
Python
9
star
14

jquery-network-camera

A jQuery plugin for rendering network camera feeds on an html canvas.
JavaScript
6
star
15

AttitudeEngine

Language independent sentiment analysis for text statements
Python
6
star
16

bootstrap-hud-theme

A bootstrap theme inspired by the ocular feedback of killer robots.
JavaScript
5
star
17

iot-analytics

Analytics for your robot or IOT device
Python
5
star
18

SoundBox

Musical querty keyboard in Java
Java
4
star
19

SpeakForMe

Text to speech using real voices
JavaScript
4
star
20

NewYorkStartupIndex

The New York Startup Index ranks locations within New York City and surrounding areas to determine how suitable they are for a new startup.
HTML
4
star
21

RobotPartsManager

An API endpoint for managing an inventory of robot parts
Python
3
star
22

ShadowHero

Python
3
star
23

environment-file

Import environment variables from the environment, default to ones defined in a file.
Python
2
star
24

bravissimo

Theme for Jekyll sites (gem based)
CSS
2
star
25

FOSSPrioritySupport

Priority support services for free and open source applications
2
star
26

timebase.io

HTML
2
star
27

hero

Super hero robot
1
star
28

setsuperuser

Django command for setting the super user from environment variables
Python
1
star
29

PeriodicTable

A Periodic Table of Elements using Angular JS
JavaScript
1
star
30

django-rest-requirements

Python requirements for creating APIs with Django Rest Framework, pinned to stable version ranges
Python
1
star
31

GAS

Government as a service
HTML
1
star
32

Cookbook

A delicious framework for showcasing code recipes
CSS
1
star