Skip to content

Get Lexicon

polly_get_lexicon R Documentation

Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region

Description

Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Usage

polly_get_lexicon(Name)

Arguments

Name

[required] Name of the lexicon.

Value

A list with the following syntax:

list(
  Lexicon = list(
    Content = "string",
    Name = "string"
  ),
  LexiconAttributes = list(
    Alphabet = "string",
    LanguageCode = "arb"|"cmn-CN"|"cy-GB"|"da-DK"|"de-DE"|"en-AU"|"en-GB"|"en-GB-WLS"|"en-IN"|"en-US"|"es-ES"|"es-MX"|"es-US"|"fr-CA"|"fr-FR"|"is-IS"|"it-IT"|"ja-JP"|"hi-IN"|"ko-KR"|"nb-NO"|"nl-NL"|"pl-PL"|"pt-BR"|"pt-PT"|"ro-RO"|"ru-RU"|"sv-SE"|"tr-TR"|"en-NZ"|"en-ZA"|"ca-ES"|"de-AT"|"yue-CN"|"ar-AE"|"fi-FI"|"en-IE"|"nl-BE"|"fr-BE"|"cs-CZ"|"de-CH",
    LastModified = as.POSIXct(
      "2015-01-01"
    ),
    LexiconArn = "string",
    LexemesCount = 123,
    Size = 123
  )
)

Request syntax

svc$get_lexicon(
  Name = "string"
)

Examples

## Not run: 
# Returns the content of the specified pronunciation lexicon stored in an
# AWS Region.
svc$get_lexicon(
  Name = ""
)

## End(Not run)