Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.2 KB

File metadata and controls

51 lines (29 loc) · 1.2 KB

simple-chatbot-nltk-basic-intent

Simple Python chatbot implementation using Natural Language Toolkit (NLTK) and a rule-based approach to handle basic intent recognition and response generation

image

Simple Chatbot

Overview

This is a basic chatbot built using Python and the NLTK library. It uses a rule-based system for intent recognition and predefined responses.

Features

  • Understands simple user intents (e.g., greetings, help, farewell).
  • Provides relevant responses based on predefined patterns.

How to Run

  1. Clone the repository:
    git clone https://github.com/your-repo/simple_chatbot.git
    cd simple_chatbot
    
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Run the chatbot:
    python chatbot.py
    

Usage

Type your message to the chatbot in the terminal. Use quit to exit the chatbot.

Example

image

Future Improvements

Implement advanced NLP techniques with spaCy.

Add support for more intents and responses.

Integrate with an API for dynamic answers.