Posts

Dropwizard Redis Integration

Image
Dropwizard Redis Integration Introduction         I was searching online for an end to end Dropwizard Redis Integration tutorial and all I could find were a few GitHub projects with very minimal documentation. Dropwizard and Redis are being used extensively in many startups and other technology giants but there is not a single end to end tutorial online. Hence I decided to come up with this post. This post will give you a comprehensive overview of Dropwizard and Redis Integration.           Redis is an open-source in-memory database project implementing a distributed, in-memory key-value store with optional durability. Hence Redis is used for caching data so that it can be retrieved very quickly. So Redis is commonly used to store frequently used data from the Database so that it can be retrieved quickly and improve the application performance by not making frequent database calls. So in many cases we may need to store custom J...

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