Skip to content

codexshami/chatbot_using-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

AI Chatbot Using NLP

Python NLTK License

A simple yet powerful rule-based AI chatbot built using Natural Language Processing (NLP) techniques with NLTK. This chatbot can handle greetings, internship-related queries, Python programming questions, and general conversations.


Project Objective

Task-3: Build a chatbot using NLP libraries like NLTK or spaCy, capable of understanding and responding to user queries through natural language processing techniques.


Features

Core Capabilities

  • ✅ Handles greetings and general conversations
  • ✅ Answers internship-related queries (CODTECH specific)
  • ✅ Responds to Python programming questions
  • ✅ Answers basic tech and coding concepts

NLP Techniques Used

  • Tokenization - Breaking text into words/sentences
  • Lemmatization - Reducing words to base form
  • Intent Matching - Pattern-based response matching
  • Part-of-Speech Tagging (optional enhancement)

Additional Features

  • Simple command-line interface
  • Easily extendable with new intents
  • Random response variations for natural feel
  • Case-insensitive pattern matching
  • Graceful exit handling

Requirements

Prerequisites

  • Python 3.7 or higher
  • pip package manager

Dependencies

nltk==3.8.1

Installation

  1. Clone or download this repository
git clone https://github.com/yourusername/chatbot-nlp-project.git
cd chatbot-nlp-project

'''

**Sample conversation

======================================================================
 CODTECH NLP CHATBOT - INTERNSHIP PROJECT
======================================================================

 I can help you with:
   • Python programming concepts
   • CODTECH internship information
   • General questions and jokes
   • Tech career advice

 Type 'quit' or 'exit' to end the conversation.
======================================================================

You: hi
Bot: Hello! 👋 How can I help you today?

You: what is your name?
Bot: I'm CODTECH Chatbot, your AI assistant! 🤖

You: what is python?
Bot: Python is a high-level, interpreted programming language known for its simplicity and readability! 🐍

You: when will I get my certificate?
Bot: You will receive your certificate on your internship end date after successful completion! 📜

You: tell me a joke
Bot: Why do programmers prefer dark mode? Because light attracts bugs! 🐛

You: thank you
Bot: You're very welcome! 😊 Happy to help!

You: bye
Bot: Goodbye! 👋 Come back anytime!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages