Building Chatbots with Python

Using Natural Language Processing and Machine Learning

  • Sumit┬áRaj

Table of contents

  1. Front Matter
    Pages i-xix
  2. Sumit Raj
    Pages 1-28
  3. Sumit Raj
    Pages 63-103
  4. Sumit Raj
    Pages 105-154
  5. Sumit Raj
    Pages 155-188
  6. Back Matter
    Pages 189-192

About this book


Build your own chatbot using Python and open source tools. This book begins with an introduction to chatbots where you will gain vital information on their architecture. You will then dive straight into natural language processing with the natural language toolkit (NLTK) for building a custom language processing platform for your chatbot. With this foundation, you will take a look at different natural language processing techniques so that you can choose the right one for you. 

The next stage is to learn to build a chatbot using the platform and define its intents and entities. During this example, you will learn to enable communication with your bot and also take a look at key points of its integration and deployment.

The final chapter of Building Chatbots with Python teaches you how to build, train, and deploy your very own chatbot. Using open source libraries and machine learning techniques you will learn to predict conditions for your bot and develop a conversational agent as a web application. Finally you will deploy your chatbot on your own server with AWS. 

You will:

  • Gain the basics of natural language processing using Python 
  • Collect data and train your data for the chatbot
  • Build your chatbot from scratch as a web app
  • Integrate your chatbots with Facebook, Slack, and Telegram
  • Deploy chatbots on your own server


python chatbot machinelearning nlp integration deployment aws api

Authors and affiliations

  • Sumit┬áRaj
    • 1
  1. 1.BangaloreIndia

Bibliographic information