Skip to main content

Chat Bot Natural Language Understanding

  • Chapter
  • First Online:
Practical Bot Development

Abstract

Before we jump into creating bots and fancy natural language models, we will take a quick detour into natural language understanding (NLU) and some of its machine learning (ML) underpinnings. We will be implementing some of these NLU concepts using Microsoft’s Language Understanding Intelligence Service (LUIS) in the following chapter. Some other concepts are available for you to explore using other services (for instance, Microsoft’s Cognitive Services) or Python/R ML tools. This chapter is meant to equip you with a quick-and-dirty introduction into the ML space as it pertains to natural language tasks. If you are familiar with these concepts, by all means, skip ahead to Chapter 3. Otherwise, I hope to impart a base-level understanding of the roots of NLU and how it can be applied to the field of bots. There is a great plethora of content on the Internet that goes into depth about all of these topics; we provide the appropriate references if you feel adventurous!

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Turing Test: https://en.wikipedia.org/wiki/Turing_test

  2. 2.

    Ask Ray | Response to announcement of chat bot Eugene Goostman passing the Turing test: http://www.kurzweilai.net/ask-ray-response-to-announcement-of-chatbot-eugene-goostman-passing-the-turing-test

  3. 3.

    Eliza: https://en.wikipedia.org/wiki/ELIZA

  4. 4.

    Elizabot: http://www.masswerk.at/elizabot/

  5. 5.

    Machine Learning Explained: Understanding Supervised, Unsupervised, and Reinforcement Learning, Ronald Van Loon: https://www.datasciencecentral.com/profiles/blogs/machine-learning-explained-understanding-supervised-unsupervised

  6. 6.

    Deep Reinforcement Learning Visualization: http://cs.stanford.edu/people/karpathy/convnetjs/demo/rldemo.html

  7. 7.

    Convolutional neural networks (CNNs): http://ufldl.stanford.edu/tutorial/supervised/ConvolutionalNeuralNetwork/

  8. 8.

    Recurrent neural networks (RNNs) and associated architectures: https://en.wikipedia.org/wiki/Recurrent_neural_network

  9. 9.

    Comparative Study of CNN and RNN for Natural Language Processing: https://arxiv.org/pdf/1702.01923.pdf

  10. 10.

    Microsoft Cognitive Toolkit: https://www.microsoft.com/en-us/cognitive-toolkit/

  11. 11.

    TensorFlow: https://www.tensorflow.org/

  12. 12.

    Microsoft researchers achieve new conversational speech recognition milestone: https://www.microsoft.com/en-us/research/blog/microsoft-researchers-achieve-new-conversational-speech-recognition-milestone

  13. 13.

    A Neural Network for Machine Translation, at Production Scale - https://research.googleblog.com/2016/09/a-neural-network-for-machine.html

  14. 14.

    Machine Learning, NLP: Text Classification using scikit-learn, python and NLTK: https://towardsdatascience.com/machine-learning-nlp-text-classification-using-scikit-learn-python-and-nltk-c52b92a7c73 a

  15. 15.

    Evaluating Natural Language Understanding Service for Conversational Question Answering Systems: http://www.sigdial.org/workshops/conference18/proceedings/pdf/SIGDIAL22.pdf

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Szymon Rozga

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Rozga, S. (2018). Chat Bot Natural Language Understanding. In: Practical Bot Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3540-9_2

Download citation

Publish with us

Policies and ethics