Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

polly_put_lexicon

Stores a pronunciation lexicon in an AWS Region


Description

Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.

For more information, see Managing Lexicons.

Usage

polly_put_lexicon(Name, Content)

Arguments

Name

[required] Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

Content

[required] Content of the PLS lexicon as string data.

Value

An empty list.

Request syntax

svc$put_lexicon(
  Name = "string",
  Content = "string"
)

Examples

## Not run: 
# Stores a pronunciation lexicon in an AWS Region.
svc$put_lexicon(
  Content = "file://example.pls",
  Name = "W3C"
)

## End(Not run)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.