Skip to content

simple chatbot implemented in Python using natural language processing techniques. The chatbot utilizes NLTK (Natural Language Toolkit) library for tokenization and similarity calculation. The chatbot is built upon a knowledge base stored in a text file. It reads the file, splitting each line into a question and its corresponding answer pairs.

License

Notifications You must be signed in to change notification settings

noelmakubi/swahili-Chatbot-RuleBased

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swahili-Chatbot-RuleBased

Welcome to the Flask Chatbot repository! This project implements a simple chatbot using Flask and NLTK. The chatbot reads from a dataset to provide responses based on user input.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository:

    https://github.com/noelmakubi/swahili-Chatbot-RuleBased.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Flask application:

    python app.py

Usage

Once the Flask application is running, you can interact with the chatbot. Open your web browser and go to http://localhost:5000/ to access the chat interface.

Features

  • Interactive chat interface
  • Responses based on similarity matching using NLTK's Jaccard distance
  • Easy to extend with additional dataset

Contributions

Contributions are welcome! If you find any bugs or want to suggest enhancements, feel free to open an issue or submit a pull request.

License

This project is licensed under the GPL-2.0 license- see the LICENSE file for details.

About

simple chatbot implemented in Python using natural language processing techniques. The chatbot utilizes NLTK (Natural Language Toolkit) library for tokenization and similarity calculation. The chatbot is built upon a knowledge base stored in a text file. It reads the file, splitting each line into a question and its corresponding answer pairs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published