Author(s): Richard M. Reese
Edition: 1
Publisher: Packt
Year: 2019
Cover
Title Page
Copyright and Credits
About Packt
Contributors
Table of Contents
Preface
Chapter 1: Preparing Text for Analysis and Tokenization
Technical requirements
Tokenization using the Java SDK
Getting ready
How to do it...
How it works...
Tokenization using OpenNLP
Getting ready
How to do it...
How it works...
See also
Tokenization using maximum entropy
Getting ready
How to do it...
How it works...
See also
Training a neural network tokenizer for specialized text
Getting ready
How to do it...
How it works...
There's more...
See also
Identifying the stem of a word
Getting ready
How to do it...
How it works...
See also
Training an OpenNLP lemmatization model
Getting ready
How to do it...
How it works...
There's more...
See also
Determining the lexical meaning of a word using OpenNLP
Getting ready
How to do it...
How it works...
See also
Removing stop words using LingPipe
Getting ready
How to do it...
How it works...
See also
Chapter 2: Isolating Sentences within a Document
Technical requirements
Finding sentences using the Java core API
Getting ready
How to do it...
How it works...
See also
Performing SBD using the BreakIterator class
Getting ready
How to do it...
How it works...
There's more...
See also
Using OpenNLP to perform SBD
Getting ready
How to do it...
How it works...
There's more...
See also
Using the Stanford NLP API to perform SBD
Getting ready
How to do it...
How it works...
There's more...
See also
Using the LingPipe and chunking to perform SBD
Getting ready
How to do it...
How it works...
There's more...
See also
Performing SBD on specialized text
Getting ready
How to do it...
How it works...
See also
Training a neural network to perform SBD with specialized text
Getting ready
How to do it...
How it works...
See also
Chapter 3: Performing Name Entity Recognition
Technical requirements
Using regular expressions to find entities
Getting ready
How to do it...
How it works...
There's more...
See also
Using chunks with regular expressions to identify entities
Getting ready
How to do it...
How it works...
There's more...
See also
Using OpenNLP to find entities in text
Getting ready
How to do it...
How it works...
There's more...
See also
Isolating multiple entities types
Getting ready
How to do it...
How it works...
See also
Using a CRF model to find entities in a document
Getting ready
How to do it...
How it works...
There's more...
See also
Using a chunker to find entities
Getting ready
How to do it...
How it works...
See also
Training a specialized NER model
Getting ready
How to do it...
How it works...
See also
Chapter 4: Detecting POS Using Neural Networks
Technical requirements
Finding POS using tagging
Getting ready
How to do it...
How it works...
There's more...
See also
Using a chunker to find POS
Getting ready
How to do it...
How it works...
There's more...
See also
Using a tag dictionary
Getting ready
How to do it...
How it works...
There's more...
Finding POS using the Penn Treebank
Getting ready
How to do it...
How it works...
There's more...
See also
Finding POS from textese
Getting ready
How to do it...
How it works...
There's more...
See also
Using a pipeline to perform tagging
Getting ready
How to do it...
How it works...
See also
Using a hidden Markov model to perform POS
Getting ready
How to do it...
How it works...
There's more...
See also
Training a specialized POS model
Getting ready
How to do it...
How it works...
See also
Chapter 5: Performing Text Classification
Technical requirements
Training a maximum entropy model for text classification
Getting ready
How to do it...
How it works...
See also
Classifying documents using a maximum entropy model
Getting ready
How to do it...
How it works...
There's more...
See also
Classifying documents using the Stanford API
Getting ready
How to do it...
How it works...
There's more...
See also
Training a model to classify text using LingPipe
Getting ready
How to do it...
How it works...
See also
Using LingPipe to classify text
Getting ready
How to do it...
How it works...
There's more...
See also
Detecting spam
Getting ready
How to do it...
How it works...
There's more...
See also
Performing sentiment analysis on reviews
Getting ready
How to do it...
How it works...
There's more...
See also
Chapter 6: Finding Relationships within Text
Technical requirements
Displaying parse trees graphically
Getting ready
How to do it...
How it works...
There's more...
See also
Using probabilistic context-free grammar to parse text
Getting ready
How to do it...
How it works...
There's more...
See also
Using OpenNLP to generate a parse tree
Getting ready
How to do it...
How it works...
There's more...
See also
Using the Google NLP API to parse text
Getting ready
How to do it...
How it works...
There's more...
See also
Identifying parent-child relationships in text
Getting ready
How to do it...
How it works...
There's more...
See also
Finding co-references in a sentence
Getting ready
How to do it...
How it works...
There's more...
See also
Chapter 7: Language Identification and Translation
Technical requirements
Detecting the natural language in use using LingPipe
Getting ready
How to do it…
How it works…
There's more…
See also
Discovering supported languages using the Google API
Getting ready
How to do it…
How it works…
See also
Detecting the natural language in use using the Google API
Getting ready
How to do it…
How it works…
There's more…
See also
Language translation using Google
Getting ready
How to do it…
How it works…
There's more…
See also
Language detection and translation using Amazon AWS
Getting ready
How to do it…
How it works…
There's more…
See also
Converting text to speech using the Google Cloud Text-to-Speech API
Getting ready
How to do it…
How it works…
See also
Converting speech to text using the Google Cloud Speech-to-Text API
Getting ready
How to do it…
How it works…
There's more…
See also
Chapter 8: Identifying Semantic Similarities within Text
Technical requirements
Finding the cosine similarity of the text
Getting ready
How to do it...
How it works...
There's more...
See also
Finding the distance between text
Getting ready
How to do it...
How it works...
See also
Finding differences between plaintext instances
Getting ready
How to do it...
How it works...
There's more...
See also
Finding hyponyms and antonyms
Getting ready
How to do it...
How it works...
There's more...
See also
Chapter 9: Common Text Processing and Generation Tasks
Technical requirements
Generating random numbers
Getting ready
How to do it…
How it works…
There's more…
See also
Spell-checking using the LanguageTool API
Getting ready
How to do it…
How it works…
See also
Checking grammar using the LanguageTool API
Getting ready
How to do it…
How it works…
See also
Summarizing text in a document
Getting ready
How to do it…
How it works…
There's more...
See also
Creating, inverting, and using dictionaries
Getting ready
How to do it…
How it works…
There's more…
See also
Chapter 10: Extracting Data for Use in NLP Analysis
Technical requirements
Connecting to an HTML page
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting text and metadata from an HTML page
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting text from a PDF document
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting metadata from a PDF document
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting text from a Word document
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting metadata from a Word document
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting text from a spreadsheet
Getting ready
How to do it…
How it works…
There's more…
See also
Extracting metadata from a spreadsheet
Getting ready
How to do it…
How it works…
See also
Chapter 11: Creating a Chatbot
Technical requirements
Creating a simple chatbot using AWS
Getting ready
How to do it…
How it works…
See also
Creating a bot using AWS Toolkit for Eclipse
Getting ready
How to do it…
How it works…
See also
Creating a Lambda function
Getting ready
How to do it…
How it works…
See also
Uploading the Lambda function
Getting ready
How to do it…
How it works…
See also
Executing a Lambda function from Eclipse
Getting ready
How to do it…
How it works…
See also
Appendix: Installation and Configuration
Technical requirements
Getting ready to use the Google Cloud Platform
Getting ready
How to do it…
How it works…
See also
Configuring Eclipse to use the Google Cloud Platform
Getting ready
How to do it…
How it works…
See also
Getting ready to use Amazon Web Services
Getting ready
How to do it…
How it works…
See also
Configuring Eclipse to use Amazon Web Services
Getting ready
How to do it…
How it works…
See also
Other Books You May Enjoy
Index