Posts

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 mo...

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 Nat...

Spring Cloud, Eureka and Zuul

Image
Spring Cloud, Eureka and Zuul Introduction         I was looking online for a simple end-to-end working example of Spring Cloud, Eureka and Zuul. I did not find a single post that gave a simple end-to-end implementation. I found so many posts that were really confusing and did not give a simple explanation of how these work together or how to set them up. Hence I came up with this post to explain how you can setup microservices using Spring Cloud, Eureka and Zuul. Eureka, Zuul and Ribbon Eureka, Zuul and Ribbon are part of Netflix Open Source Software (OSS). Eureka in simple terms is a Discovery and Service registration server. Multiple microservices can register themselves to Eureka at runtime. Zuul in simple terms is an Edge Server or a Gateway Service. It provides dynamic routing, monitoring, resiliency, security and a single entry point to multiple microservices. Zuul uses Ribbon to lookup available services in Eureka and routes the ext...