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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#alphabetString

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

Returns:

  • (String)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end

#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.

Returns:

  • (String)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end

#last_modifiedTime

Date lexicon was last modified (a timestamp value).

Returns:

  • (Time)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end

#lexemes_countInteger

Number of lexemes in the lexicon.

Returns:

  • (Integer)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end

#lexicon_arnString

Amazon Resource Name (ARN) of the lexicon.

Returns:

  • (String)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end

#sizeInteger

Total size of the lexicon, in characters.

Returns:

  • (Integer)


180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 180

class LexiconAttributes < Struct.new(
  :alphabet,
  :language_code,
  :last_modified,
  :lexicon_arn,
  :lexemes_count,
  :size)
  include Aws::Structure
end