How should a Machine Learning Specialist address this issue for future documents?

A company is using Amazon Polly to translate plaintext documents to speech for automated company announcements However company acronyms are being mispronounced in the current documents.

How should a Machine Learning Specialist address this issue for future documents?
A . Convert current documents to SSML with pronunciation tags
B . Create an appropriate pronunciation lexicon.
C . Output speech marks to guide in pronunciation
D . Use Amazon Lex to preprocess the text files for pronunciation

Answer: B

Explanation:

A pronunciation lexicon is a file that defines how words or phrases should be pronounced by Amazon Polly. A lexicon can help customize the speech output for words that are uncommon, foreign, or have multiple pronunciations. A lexicon must conform to the Pronunciation Lexicon Specification (PLS) standard and can be stored in an AWS region using the Amazon Polly API. To use a lexicon for synthesizing speech, the lexicon name must be specified in the <speak> SSML tag.

For example, the following lexicon defines how to pronounce the acronym W3C:

<lexicon version=“1.0” xmlns=“http://www.w3.org/2005/01/pronunciation-lexicon” alphabet=“ipa” xml:lang=“en-US”> <lexeme> <grapheme>W3C</grapheme> <alias>World Wide Web Consortium</alias> </lexeme> </lexicon>

To use this lexicon, the text input must include the following SSML tag:

<speak version=“1.1” xmlns=“http://www.w3.org/2001/10/synthesis” xml:lang=“en-US”> <voice

name=“Joanna”> <lexicon name=“w3c_lexicon”/> The <say-as interpret-as=“characters”>W3C</say-

as> is an international community that develops open standards to ensure the long-term growth of

the Web. </voice> </speak>

Reference: Customize pronunciation using lexicons in Amazon Polly: A blog post that explains how to use lexicons for creating custom pronunciations.

Managing Lexicons: A documentation page that describes how to store and retrieve lexicons using the Amazon Polly API.

Latest MLS-C01 Dumps Valid Version with 104 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments