Book description
Work through interesting real-life business use cases to uncover valuable insights from unstructured text using AWS AI services
Key Features
- Get to grips with AWS AI services for NLP and find out how to use them to gain strategic insights
- Run Python code to use Amazon Textract and Amazon Comprehend to accelerate business outcomes
- Understand how you can integrate human-in-the-loop for custom NLP use cases with Amazon A2I
Book Description
Natural language processing (NLP) uses machine learning to extract information from unstructured data. This book will help you to move quickly from business questions to high-performance models in production.
To start with, you'll understand the importance of NLP in today’s business applications and learn the features of Amazon Comprehend and Amazon Textract to build NLP models using Python and Jupyter Notebooks. The book then shows you how to integrate AI in applications for accelerating business outcomes with just a few lines of code. Throughout the book, you'll cover use cases such as smart text search, setting up compliance and controls when processing confidential documents, real-time text analytics, and much more to understand various NLP scenarios. You'll deploy and monitor scalable NLP models in production for real-time and batch requirements. As you advance, you'll explore strategies for including humans in the loop for different purposes in a document processing workflow. Moreover, you'll learn best practices for auto-scaling your NLP inference for enterprise traffic.
Whether you're new to ML or an experienced practitioner, by the end of this NLP book, you'll have the confidence to use AWS AI services to build powerful NLP applications.
What you will learn
- Automate various NLP workflows on AWS to accelerate business outcomes
- Use Amazon Textract for text, tables, and handwriting recognition from images and PDF files
- Gain insights from unstructured text in the form of sentiment analysis, topic modeling, and more using Amazon Comprehend
- Set up end-to-end document processing pipelines to understand the role of humans in the loop
- Develop NLP-based intelligent search solutions with just a few lines of code
- Create both real-time and batch document processing pipelines using Python
Who this book is for
If you're an NLP developer or data scientist looking to get started with AWS AI services to implement various NLP scenarios quickly, this book is for you. It will show you how easy it is to integrate AI in applications with just a few lines of code. A basic understanding of machine learning (ML) concepts is necessary to understand the concepts covered. Experience with Jupyter notebooks and Python will be helpful.
Table of contents
- Natural Language Processing with AWS AI Services
- Acknowledgments
- Foreword
- Contributors
- About the authors
- About the reviewers
- Preface
- Section 1:Introduction to AWS AI NLP Services
- Chapter 1: NLP in the Business Context and Introduction to AWS AI Services
- Chapter 2: Introducing Amazon Textract
- Chapter 3: Introducing Amazon Comprehend
- Section 2: Using NLP to Accelerate Business Outcomes
- Chapter 4: Automating Document Processing Workflows
- Chapter 5: Creating NLP Search
- Chapter 6: Using NLP to Improve Customer Service Efficiency
- Chapter 7: Understanding the Voice of Your Customer Analytics
- Chapter 8: Leveraging NLP to Monetize Your Media Content
- Chapter 9: Extracting Metadata from Financial Documents
- Chapter 10: Reducing Localization Costs with Machine Translation
- Chapter 11: Using Chatbots for Querying Documents
-
Chapter 12: AI and NLP in Healthcare
- Technical requirements
- Introducing the automated claims processing use case
- Understanding how to extract and validate data from medical intake forms
- Understanding clinical data with Amazon Comprehend Medical
- Understanding invalid medical form processing with notifications
- Understanding how to create a serverless pipeline for medical claims
- Summary
- Further reading
- Section 3: Improving NLP Models in Production
- Chapter 13: Improving the Accuracy of Document Processing Workflows
-
Chapter 14: Auditing Named Entity Recognition Workflows
- Technical requirements
- Authenticating loan applications
-
Building the loan authentication solution
- Setting up to solve the use case
- Additional IAM pre-requisites
- Training an Amazon Comprehend custom entity recognizer
- Creating a private team for the human loop
- Extracting sample document contents using Amazon Textract
- Detecting entities using the Amazon Comprehend custom entity recognizer
- Setting up an Amazon A2I human workflow loop
- Reviewing and modifying detected entities
- Retraining Comprehend custom entity recognizer
- Storing decisions for downstream processing
- Summary
- Further reading
- Chapter 15: Classifying Documents and Setting up Human in the Loop for Active Learning
- Chapter 16: Improving the Accuracy of PDF Batch Processing
- Chapter 17: Visualizing Insights from Handwritten Content
-
Chapter 18: Building Secure, Reliable, and Efficient NLP Solutions
- Technical requirements
- Defining best practices for NLP solutions
-
Applying best practices for optimization
- Using an AWS S3 data lake
- Using AWS Glue for data processing and transformation tasks
- Using Amazon SageMaker Ground Truth for annotations
- Using Amazon Comprehend with PDF and Word formats directly
- Enforcing least privilege access
- Obfuscating sensitive data
- Protecting data at rest and in transit
- Using Amazon API Gateway for request throttling
- Setting up auto scaling for Amazon Comprehend endpoints
- Automating monitoring of custom training metrics
- Using Amazon A2I to review predictions
- Using Async APIs for loose coupling
- Using Amazon Textract Response Parser
- Persisting prediction results
- Using AWS Step Function for orchestration
- Using AWS CloudFormation templates
- Summary
- Further reading
- Why subscribe?
- Other Books You May Enjoy
Product information
- Title: Natural Language Processing with AWS AI Services
- Author(s):
- Release date: November 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801812535
You might also like
book
Advanced Natural Language Processing with TensorFlow 2
One-stop solution for NLP practitioners, ML developers, and data scientists to build effective NLP systems that …
book
Transfer Learning for Natural Language Processing
Build custom NLP models in record time by adapting pre-trained machine learning models to solve specialized …
book
Machine Learning with Amazon SageMaker Cookbook
A step-by-step solution-based guide to preparing building, training, and deploying high-quality machine learning models with Amazon …
book
Cloud Native Infrastructure with Azure
The cloud is becoming the de facto home for companies ranging from enterprises to startups. Moving …