Posts

Showing posts from April, 2018

Machine Learning and NLP Chatbot

Image
Machine Learning and NLP Chatbot Introduction         Chatbots are able to translate and interpret human natural language input through a combination of NLP (Natural Language Processing) and Machine Learning. In this post I will show you how this can be done. This post is the second part of the tutorial on chatbots. To learn a few basic concepts and how to build a simple chatbot using NLTK, please refer to my first part tutorial: NLTK Chatbot Tutorial . I have named the chatbot as SmartBot. The SmartBot presented in this post, works in 3 basic modes: Chat Mode(return learned responses from previous exchanges) Statement Mode(accept a statement or fact and store it in the database) Question Mode (accept a question and try to answer it based on previously stored statements) Requirements to Run the Application Anaconda. Java. MySQL Database Intellij IDE with Python Community Edition Plugin.  Anaconda bundles up Python installation and the most widely used Python li

NLTK Chatbot Tutorial

Image
NLTK Chatbot Tutorial Introduction         As Machine Learning and Artificial Intelligence are getting popular day by day, chatbots are getting popular too. I am writing a 2 part tutorial to show you as to how you can build chatbots both simple and complex. This post is the Part 1 tutorial. Let start with the basics in this tutorial. Natural Language Toolkit (NLTK) is one of the basic things that you need to know to build chatbots as per your requirements. NLP         Natural-language processing (NLP) is an area of computer science and artificial intelligence concerned with the interactions between computers and human (natural) languages, in particular how to program computers to fruitfully process large amounts of natural language data. NLTK         NLTK stands for Natural Language Toolkit and is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing (NLP). To know more about NLTK please check: