Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Artificial Intelligence on Amazon Web Services

You're reading from   Hands-On Artificial Intelligence on Amazon Web Services Decrease the time to market for AI and ML applications with the power of AWS

Arrow left icon
Product type Paperback
Published in Oct 2019
Publisher Packt
ISBN-13 9781789534146
Length 426 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Subhashini Tripuraneni Subhashini Tripuraneni
Author Profile Icon Subhashini Tripuraneni
Subhashini Tripuraneni
Charles Song Charles Song
Author Profile Icon Charles Song
Charles Song
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Introduction and Anatomy of a Modern AI Application FREE CHAPTER
2. Introduction to Artificial Intelligence on Amazon Web Services 3. Anatomy of a Modern AI Application 4. Section 2: Building Applications with AWS AI Services
5. Detecting and Translating Text with Amazon Rekognition and Translate 6. Performing Speech-to-Text and Vice Versa with Amazon Transcribe and Polly 7. Extracting Information from Text with Amazon Comprehend 8. Building a Voice Chatbot with Amazon Lex 9. Section 3: Training Machine Learning Models with Amazon SageMaker
10. Working with Amazon SageMaker 11. Creating Machine Learning Inference Pipelines 12. Discovering Topics in Text Collection 13. Classifying Images Using Amazon SageMaker 14. Sales Forecasting with Deep Learning and Auto Regression 15. Section 4: Machine Learning Model Monitoring and Governance
16. Model Accuracy Degradation and Feedback Loops 17. What Is Next? 18. Other Books You May Enjoy

Implementing the Web User Interface

Next, let's create a simple web user interface with HTML and JavaScript in the index.html and scripts.js files in the Website directory.

This is what the final web interface looks like:

In this application, the user first selects the languages to translate from and to in the Select Languages section. The user then records a short speech in the Record Audio section. In this section, the user can also playback the recording to check for quality. Then the translation process kicks off. When the translation text becomes available, it is displayed to the user in the Translation Text section. Then the text-to-speech generation process is started. When the generated audio translation becomes available, the audio player controls are enabled to allow playback of the translation.

We made the design decision to treat the steps of every translation...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime