Skip to content

Ever wanted to create an AI Chatbot? This python chatbot tutorial will show you how to create a chatbot with Python and NLTK. A chatbot is a computer program or an artificial intelligence which conducts a conversation via auditory or textual methods. In the world of machine learning and AI there are many different kinds of chat bots. Some chat b…

Notifications You must be signed in to change notification settings

Nabagata/ChatbotsUsingNLTK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-requisites

NLTK(Natural Language Toolkit)

Natural Language Processing with Python provides a practical introduction to programming for language processing.

For platform-specific instructions, read here

Installation of NLTK

pip install nltk

Installing required packages

After NLTK has been downloaded, install required packages

import nltk
from nltk.stem import WordNetLemmatizer
nltk.download('popular', quiet=True) # for downloading popular packages
nltk.download('punkt') 
nltk.download('wordnet') 

How to run

  • Jupyter Notebook Binder

You can run the chatbot.ipynb which also includes step by step instructions.

  • Through Terminal
python chatbot.py

About

Ever wanted to create an AI Chatbot? This python chatbot tutorial will show you how to create a chatbot with Python and NLTK. A chatbot is a computer program or an artificial intelligence which conducts a conversation via auditory or textual methods. In the world of machine learning and AI there are many different kinds of chat bots. Some chat b…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published