Book Image

Deep Learning for Natural Language Processing

By : Karthiek Reddy Bokka, Shubhangi Hora, Tanuj Jain, Monicah Wambugu
Book Image

Deep Learning for Natural Language Processing

By: Karthiek Reddy Bokka, Shubhangi Hora, Tanuj Jain, Monicah Wambugu

Overview of this book

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 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 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 preprocessing and neural network models to solve a number of NLP issues.
Table of Contents (11 chapters)

Data Acquisition

A big contribution toward determining the performance of any machine learning model is the quality and quantity of the data.

Usually, a data warehousing team/infrastructure team (DWH) is responsible for maintaining the data-related infrastructure at a company. The team takes care that data is never lost, that the underlying infrastructure is stable, and that data is always available for any team that might be interested in using it. The data science team, being one of the consumers of the data, contacts the DWH team, which grants them access to a database that contains all the reviews for various items in the product catalog of the company.

Typically, there are multiple data fields/tables in the database, some of which may not be important for the machine learning model development.

A data engineer (a part of the DWH team/member of another team/member of your team) then connects to the database, processes the data into a tabular format, and generates a flat file in the csv...