SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Breaking Language Barriers with AI
WebSummit Lisbon – November 2018
Boaz Ziniman
Technical Evangelist, Amazon Web Service
@ziniman
boaz.ziniman.aws
ziniman
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Natural language processing (NLP)
• Automatic Speech Recognition (ASR)
• Natural Language Understanding (NLU)
• Text to Speech
• Translation
1970 1980 1990 2000 2010 2020
HUMAN ACCURACY
50% 55%
60% 62%
70%
95%
Source: MindMeld
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Common Language Use Cases
Information Bots
Education
Accessibility
Knowledge Management
Voice of Customer
Applications
Customer Service/
Call Centers
Enterprise
Digital Assistant
Semantic Search
Captioning Workflows
LocalizationPersonalization
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI Services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Polly
Deep Learning-based text-to-speech service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Today in Seattle, WA
it’s 11°F”
Amazon Polly: Text In, Life-like Speech Out
52 voices across 25 languages
“Today in Seattle Washington
it’s 11 degrees Fahrenheit”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Polly: Text In, Life-like Speech Out
52 voices across 25 languages
“Today in Mumbai,
India it’s 32°C”
“Today in Mumbai, India it’s 32
degrees Celcius”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Polly: Text In, Life-like Speech Out
52 voices across 25 languages
“Esta é a minha 2ª
visita ao WebSummit
Lisboa”
“Esta é a minha
segunda visita ao
WebSummit Lisboa”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
• “Today in Seattle, WA, it’s 11°F”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
https://www.w3.org/TR/speech-synthesis/
<speak>
The spelling of my name is
<prosody rate='x-slow'>
<say-as interpret-as="characters">Boaz</say-as>
</prosody>
</speak>
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
• “Richard’s number is 2122341237“
<say-as interpret-as="telephone">
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Voice Modification: Vocal Tract Length
<speak>
This is Brian without any voice modifications.
<amazon:effect vocal-tract-length="+15%"> Imagine now that I got bigger… </amazon:effect>
<amazon:effect vocal-tract-length="+25%"> Suppose that I got even bigger still… </amazon:effect>
Now let's go back and hear the effect when I go in the opposite direction.
<amazon:effect vocal-tract-length="-15%"> Can you tell that I'm getting smaller? </amazon:effect>
<amazon:effect vocal-tract-length="-25%"> Now I'm even smaller than before. </amazon:effect>
</speak>
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“This is a new technology that can give users
more choice and better accessibility to our
content, so we wanted to create an
experiment to dive deeper into the user
experience. After a month, we’ll take what
we’ve learned about how users engage with
this feature to develop our first iteration of a
product with Amazon Polly.“
Joseph Price, Product Manager
The Washington Post
https://www.washingtonpost.com/pr/wp/201
7/06/09/the-washington-post-to-start-
experimenting-with-audio-articles-using-
amazon-polly
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Navigation
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI Radio Announcer
• FM Wakayama: Japanese radio station
• Amazon Polly Japanese voices are used for
regularly scheduled broadcasts throughout
the week
• Emergency broadcast during 12/09 Typhoon
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Polly API example
aws polly synthesize-speech 
--output-format mp3 --voice-id Matthew --text-type ssml 
--text '<speak>
<amazon:auto-breaths>
<prosody rate="x-slow" pitch="low">Here is my little secret.</prosody>
<amazon:breath duration="long" volume="x-loud"/>
<amazon:effect name="whispered">
<prosody rate="x-slow">
<prosody pitch="x-low">I</prosody>
killed Mufasa!
</prosody>
</amazon:effect>
</amazon:auto-breaths>
</speak>' 
mufasa.mp3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Transcribe
Automatic speech recognition service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Hello, this is Allan
speaking”
Automatic speech recognition service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Support for
telephony
audio
Timestamp
generation
Intelligent
punctuation
and formatting
Recognize
multiple
speakers
Custom
vocabulary
Multiple
languages
Automatic speech recognition service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ringDNA
RingDNA is an end-to-end communications
platform for sales teams.
Hundreds of enterprise organizations use
RingDNA to increase productivity, engage in
smarter sales conversations, gain predictive
sales insights and improve their win rate.
Speech to Text
"A critical component of RingDNA’s Conversation
AI requires best of breed speech-to-text to deliver
transcriptions of every phone call. RingDNA is
excited about Amazon Transcribe since it provides
high-quality speech recognition at scale, helping
us to better transcribe every call to text"
Howard Brown, CEO & Founder, RingDNA https://www.youtube.com/watch?v=1ZJ_f1bDdog
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Translate
Neural Machine Translation Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Hello, what’s up? Do
you want to go see a
movie tonight?”
Amazon Translate
Natural and fluent language translation
"Olá, quer ir ver um filme
hoje à noite?"
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Automatic translation
Real-time
translation
Powered by Deep
Learning
12 Language pairs
(more to come)
Language detection
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Translate API example
boazz: ~$ aws translate translate-text 
--text "Hello, what’s up? Do you want to go see a movie tonight?" 
--source-language-code auto --target-language-code pt
{
"TargetLanguageCode": "pt",
"TranslatedText": "Olá, quer ir ver um filme hoje à noite?",
"SourceLanguageCode": "en"
}
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Translate API example
import boto3
translate = boto3.client("translate")
lang_flag_pairs = [("fr", "!"), ("de", """),
("es", "#"), ("pt", "$"),
("zh", "%"), ("ar", "&"),
("ja", "'"), ("ru", "("),
("it", ")"), ("zh-TW", "*"),
("tr", "+"), ("cs", ",")]
for lang, flag in lang_flag_pairs:
print(flag)
print(translate.translate_text(
Text="Hello, World",
SourceLanguageCode="en",
TargetLanguageCode=lang
)['TranslatedText'])
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Translate API example
!
Bonjour, Monde
"
Hallo, Welt
#
Hola, Mundo
$
Olá, Mundo
%
&
‫ﻣ‬‫ﺮ‬‫ﺣ‬‫ﺒ‬‫ﺎ‬،‫ا‬‫ﻟ‬‫ﻌ‬‫ﺎ‬‫ﻟ‬‫ﻢ‬
'
(
Привет, Мир
)
Ciao, Mondo
*
,
+
Merhaba, Dünya.
,
Ahoj, světe.
https://github.com/ziniman/aws-translate-demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hotels.com
Machine Translation
At Hotels.com, we are committed to offering all of our customers the most
relevant and up to date information about their destination. To achieve that,
we operate 90 localized websites in 41 languages. We have more than 25M
customer reviews and more are coming in every day, making a great candidate
for machine translation. Having evaluated Amazon Translate and several other
solutions, we believe that Amazon Translate presents a quick, efficient and
most importantly, accurate solution.
Matt Fryer, VP and Chief Data Science Officer, Hotels.com
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo - https://translate.boaz.cloud/
https://github.com/ziniman/aws-translate-demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Comprehend
Natural Language Processing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Fully managed natural language processing
Discover valuable insights from text
Entities
Key Phrases
Language
Sentiment
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Topic modeling
STORM
WORLD SERIES
AUSTRALIASTOCK
MARKET
WASHINGTON
HEALTH
CRISIS
MACHINE
LEARNING
LIBRARY OF
NEWS ARTICLES *
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Run Amazon Comprehend on S3 Bucket
import boto3
import json
s3 = boto3.resource('s3’)
bucket_name = ‘my_bucket’
region_name = ‘us-east-1’
bucket = s3.Bucket(bucket_name)
comprehend = boto3.client(service_name='comprehend', region_name=region)
for obj in bucket.objects.all():
body = obj.get()['Body'].read()
text = body
sentiment_response = comprehend.detect_sentiment(Text=text, LanguageCode='en’)
print(json.dumps(sentiment_response, sort_keys=True, indent=4))
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo
https://github.com/ziniman/aws-comprehend-demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Lex
Conversational Interfaces
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Advent of conversational interactions
2nd gen:
Pointers & sliders
3nd gen:
Conversational
interfaces
1st gen:
Punch cards & memory
registers
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lex Use Case: Digital Assistant to Book a Hotel
Book hotel
NYC
“Book a hotel in
NYC”
Automatic speech
recognition
Hotel booking
New York City
Natural language
understanding
Intent/slot
model
UtterancesHotel booking
City New York City
Check in November 30
Check out December 2
“Your hotel is booked for
November 30.”
Amazon Polly
Confirmation: “Your hotel is
booked for November 30.”
“Can I go ahead
with the booking?”
a
in
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Lex use cases
Informational Bots
Chatbots for everyday consumer requests
Application Bots
Build powerful interfaces to mobile applications
• News updates
• Weather information
• Game scores …
• Book tickets
• Order food
• Manage bank accounts …
Enterprise Productivity Bots
Streamline enterprise work activities and improve efficiencies
• Check sales numbers
• Marketing performance
• Inventory status …
Internet of Things (IoT) Bots
Enable conversational interfaces for device interactions
• Wearables
• Appliances
• Auto …
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Connect Demo
+1-979-335-5593
+1-979-335-5593
Next session for Boaz Ziniman is…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Babel fish
"The Babel fish is small, yellow, leech-like - and probably the oddest thing in the universe. It
feeds on brain wave energy, absorbing all unconscious frequencies and then excreting
telepathically a matrix formed from the conscious frequencies and nerve signals picked up
from the speech centres of the brain, the practical upshot of which is that if you stick one in
your ear, you can instantly understand anything said to you in any form of language: the
speech you hear decodes the brain wave matrix."
The Hitchhiker's Guide to the Galaxy, Douglas Adams
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build your own Babel fish
Person Speaks in
English
Transcribe voice to text in
English
Translate text to
Spanish
Speak in
Spanish
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Babel Chat
chat.boaz.cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Babel Chat
chat.boaz.cloud
{
"room":"/",
"message":{
"user":"Boaz",
"text":"I'm doing great",
"timestamp":1540978160578
},
"clientId":"07958771059731382"
}
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DEVELOPER WORKSHOP SCHEDULE
10:00AM
An Introduction to AWS for
Developers
11:00AM
AI & Machine Learning at Amazon
12:00PM
Breaking Language Barriers with AI
1:00PM
Deep Learning Demystified, A
(Mostly) Effortless Introduction
2:00PM
Machine Learning at the Edge: An
Introduction to AI/ML Options on
Mobile Devices
3:00PM
How to Avoid Common Mistakes at Scale
4:00PM
How to Build Multi-Region
Applications in the Cloud
Wednesday, November 7
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DEVELOPER WORKSHOP SCHEDULE
10:00AM
An Introduction to AWS for
Developers
11:00AM
Serve Your Customers with AI from
Cloud
12:00PM
Chaos Engineering: Why Breaking
Things Should be Practiced
1:00PM
From Data Collection to Actionable
Insights in 60 Seconds
2:00PM
How to Process Transactions like a
Boss!
3:00PM
IoT – From Cloud to Edge & Back Again
4:00PM
Exploring Ad-Based Monetization
Opportunities for Modern Web &
Mobile Apps
Thursday, November 8
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Did We Scan Your Badge?
Remember to opt-in to AWS
communications and you will receive a
post-event email with a link to:
• AWS Developer Workshop Slides
• $200 in AWS Credits
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
Boaz Ziniman
Technical Evangelist, Amazon Web Service
Give me feedback – Talk to my Bot
m.me/boaz.ziniman.aws
@ziniman
boaz.ziniman.aws

More Related Content

PDF
IoT from Cloud to Edge & Back Again - WebSummit 2018
PDF
AI Today
PDF
Ai services AWS - Taglit
PDF
AI/ML Introduction by Joel Minnick
PDF
Value of Data Beyond Analytics by Darin Briskman
PDF
Trends in Digital Transformation by Joe Chung
PPTX
Chaos Engineering: Why Breaking Things Should Be Practised.
PDF
Alexa Voice Services by Linda Lian
IoT from Cloud to Edge & Back Again - WebSummit 2018
AI Today
Ai services AWS - Taglit
AI/ML Introduction by Joel Minnick
Value of Data Beyond Analytics by Darin Briskman
Trends in Digital Transformation by Joe Chung
Chaos Engineering: Why Breaking Things Should Be Practised.
Alexa Voice Services by Linda Lian

Similar to Breaking Language Barriers with AI - Web Summit 2018 (10)

PDF
AI & ML on AWS: State of the Union
PPTX
Ai Services on AWS
PPTX
Machine Learning on AWS (December 2018)
PPTX
Innovating with Machine Learning on AWS - Travel & Hospitality (November 2018)
PDF
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
PDF
Breaking language barriers with AI | AWS Summit Tel Aviv 2019
PDF
Breaking Language Barriers with AI - AWS Summit
PDF
The future of AI - IDC Herzelia
PDF
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
PDF
The Future of AI - AllCloud Best of reInvent
AI & ML on AWS: State of the Union
Ai Services on AWS
Machine Learning on AWS (December 2018)
Innovating with Machine Learning on AWS - Travel & Hospitality (November 2018)
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
Breaking language barriers with AI | AWS Summit Tel Aviv 2019
Breaking Language Barriers with AI - AWS Summit
The future of AI - IDC Herzelia
AWS의 새로운 언어, 음성, 텍스트 처리 인공지능 서비스::Vikram Anbazhagan::AWS Summit Seoul 2018
The Future of AI - AllCloud Best of reInvent
Ad

More from Boaz Ziniman (20)

PDF
AWS Cost Optimization - JLM
PDF
What can you do with Serverless in 2020
PDF
Six ways to reduce your AWS bill
PDF
From Cloud to Edge & back again
PDF
Modern Applications Development on AWS
PDF
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
PDF
AI Services and Serverless Workshop
PDF
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
PDF
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
PDF
Serverless Beyond Functions - CTO Club Made in JLM
PDF
Websites Go Serverless - ServerlessDays TLV 2019
PDF
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
PDF
Websites go Serverless - AWS Summit Berlin
PDF
AWS Lambda updates from re:Invent
PDF
Artificial Intelligence for Developers - OOP Munich
PDF
Introduction to Serverless Computing - OOP Munich
PDF
How Websites go Serverless - WebSummit Lisbon 2018
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
PDF
AI Services for Developers - Floor28
PDF
Building Alexa Skills - Floor28
AWS Cost Optimization - JLM
What can you do with Serverless in 2020
Six ways to reduce your AWS bill
From Cloud to Edge & back again
Modern Applications Development on AWS
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
AI Services and Serverless Workshop
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Serverless Beyond Functions - CTO Club Made in JLM
Websites Go Serverless - ServerlessDays TLV 2019
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
Websites go Serverless - AWS Summit Berlin
AWS Lambda updates from re:Invent
Artificial Intelligence for Developers - OOP Munich
Introduction to Serverless Computing - OOP Munich
How Websites go Serverless - WebSummit Lisbon 2018
Introduction to Serverless computing and AWS Lambda - Floor28
AI Services for Developers - Floor28
Building Alexa Skills - Floor28
Ad

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Understanding_Digital_Forensics_Presentation.pptx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Modernizing your data center with Dell and AMD
Review of recent advances in non-invasive hemoglobin estimation
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Monthly Chronicles - July 2025
20250228 LYD VKU AI Blended-Learning.pptx
cuic standard and advanced reporting.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
“AI and Expert System Decision Support & Business Intelligence Systems”

Breaking Language Barriers with AI - Web Summit 2018

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Breaking Language Barriers with AI WebSummit Lisbon – November 2018 Boaz Ziniman Technical Evangelist, Amazon Web Service @ziniman boaz.ziniman.aws ziniman
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Natural language processing (NLP) • Automatic Speech Recognition (ASR) • Natural Language Understanding (NLU) • Text to Speech • Translation 1970 1980 1990 2000 2010 2020 HUMAN ACCURACY 50% 55% 60% 62% 70% 95% Source: MindMeld
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common Language Use Cases Information Bots Education Accessibility Knowledge Management Voice of Customer Applications Customer Service/ Call Centers Enterprise Digital Assistant Semantic Search Captioning Workflows LocalizationPersonalization
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI Services
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Polly Deep Learning-based text-to-speech service
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Today in Seattle, WA it’s 11°F” Amazon Polly: Text In, Life-like Speech Out 52 voices across 25 languages “Today in Seattle Washington it’s 11 degrees Fahrenheit”
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Polly: Text In, Life-like Speech Out 52 voices across 25 languages “Today in Mumbai, India it’s 32°C” “Today in Mumbai, India it’s 32 degrees Celcius”
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Polly: Text In, Life-like Speech Out 52 voices across 25 languages “Esta é a minha 2ª visita ao WebSummit Lisboa” “Esta é a minha segunda visita ao WebSummit Lisboa”
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing • “Today in Seattle, WA, it’s 11°F”
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing 2. Intelligible and Easy to Understand
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing 2. Intelligible and Easy to Understand 3. Add Semantic Meaning to Text
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A Focus On Voice Quality & Pronunciation https://www.w3.org/TR/speech-synthesis/ <speak> The spelling of my name is <prosody rate='x-slow'> <say-as interpret-as="characters">Boaz</say-as> </prosody> </speak>
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A Focus On Voice Quality & Pronunciation 1. Automatic, Accurate Text Processing 2. Intelligible and Easy to Understand 3. Add Semantic Meaning to Text • “Richard’s number is 2122341237“ <say-as interpret-as="telephone">
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Voice Modification: Vocal Tract Length <speak> This is Brian without any voice modifications. <amazon:effect vocal-tract-length="+15%"> Imagine now that I got bigger… </amazon:effect> <amazon:effect vocal-tract-length="+25%"> Suppose that I got even bigger still… </amazon:effect> Now let's go back and hear the effect when I go in the opposite direction. <amazon:effect vocal-tract-length="-15%"> Can you tell that I'm getting smaller? </amazon:effect> <amazon:effect vocal-tract-length="-25%"> Now I'm even smaller than before. </amazon:effect> </speak>
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “This is a new technology that can give users more choice and better accessibility to our content, so we wanted to create an experiment to dive deeper into the user experience. After a month, we’ll take what we’ve learned about how users engage with this feature to develop our first iteration of a product with Amazon Polly.“ Joseph Price, Product Manager The Washington Post https://www.washingtonpost.com/pr/wp/201 7/06/09/the-washington-post-to-start- experimenting-with-audio-articles-using- amazon-polly
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Navigation
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI Radio Announcer • FM Wakayama: Japanese radio station • Amazon Polly Japanese voices are used for regularly scheduled broadcasts throughout the week • Emergency broadcast during 12/09 Typhoon
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Polly API example aws polly synthesize-speech --output-format mp3 --voice-id Matthew --text-type ssml --text '<speak> <amazon:auto-breaths> <prosody rate="x-slow" pitch="low">Here is my little secret.</prosody> <amazon:breath duration="long" volume="x-loud"/> <amazon:effect name="whispered"> <prosody rate="x-slow"> <prosody pitch="x-low">I</prosody> killed Mufasa! </prosody> </amazon:effect> </amazon:auto-breaths> </speak>' mufasa.mp3
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Transcribe Automatic speech recognition service
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Hello, this is Allan speaking” Automatic speech recognition service
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support for telephony audio Timestamp generation Intelligent punctuation and formatting Recognize multiple speakers Custom vocabulary Multiple languages Automatic speech recognition service
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ringDNA RingDNA is an end-to-end communications platform for sales teams. Hundreds of enterprise organizations use RingDNA to increase productivity, engage in smarter sales conversations, gain predictive sales insights and improve their win rate. Speech to Text "A critical component of RingDNA’s Conversation AI requires best of breed speech-to-text to deliver transcriptions of every phone call. RingDNA is excited about Amazon Transcribe since it provides high-quality speech recognition at scale, helping us to better transcribe every call to text" Howard Brown, CEO & Founder, RingDNA https://www.youtube.com/watch?v=1ZJ_f1bDdog
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Translate Neural Machine Translation Service
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Hello, what’s up? Do you want to go see a movie tonight?” Amazon Translate Natural and fluent language translation "Olá, quer ir ver um filme hoje à noite?"
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Automatic translation Real-time translation Powered by Deep Learning 12 Language pairs (more to come) Language detection
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Translate API example boazz: ~$ aws translate translate-text --text "Hello, what’s up? Do you want to go see a movie tonight?" --source-language-code auto --target-language-code pt { "TargetLanguageCode": "pt", "TranslatedText": "Olá, quer ir ver um filme hoje à noite?", "SourceLanguageCode": "en" }
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Translate API example import boto3 translate = boto3.client("translate") lang_flag_pairs = [("fr", "!"), ("de", """), ("es", "#"), ("pt", "$"), ("zh", "%"), ("ar", "&"), ("ja", "'"), ("ru", "("), ("it", ")"), ("zh-TW", "*"), ("tr", "+"), ("cs", ",")] for lang, flag in lang_flag_pairs: print(flag) print(translate.translate_text( Text="Hello, World", SourceLanguageCode="en", TargetLanguageCode=lang )['TranslatedText'])
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Translate API example ! Bonjour, Monde " Hallo, Welt # Hola, Mundo $ Olá, Mundo % & ‫ﻣ‬‫ﺮ‬‫ﺣ‬‫ﺒ‬‫ﺎ‬،‫ا‬‫ﻟ‬‫ﻌ‬‫ﺎ‬‫ﻟ‬‫ﻢ‬ ' ( Привет, Мир ) Ciao, Mondo * , + Merhaba, Dünya. , Ahoj, světe. https://github.com/ziniman/aws-translate-demo
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hotels.com Machine Translation At Hotels.com, we are committed to offering all of our customers the most relevant and up to date information about their destination. To achieve that, we operate 90 localized websites in 41 languages. We have more than 25M customer reviews and more are coming in every day, making a great candidate for machine translation. Having evaluated Amazon Translate and several other solutions, we believe that Amazon Translate presents a quick, efficient and most importantly, accurate solution. Matt Fryer, VP and Chief Data Science Officer, Hotels.com
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo - https://translate.boaz.cloud/ https://github.com/ziniman/aws-translate-demo
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Comprehend Natural Language Processing
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Fully managed natural language processing Discover valuable insights from text Entities Key Phrases Language Sentiment
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Topic modeling STORM WORLD SERIES AUSTRALIASTOCK MARKET WASHINGTON HEALTH CRISIS MACHINE LEARNING LIBRARY OF NEWS ARTICLES *
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Run Amazon Comprehend on S3 Bucket import boto3 import json s3 = boto3.resource('s3’) bucket_name = ‘my_bucket’ region_name = ‘us-east-1’ bucket = s3.Bucket(bucket_name) comprehend = boto3.client(service_name='comprehend', region_name=region) for obj in bucket.objects.all(): body = obj.get()['Body'].read() text = body sentiment_response = comprehend.detect_sentiment(Text=text, LanguageCode='en’) print(json.dumps(sentiment_response, sort_keys=True, indent=4))
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo https://github.com/ziniman/aws-comprehend-demo
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Lex Conversational Interfaces
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Advent of conversational interactions 2nd gen: Pointers & sliders 3nd gen: Conversational interfaces 1st gen: Punch cards & memory registers
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lex Use Case: Digital Assistant to Book a Hotel Book hotel NYC “Book a hotel in NYC” Automatic speech recognition Hotel booking New York City Natural language understanding Intent/slot model UtterancesHotel booking City New York City Check in November 30 Check out December 2 “Your hotel is booked for November 30.” Amazon Polly Confirmation: “Your hotel is booked for November 30.” “Can I go ahead with the booking?” a in
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Lex use cases Informational Bots Chatbots for everyday consumer requests Application Bots Build powerful interfaces to mobile applications • News updates • Weather information • Game scores … • Book tickets • Order food • Manage bank accounts … Enterprise Productivity Bots Streamline enterprise work activities and improve efficiencies • Check sales numbers • Marketing performance • Inventory status … Internet of Things (IoT) Bots Enable conversational interfaces for device interactions • Wearables • Appliances • Auto …
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Connect Demo +1-979-335-5593 +1-979-335-5593 Next session for Boaz Ziniman is…
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Babel fish "The Babel fish is small, yellow, leech-like - and probably the oddest thing in the universe. It feeds on brain wave energy, absorbing all unconscious frequencies and then excreting telepathically a matrix formed from the conscious frequencies and nerve signals picked up from the speech centres of the brain, the practical upshot of which is that if you stick one in your ear, you can instantly understand anything said to you in any form of language: the speech you hear decodes the brain wave matrix." The Hitchhiker's Guide to the Galaxy, Douglas Adams
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build your own Babel fish Person Speaks in English Transcribe voice to text in English Translate text to Spanish Speak in Spanish
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Babel Chat chat.boaz.cloud
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Babel Chat chat.boaz.cloud { "room":"/", "message":{ "user":"Boaz", "text":"I'm doing great", "timestamp":1540978160578 }, "clientId":"07958771059731382" }
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ?
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DEVELOPER WORKSHOP SCHEDULE 10:00AM An Introduction to AWS for Developers 11:00AM AI & Machine Learning at Amazon 12:00PM Breaking Language Barriers with AI 1:00PM Deep Learning Demystified, A (Mostly) Effortless Introduction 2:00PM Machine Learning at the Edge: An Introduction to AI/ML Options on Mobile Devices 3:00PM How to Avoid Common Mistakes at Scale 4:00PM How to Build Multi-Region Applications in the Cloud Wednesday, November 7
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DEVELOPER WORKSHOP SCHEDULE 10:00AM An Introduction to AWS for Developers 11:00AM Serve Your Customers with AI from Cloud 12:00PM Chaos Engineering: Why Breaking Things Should be Practiced 1:00PM From Data Collection to Actionable Insights in 60 Seconds 2:00PM How to Process Transactions like a Boss! 3:00PM IoT – From Cloud to Edge & Back Again 4:00PM Exploring Ad-Based Monetization Opportunities for Modern Web & Mobile Apps Thursday, November 8
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Did We Scan Your Badge? Remember to opt-in to AWS communications and you will receive a post-event email with a link to: • AWS Developer Workshop Slides • $200 in AWS Credits
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you! Boaz Ziniman Technical Evangelist, Amazon Web Service Give me feedback – Talk to my Bot m.me/boaz.ziniman.aws @ziniman boaz.ziniman.aws