You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Polly::Types::LexiconAttributes

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#alphabetString

Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

Returns:

  • (String)

    Phonetic alphabet used in the lexicon.

#language_codeString

Language code that the lexicon applies to. A lexicon with a language code such as \"en\" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

Possible values:

  • 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

Returns:

  • (String)

    Language code that the lexicon applies to.

#last_modifiedTime

Date lexicon was last modified (a timestamp value).

Returns:

  • (Time)

    Date lexicon was last modified (a timestamp value).

#lexemes_countInteger

Number of lexemes in the lexicon.

Returns:

  • (Integer)

    Number of lexemes in the lexicon.

#lexicon_arnString

Amazon Resource Name (ARN) of the lexicon.

Returns:

  • (String)

    Amazon Resource Name (ARN) of the lexicon.

#sizeInteger

Total size of the lexicon, in characters.

Returns:

  • (Integer)

    Total size of the lexicon, in characters.