Skip to main content

2018 | Buch

Deep Learning for Natural Language Processing

Creating Neural Networks with Python

verfasst von: Palash Goyal, Sumit Pandey, Karan Jain

Verlag: Apress

insite
SUCHEN

Über dieses Buch

Discover the concepts of deep learning used for natural language processing (NLP), with full-fledged examples of neural network models such as recurrent neural networks, long short-term memory networks, and sequence-2-sequence models.

You’ll start by covering the mathematical prerequisites and the fundamentals of deep learning and NLP with practical examples. The first three chapters of the book cover the basics of NLP, starting with word-vector representation before moving onto advanced algorithms. The final chapters focus entirely on implementation, and deal with sophisticated architectures such as RNN, LSTM, and Seq2seq, using Python tools: TensorFlow, and Keras. Deep Learning for Natural Language Processing follows a progressive approach and combines all the knowledge you have gained to build a question-answer chatbot system.
This book is a good starting point for people who want to get started in deep learning for NLP. All the code presented in the book will be available in the form of IPython notebooks and scripts, which allow you to try out the examples and extend them in interesting ways.
What You Will LearnGain the fundamentals of deep learning and its mathematical prerequisites
Discover deep learning frameworks in Python
Develop a chatbot
Implement a research paper on sentiment classification

Who This Book Is For
Software developers who are curious to try out deep learning with NLP.

Inhaltsverzeichnis

Frontmatter
Chapter 1. Introduction to Natural Language Processing and Deep Learning
Abstract
Natural language processing (NPL) is an extremely difficult task in computer science. Languages present a wide variety of problems that vary from language to language. Structuring or extracting meaningful information from free text represents a great solution, if done in the right manner. Previously, computer scientists broke a language into its grammatical forms, such as parts of speech, phrases, etc., using complex algorithms. Today, deep learning is a key to performing the same exercises.
Palash Goyal, Sumit Pandey, Karan Jain
Chapter 2. Word Vector Representations
Abstract
When dealing with languages and words, we might end up classifying texts across thousands of classes, for use in multiple natural language processing (NLP) tasks. Much research has been undertaken in this field in recent years, and this has resulted in the transformation of words in languages to the format of vectors that can be used in multiple sets of algorithms and processes. This chapter offers an in-depth explanation of word embeddings and their effectiveness. We introduce their origin and compare the different models used to accomplish various NLP tasks.
Palash Goyal, Sumit Pandey, Karan Jain
Chapter 3. Unfolding Recurrent Neural Networks
Abstract
This chapter covers the use of contextual information across text. With textual work in any form, i.e., speech, text, and print, and in any language, to understand the information provided in it, we try to capture and relate the present and past contexts and aim to gain something meaningful from them. This is because the structure of text creates a link within a sentence and across sentences, just like thoughts, which are persistent throughout.
Palash Goyal, Sumit Pandey, Karan Jain
Chapter 4. Developing a Chatbot
Abstract
In this chapter, we will create a chatbot. We will do so in a progressive manner and will make the chatbot in two layers. The first section of the chapter introduces the chatbot concept, followed by a section on implementing a basic rule-based chatbot system. The last section discusses the training of a sequence-to-sequence (seq2seq) recurrent neural network (RNN) model on a publicly available dataset. The final chatbot will be able to answer specific questions asked of the dataset domain on which the model has been trained. We hope that you have enjoyed the previous chapters, and this chapter, as well, will keep you involved in the implementation of deep learning and natural language processing (NLP).
Palash Goyal, Sumit Pandey, Karan Jain
Chapter 5. Research Paper Implementation: Sentiment Classification
Abstract
Chapter 5 concludes this book with the implementation of a sentiment analysis in a research paper. The first section of this chapter details the approach mentioned, followed by a second section devoted to its implementation, using TensorFlow. To ensure that there is a difference between the actual paper we use and our results, we have selected a different dataset for test purposes, so the accuracy of our results may vary from those presented in the actual research paper.
Palash Goyal, Sumit Pandey, Karan Jain
Backmatter
Metadaten
Titel
Deep Learning for Natural Language Processing
verfasst von
Palash Goyal
Sumit Pandey
Karan Jain
Copyright-Jahr
2018
Verlag
Apress
Electronic ISBN
978-1-4842-3685-7
Print ISBN
978-1-4842-3684-0
DOI
https://doi.org/10.1007/978-1-4842-3685-7