Book Image

Natural Language Processing with Java Cookbook

By : Richard M. Reese
Book Image

Natural Language Processing with Java Cookbook

By: Richard M. Reese

Overview of this book

Natural Language Processing (NLP) has become one of the prime technologies for processing very large amounts of unstructured data from disparate information sources. This book includes a wide set of recipes and quick methods that solve challenges in text syntax, semantics, and speech tasks. At the beginning of the book, you'll learn important NLP techniques, such as identifying parts of speech, tagging words, and analyzing word semantics. You will learn how to perform lexical analysis and use machine learning techniques to speed up NLP operations. With independent recipes, you will explore techniques for customizing your existing NLP engines/models using Java libraries such as OpenNLP and the Stanford NLP library. You will also learn how to use NLP processing features from cloud-based sources, including Google and Amazon Web Services (AWS). You will master core tasks, such as stemming, lemmatization, part-of-speech tagging, and named entity recognition. You will also learn about sentiment analysis, semantic text similarity, language identification, machine translation, and text summarization. By the end of this book, you will be ready to become a professional NLP expert using a problem-solution approach to analyze any sort of text, sentence, or semantic word.
Table of Contents (14 chapters)

Getting ready to use Amazon Web Services

We will use Amazon Web Services (AWS) in several recipes in various chapters (Chapter 7, Language Identification and Translation, and Chapter 11, Creating a Chatbot). This is a cloud-based service that provides a multitude of services, including support for various NLP tasks. A server is located in the cloud and requires a client application to connect and then request a service. The server will then respond, sending results back to the client.

In this recipe, we will demonstrate how to set up your system to use AWS. These services are free for a period of time and as long as the limits on access are not exceeded. When used for the later recipes, you should not exceed these limits. More information regarding pricing is found at https://aws.amazon.com/pricing/?nc2=h_ql_pr.

...