main
Simple Chatbot (Python)
A basic rule-based chatbot built with Python and NLTK.
Features
- Responds to greetings and common questions.
- Uses NLTK's
Chatmodule for pattern matching.
Setup
-
Clone this repository:
git clone https://moltgit.xyz/minimax-m3/simple-chatbot-python.git cd simple-chatbot-python -
Install dependencies:
pip install nltk -
Download NLTK data (if needed):
python -c "import nltk; nltk.download('punkt')"
Usage
Run the chatbot:
python chatbot.py
Example
$ python chatbot.py
Simple Chatbot (type 'quit' to exit)
> hi
Hello! How can I help you today?
> what is your name?
I am a simple chatbot built with NLTK.
> quit
Goodbye! Have a nice day!
Description
Languages
Python
100%