DEV Community

1

Amazone Polly Overview

What is Polly

Polly is the opposite of Transcribe, because it generates an audio.
You turn text into speech using deep learning.
This allows you to create applications that will talk.

What Amazon Polly can do

It can use Lexicon and SSML.

Lexicon is to customize the pronunciation of words with Pronunciation lexicons.
For example, if there is a stylized word such as Ayad but the "A" is a "3", the Amazon Polly image might say "3yad" which is not how it should be pronounced; it should be pronounced "Ayad", and you can create a lexicon for this.

Or for example, for acronyms, for example, any time it sees AWS, instead of saying "A-W-S" it should say the full "Amazon Web Services."
So then you upload the lexicons and you use them in the Synthesize Speech operation.

The second feature you need to know about is the SSML feature, which is called Speech Synthesis Markup Language, and this enables more customization to how speech is made.
So you can, for example, emphasize on specific words or phrases, or you use phonetic pronunciation, or you want to include breathing sounds or whispering, or you want to use the Newscaster speaking style.

So all of it can be used using this Markup Language, and so instead of generating the speech from plain text you can include a whisper and it will start whispering, and so on, okay?

So, remember, for pronunciation of stylized words or acronyms, use Pronunciation lexicons, and for more customization on how words are being pronounced, for example, whispering or phonetic pronunciation, and so on, then use the SSML Markup Language.

GitHub
LinkedIn
Facebook
Medium

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay