ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 82 - MLS-C01 discussion

Report
Export

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
Answers
A.
Convert current documents to SSML with pronunciation tags
B.
Create an appropriate pronunciation lexicon.
Answers
B.
Create an appropriate pronunciation lexicon.
C.
Output speech marks to guide in pronunciation
Answers
C.
Output speech marks to guide in pronunciation
D.
Use Amazon Lex to preprocess the text files for pronunciation
Answers
D.
Use Amazon Lex to preprocess the text files for pronunciation
Suggested 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> World Wide Web Consortium </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>

References:

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.

asked 16/09/2024
Firew Abebe
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first