An Emotion Leak.

Chatbots, NLP and

Technology 15

Chatbots have become quite popular lately and they’ve found their place in almost every place possible. Most of us would’ve come across chatbots in Telegram, Facebook or Slack. They’re also found in customer care sections of many websites. But how do these chatbots work?


In earlier days, chatbots worked by matching the user’s text with a definite set of patterns that they stored in files or a database. One such famous chatbot was A.L.I.C.E., which was written using a language called AIML (Artificial Intelligence Markup Language). AIML used an XML-like syntax and a set of files containing the bot’s knowledge (i.e) patterns and responses. Topic wise knowledge was stored in separate AIML files.

The AIML set of A.L.I.C.E. was made available to the public. This led to the creation of many Alicebot clones. AIML interpreters are available for many common languages. is a great place to start writing your own chatbots using AIML. A commonly used AIML chatbot is Natasha from Hike Messenger.

Natural Language Processing

Technology has taken giant leaps forward and has reached the point where it can understand sentences and identify feelings, topics and even sarcasm. The background behind this extensive knowledge about human sentences is Natural Language Processing (NLP). Powerful Machine Learning systems are fed with numerous sentences and the meaning those sentences make. After learning, these systems produce a result such as this:

Why am I talking about all this stuff if it requires powerful machines and almost impossible to do it ourselves?

Actually, it is possible to do it ourselves using APIs such as or dialogue flow. These services do all the hard part themselves and give us just the information that we require to make sense of the sentence. I’ve been trying my luck with, creating a personal assistant called Definitely not JARVIS, and I’ll share my experience so far. is as simple as it can get. Backed by Facebook, it is highly efficient and produces just what we expect. allows it’s users to create any number of bots (both public and private) from scratch. The user may also build their bot using other user’s bots. learns by examples. We give our bot a sentence. The bot tries to make some sense out of the sentence. If it can’t understand it, we can highlight specific portions of the text and tell what it is. We can also tell Wit what the sentence means as a whole. Wit understands the sentences based on what it calls entities. When Wit tries to understand a sentence, it tries to identify the entities in the sentence along with a confidence value. This can be useful when performing actions based on the sentence.

On the whole, Wit is fast, learns quickly, very easy to use. You could start building your own bot within minutes. Wit also makes a log of what other users of your app has requested and the response it had generated to be evaluated by us, to help improve your bot’s understanding. There are some issues with teaching Wit how to understand short forms like cya, or using multiple entities on the same part of the text. But it is definitely the best way to get started with building your own bot. I’ll be writing a post on how to build your own chatbot using with much detail soon. Till then try out Wit for yourselves.


  1. I simply want to tell you that I’m newbie to weblog and truly savored your web-site. More than likely I’m planning to bookmark your website . You surely have very good articles and reviews. Regards for revealing your web page.

  2. I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here frequently. I am quite sure I’ll learn a lot of new stuff right here! Best of luck for the next!

  3. My wife and i felt now delighted that Chris managed to conclude his researching through the ideas he acquired while using the blog. It’s not at all simplistic to simply always be giving away thoughts that the rest might have been selling. Therefore we already know we now have you to appreciate because of that. The entire explanations you made, the straightforward web site navigation, the friendships your site help to foster – it’s got most powerful, and it’s facilitating our son and us reason why this idea is entertaining, which is certainly pretty fundamental. Thanks for the whole lot!

  4. Thank you so much for providing individuals with such a memorable possiblity to discover important secrets from this blog. It is always very superb plus packed with a lot of fun for me and my office mates to visit your site nearly thrice a week to study the new tips you have got. And of course, I am also usually satisfied for the staggering methods you serve. Certain 4 facts on this page are honestly the very best we’ve had.

  5. I just wanted to post a word so as to express gratitude to you for those great tips and tricks you are posting at this website. My prolonged internet search has finally been honored with awesome concept to write about with my friends. I would assume that many of us visitors actually are unquestionably endowed to live in a decent site with very many wonderful professionals with very helpful strategies. I feel really blessed to have come across the website page and look forward to so many more entertaining minutes reading here. Thank you once again for everything.

Leave a Reply

Your email address will not be published. Required fields are marked *

All rights reserved to Wanderersink