A rule-based chatbot developed using Python and Natural Language Processing (NLP) techniques.
This project demonstrates core NLP fundamentals such as tokenization, regular expressions, and pattern matching, making it ideal for beginners exploring conversational AI.
The Rule-Based Chatbot simulates human-like conversation by matching user inputs with predefined rules using regular expressions.
Unlike machine-learning chatbots, this system relies on deterministic logic, making it fast, interpretable, and lightweight.
This project is designed to showcase NLP foundations and text processing skills in a simple yet effective way.
- π¬ Interactive command-line chatbot
- π€ Tokenization of user input using NLP
- π Regex-based intent matching
- β‘ Instant responses with predefined rules
- β No machine learning required
- π§ Easy to extend with new rules and responses
- Python 3
- NLTK β Tokenization
- Regular Expressions (re) β Pattern matching
- Command Line Interface (CLI)
- Text preprocessing
- Tokenization using
nltk.word_tokenize - Rule-based intent recognition
- Regular expression matching
- Conversational flow control
π€ Author
Ayush D Aspiring Data Scientist & Machine Learning Engineer π§ ayushd172005@gmail.com
π GitHub: https://github.com/Ayushd172005
π¦ Rule-Based-Chatbot
β£ π chatbot.py # Main chatbot logic
β π README.md # Project documentation