Book description
With the help of engaging activities, learn how to leverage Amazon Web Services for building serverless intelligent applications that can process information in no time
Key Features
- Learn how to integrate Amazon's Simple Storage Services with AI and NLP projects
- Get to grips with serverless computing and its applications
- Create intelligent applications such as chatbots and image recognition models
Book Description
Are you fascinated with applications like Alexa and Siri and how they accurately process information within seconds before returning accurate results? Are you looking for a practical guide that will teach you how to build intelligent applications that can revolutionize the world of artificial intelligence? The Applied AI and NLP Workshop will take you on a practical journey where you will learn how to build artificial intelligence (AI) and natural language processing (NLP) applications with Amazon Web services (AWS).
Starting with an introduction to AI and machine learning, this book will explain how Amazon S3, or Amazon Simple Storage Service, works. You'll then integrate AI with AWS to build serverless services and use Amazon's NLP service Comprehend to perform text analysis on a document. As you advance, the book will help you get to grips with topic modeling to extract and analyze common themes on a set of documents with unknown topics. You'll also work with Amazon Lex to create and customize a chatbot for task automation and use Amazon Rekognition for detecting objects, scenes, and text in images.
By the end of The Applied AI and NLP Workshop, you'll be equipped with the knowledge and skills needed to build scalable intelligent applications with AWS.
What you will learn
- Grasp the fundamentals of AI, ML, and AWS
- Explore the AWS command line, its interface, and its applications
- Import and export data to Amazon S3
- Perform topic modeling on a set of documents to analyze common themes
- Develop a custom chatbot to get the latest stock market quotes
- Create a personal call center and connect it to the chatbot
Who this book is for
If you are a machine learning enthusiast, data scientist, or programmer who wants to explore AWS's artificial intelligence and machine learning capabilities, this book is for you. Although not necessary, a basic understanding of AI and NLP will assist with grasping key topics quickly.
Table of contents
- The Applied AI and Natural Language Processing Workshop
-
Preface
-
About the Book
- Audience
- About the Chapters
- Conventions
- Code Presentation
- Setting up Your Environment
- Software Requirements
- Installation and Setup
- AWS Account
- A Word about AWS Regions
- AWS CLI Setup
- Configuration and Credential files for the AWS CLI
- Amazon Rekognition Account
- Installing Python and Anaconda
- Installing Python and Anaconda on macOS
- Project Jupyter
- Installing Libraries
- Accessing the Code Files
-
About the Book
- 1. An Introduction to AWS
-
2. Analyzing Documents and Text with Natural Language Processing
- Introduction
- Serverless Computing
- Amazon Comprehend
- What Is an NLP Service?
- Using Amazon Comprehend to Inspect Text and Determine the Primary Language
-
Extracting Information from a Set of Documents
- Detecting Named Entities—AWS SDK for Python (boto3)
- DetectEntities – Input and Output
- Exercise 2.03: Determining the Named Entities in a Document (the DetectEntities method)
- Exercise 2.04: Detecting Entities in a Set of Documents (Text Files)
- Detecting Key Phrases
- Exercise 2.05: Detecting Key Phrases
- Detecting Sentiments
- Exercise 2.06: Conducting Sentiment Analysis
-
Setting Up a Lambda Function and Analyzing Imported Text Using Comprehend
- Integrating Comprehend and AWS Lambda for responsive NLP
- What Is AWS Lambda?
- What Does AWS Lambda Do?
- Lambda Function Anatomy
- Exercise 2.07: Setting Up a Lambda Function for S3
- Exercise 2.08: Assigning Policies to S3_trigger to Access Comprehend
- Activity 2.01: Integrating Lambda with Amazon Comprehend to Perform Text Analysis
- Amazon Textract
- Summary
- 3. Topic Modeling and Theme Extraction
-
4. Conversational Artificial Intelligence
- Introduction to Conversational AI
- What Is a Chatbot?
- What Is Natural Language Understanding?
- Best Practices for Designing Conversational AI
- Creating a Custom Chatbot
- A Bot That Recognizes an Intent and Filling a Slot
-
Lambda Function – Implementing Business Logic
- Exercise 4.02: Creating a Lambda Function to Handle Chatbot Fulfillment
- Implementing the Lambda Function
- Input Parameter Structure
- Implementing the High-Level Handler Function
- Implementing the Function to Retrieve the Market Quote
- Returning the Information to the Calling App (the Chatbot)
- Connecting to the Chatbot
- Debugging Tips
- Summary
- 5. Using Speech with the Chatbot
- 6. Computer Vision and Image Processing
- Appendix
Product information
- Title: The Applied AI and Natural Language Processing Workshop
- Author(s):
- Release date: July 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800208742
You might also like
book
The Natural Language Processing Workshop
Make NLP easy by building chatbots and models, and executing various NLP tasks to gain data-driven …
book
Natural Language Processing with Flair
Learn how to solve practical NLP problems with the Flair Python framework, train sequence labeling models, …
book
Natural Language Processing and Computational Linguistics
Work with Python and powerful open source tools such as Gensim and spaCy to perform modern …
book
The Deep Learning Workshop
Take a hands-on approach to understanding deep learning and build smart applications that can recognize images …