Skip to content

Obiorah10/Urban_ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Urban_ChatBot

Introduction: This chatbot, created using Python's NLTK library, engages in conversations with users based on predefined patterns and responses. It provides an interactive and user-friendly experience.

Prerequisites Before running the chatbot, ensure you have the following dependencies installed:

Python 3.x NLTK library (nltk) You can install NLTK using pip:

bash Copy code pip install nltk Usage Clone or download this repository to your local machine.

Navigate to the project directory in your terminal.

Run the chatbot script:

bash Copy code python chatbot.py The chatbot will greet you and wait for your input. Type your message, and the chatbot will respond based on predefined patterns.

To exit the chatbot, type "quit."

Features: Responds to various user inputs using regular expressions and predefined responses. Supports basic conversation topics such as greetings, personal information, weather, and more. Provides a friendly and interactive user experience. Results Here are some example interactions with the chatbot:

User: "Hello"

Chatbot: "Hello" User: "What's your name?"

Chatbot: "My name is The Urban_Programmer, but you can just call me UB." User: "Tell me a joke."

Chatbot: "That is nice to hear." User: "How's the weather in New York?"

Chatbot: "In New York, there is a 50% chance of rain." User: "Quit"

Chatbot: "Bye for now. See you soon :)"

Contributions:

This chatbot was created as a learning exercise using Python's NLTK library. Feel free to customize and expand upon it for your specific needs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors