Thank you for your interest in contributing to the ChatterBot Corpus! This project relies on community contributions to provide high-quality, diverse training data for chatbots across multiple languages.
- Code of Conduct
- How Can I Contribute?
- Content Guidelines
- Getting Started
- Submitting Contributions
- Style Guide
- Legal Requirements
This project adheres to a code of conduct that emphasizes respect, inclusivity, and constructive collaboration. By participating, you are expected to uphold this code. Please be respectful and considerate in all interactions.
We welcome contributions that add support for new languages! To add a new language:
- Create a new directory under
chatterbot_corpus/data/with the language name (e.g.,chatterbot_corpus/data/polish/) - Add conversation files in YAML format (
.yml) - Follow the existing structure from other language directories
You can also help by:
- Adding new conversation topics to existing languages
- Correcting factual errors in existing conversations
- Fixing spelling, grammar, or formatting issues
- Expanding topic coverage within a language
- Improving the natural flow of conversations
If you find errors, inappropriate content, or have suggestions for improvement:
- Check if an issue already exists
- Create a new issue with a clear description
- Tag the issue appropriately (e.g.,
bug,enhancement,content-quality)
The corpus aims for factual correctness as best as possible. All contributions should:
- Provide accurate information when discussing factual topics
- Avoid spreading misinformation or false claims
- Cite or reference verifiable information when appropriate
- Avoid controversial or unverified claims presented as facts
If a conversation includes factual information (dates, scientific facts, historical events, etc.), please verify its accuracy before submitting.
All contributions must meet high standards for quality:
- Use correct spelling according to the language's standard conventions
- Follow proper grammar rules for the target language
- Proofread your contributions before submitting
- Use appropriate punctuation and capitalization
- Ensure conversations flow naturally
- Keep responses contextually appropriate
- Maintain consistency within conversation threads
- Avoid non-sequiturs or confusing transitions
- Use clear, descriptive filenames (e.g.,
greetings.yml,technology.yml) - Group related conversations together
- Use appropriate categories in your YAML files
- Follow the existing file structure
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/chatterbot-corpus.git cd chatterbot-corpus - Create a new branch for your contribution:
Or for improvements:
git checkout -b add-language-polish
git checkout -b fix-spanish-greetings
All corpus data files use YAML format (.yml). Here's the basic structure:
categories:
- greetings
- casual
conversations:
- - Hello
- Hi there!
- - How are you?
- I'm doing well, thank you! How about you?
- - What's your name?
- I'm a chatbot. What's your name?categories: Tags that categorize the conversation content (1-3 recommended)conversations: A list of conversation exchanges- Each conversation is a list of statements that flow sequentially
Place your files in the appropriate directory:
chatterbot_corpus/data/
├── english/
│ ├── greetings.yml
│ ├── conversations.yml
│ └── ...
├── spanish/
│ └── ...
└── [your-language]/
└── [your-topic].yml
- Review your content for factual accuracy
- Check spelling and grammar
- Ensure conversations flow naturally
- Verify proper YAML formatting
- Test your YAML files are valid (no syntax errors)
- Review legal requirements below
-
Commit your changes with clear, descriptive messages:
git add . git commit -m "Add Polish language greetings and basic conversations"
-
Push to your fork:
git push origin add-language-polish
-
Create a Pull Request on GitHub:
- Provide a clear title describing your contribution
- Include a detailed description of what you've added or changed
- Reference any related issues
- Explain any special considerations or decisions made
-
Wait for review: Maintainers will review your PR and may request changes
-
Address feedback: Make requested changes and push updates to your branch
-
Merge: Once approved, a maintainer will merge your contribution
Good:
- "Add Portuguese language support with greetings and basic conversations"
- "Fix grammar errors in Spanish emotions.yml"
- "Add technology-related conversations to English corpus"
Not ideal:
- "Update files"
- "Changes"
- "Fix stuff"
- Use 2 spaces for indentation (no tabs)
- Use UTF-8 encoding
- Keep lines under 120 characters when possible
- Use consistent formatting across all files
- Keep individual statements concise (1-3 sentences)
- Use natural, conversational language
- Avoid overly formal or robotic responses
- Include appropriate variations in responses
- Consider cultural context for the target language
- Use the standard dialect for the language unless creating dialect-specific content
- Follow the language's convention for formality (e.g., tú vs. usted in Spanish)
- Include proper diacritical marks and special characters
- Consider regional variations when appropriate
IMPORTANT: Contributions must not include copyrighted material or anything that legally cannot be included in the corpus.
All contributions must:
- ✅ Be your original work
- ✅ Be freely licensed or in the public domain
- ✅ Not violate any copyright, trademark, or intellectual property rights
- ✅ Not include content copied from books, movies, songs, or other copyrighted sources
- ✅ Be appropriate for public distribution
- Original conversations you've written
- Common phrases and idioms that are not copyrighted
- Factual information that is publicly available
- Translations you've created yourself
- ❌ Dialogue copied from movies, TV shows, or books
- ❌ Song lyrics or poetry (unless in public domain)
- ❌ Content from proprietary sources
- ❌ Copyrighted characters, names, or settings
- ❌ Content that violates someone's privacy
- ❌ Illegal, harmful, or offensive content
By contributing to this project, you agree that your contributions will be licensed under the same license as the project (see license.md). You certify that you have the right to submit the contribution and that it does not violate any third-party rights.
If you have questions about contributing, please:
- Check existing issues and pull requests
- Review this contributing guide thoroughly
- Open an issue with your question if you can't find an answer
Contributors will be recognized for their valuable additions to the project. Thank you for helping make ChatterBot and it's surrounding software ecosystem better for everyone!
Thank you for contributing to ChatterBot Corpus! Your efforts help create better conversational AI for everyone. 🌟