All Projects → parulnith → Building A Simple Chatbot In Python Using Nltk

parulnith / Building A Simple Chatbot In Python Using Nltk

Building a Simple Chatbot from Scratch in Python (using NLTK)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Building A Simple Chatbot In Python Using Nltk

Aind Nlp
Coding exercises for the Natural Language Processing concentration, part of Udacity's AIND program.
Stars: ✭ 202 (-29.37%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Enet Real Time Semantic Segmentation
ENet - A Neural Net Architecture for real time Semantic Segmentation
Stars: ✭ 238 (-16.78%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Pytorch How And When To Use Module Sequential Modulelist And Moduledict
Code for my medium article
Stars: ✭ 206 (-27.97%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Atari Model Zoo
A binary release of trained deep reinforcement learning models trained in the Atari machine learning benchmark, and a software release that enables easy visualization and analysis of models, and comparison across training algorithms.
Stars: ✭ 198 (-30.77%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Es Dev Stack
An on-premises, bare-metal solution for deploying GPU-powered applications in containers
Stars: ✭ 257 (-10.14%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Pytorch Geometric Yoochoose
This is a tutorial for PyTorch Geometric on the YooChoose dataset
Stars: ✭ 198 (-30.77%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Applied Reinforcement Learning
Reinforcement Learning and Decision Making tutorials explained at an intuitive level and with Jupyter Notebooks
Stars: ✭ 229 (-19.93%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Learning Content
Resources for the study group in IIT Guwahati focused on learning Artificial Intelligence.
Stars: ✭ 187 (-34.62%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Amazing Python Scripts
🚀 Curated collection of Amazing Python scripts from Basics to Advance with automation task scripts.
Stars: ✭ 229 (-19.93%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Deep Learning Book
Repository for "Introduction to Artificial Neural Networks and Deep Learning: A Practical Guide with Applications in Python"
Stars: ✭ 2,705 (+845.8%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Deep Learning With Python
Deep learning codes and projects using Python
Stars: ✭ 195 (-31.82%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Cryptocurrency Price Prediction
Cryptocurrency Price Prediction Using LSTM neural network
Stars: ✭ 271 (-5.24%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Imodels
Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
Stars: ✭ 194 (-32.17%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Traffic Sign Detection
Traffic Sign Detection. Code for the paper entitled "Evaluation of deep neural networks for traffic sign detection systems".
Stars: ✭ 200 (-30.07%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Deep Learning Notes
My personal notes, presentations, and notebooks on everything Deep Learning.
Stars: ✭ 191 (-33.22%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Text Classification
Text Classification through CNN, RNN & HAN using Keras
Stars: ✭ 216 (-24.48%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Log Anomaly Detector
Log Anomaly Detection - Machine learning to detect abnormal events logs
Stars: ✭ 169 (-40.91%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Data Science Resources
👨🏽‍🏫You can learn about what data science is and why it's important in today's modern world. Are you interested in data science?🔋
Stars: ✭ 171 (-40.21%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Deeppicar
Deep Learning Autonomous Car based on Raspberry Pi, SunFounder PiCar-V Kit, TensorFlow, and Google's EdgeTPU Co-Processor
Stars: ✭ 242 (-15.38%)
Mutual labels:  artificial-intelligence, jupyter-notebook
Gophernotes
The Go kernel for Jupyter notebooks and nteract.
Stars: ✭ 3,100 (+983.92%)
Mutual labels:  artificial-intelligence, jupyter-notebook

Building a Simple Chatbot from Scratch in Python (using NLTK)

Alt text

History of chatbots dates back to 1966 when a computer program called ELIZA was invented by Weizenbaum. It imitated the language of a psychotherapist from only 200 lines of code. You can still converse with it here: Eliza.

On similar lines let's create a very basic chatbot utlising the Python's NLTK library.It's a very simple bot with hardly any cognitive skills,but still a good way to get into NLP and get to know about chatbots.

Outline

Motivation

The idea of this project was not to create some SOTA chatbot with exceptional cognitive skills but just to utilise and test my Python skills.This was one of my very first projects, created when I just stepped into the world of NLP and I thought of creating a simple chatbot just to make use of my newly acquired knowledge.

BlogPost

For detailed overview, here is the accompanying blog titled:Building a Simple Chatbot in Python (using NLTK)

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].