A simple Natural Language Processing (NLP) chatbot built using Python.
It can answer questions and interact with users based on pre-defined intents and datasets.
- Responds to user inputs using NLP.
- Uses pre-trained datasets (
intents.json,words.pkl,classes.pkl). - Text-to-speech enabled ( using
chatbotpyttsx3.py). - Easy to extend with new intents and responses.
intents.json→ contains user intents and responses.words.pklandclasses.pkl→ pickled files used for NLP model input/output.best_chatbot.pth→ trained PyTorch model for NLP predictions.
Note: The datasets are pre-trained and included in this repo.
- Clone the repository:
git clone https://github.com/binuPraj/chatbot-nlp.git
cd chatbot-nlp