
Deep Learning for Natural Language Processing
Solve your natural language processing problems with smart deep neural networks
- 372 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Deep Learning for Natural Language Processing
Solve your natural language processing problems with smart deep neural networks
About this book
Gain the knowledge of various deep neural network architectures and their application areas to conquer your NLP issues.
Key Features
- Gain insights into the basic building blocks of natural language processing
- Learn how to select the best deep neural network to solve your NLP problems
- Explore convolutional and recurrent neural networks and long short-term memory networks
Book Description
Applying deep learning approaches to various NLP tasks can take your computational algorithms to a completely new level in terms of speed and accuracy. Deep Learning for Natural Language Processing starts off by highlighting the basic building blocks of the natural language processing domain. The book goes on to introduce the problems that you can solve using state-of-the-art neural network models. After this, delving into the various neural network architectures and their specific areas of application will help you to understand how to select the best model to suit your needs. As you advance through this deep learning book, you'll study convolutional, recurrent, and recursive neural networks, in addition to covering long short-term memory networks (LSTM). Understanding these networks will help you to implement their models using Keras. In the later chapters, you will be able to develop a trigger word detection application using NLP techniques such as attention model and beam search.
By the end of this book, you will not only have sound knowledge of natural language processing but also be able to select the best text pre-processing and neural network models to solve a number of NLP issues.
What you will learn
- Understand various pre-processing techniques for deep learning problems
- Build a vector representation of text using word2vec and GloVe
- Create a named entity recognizer and parts-of-speech tagger with Apache OpenNLP
- Build a machine translation model in Keras
- Develop a text generation application using LSTM
- Build a trigger word detection application using an attention model
Who this book is for
If you're an aspiring data scientist looking for an introduction to deep learning in the NLP domain, this is just the book for you. Strong working knowledge of Python, linear algebra, and machine learning is a must.
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Chapter 1
Introduction to Natural Language Processing
Learning Objectives
- Describe natural language processing and its applications
- Explain different text preprocessing techniques
- Perform text preprocessing on text corpora
- Explain the functioning of Word2Vec and GloVe word embeddings
- Generate word embeddings using Word2Vec and GloVe
- Use the NLTK, Gensim, and Glove-Python libraries for text preprocessing and generating word embeddings
Introduction
The Basics of Natural Language Processing
- Natural language is a form of written and spoken communication that has developed organically and naturally.
- Processing means analyzing and making sense of input data with computers.

Figure 1.1: Natural language processing

Figure 1.2: Venn diagram for natural language processing
Importance of natural language processing

Fig 1.3: Artificial intelligence and some of its subfields
Capabilities of Natural language processing
- Speech RecognitionThe machine is able to recognize a natural language in its spoken form and translate it into a textual form. An example of this is dictation on your smartphones – you can enable dictation and speak to your phone, and it will convert whatever you are saying into text.
- Natural Language UnderstandingThe machine is able to understand a natural language in both its spoken and written form. If given a command, the machine is able to understand and execute it. An example of this would be saying 'Hey Siri, call home' to Siri on your iPhone for Siri to automatically call 'home' for you.
- Natural Language GenerationThe machine is able to generate natural language itself. An example of this is asking 'Siri, what time is it?' to Siri on your iPhone and Siri replying with the time – 'It's 2:08pm'.
Note
Applications of Natural Language Processing

Figure 1.4: Application areas of natural language processing
- Automatic text summarizationThis involves processing corpora to provide a summary.
- TranslationThis entails translation tools that translate text to and from different languages, for example, Google Translate.
- Sentiment analysisThis is also known as emotional artificial intelligence or opinion mining, and it is the process of identifying, extracting, and quantifying emotions and affective states from corpora, both written and spoken. Sentiment analysis tools are used to process things such as customer reviews and social media posts to understand emotional res...
Table of contents
- Preface
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Appendix
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app