Class: AzureSTT::Models::Word

Inherits:
Base
  • Object
show all
Defined in:
lib/azure_stt/models/word.rb

Overview

Model for a word. A word is optional in a sentence

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceTypes::Coercible::Float (readonly)

Returns:

  • (Types::Coercible::Float)


51
# File 'lib/azure_stt/models/word.rb', line 51

attribute :confidence, Types::Coercible::Float

#durationTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


30
# File 'lib/azure_stt/models/word.rb', line 30

attribute? :duration, Types::Coercible::String

#duration_in_ticksTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


44
# File 'lib/azure_stt/models/word.rb', line 44

attribute? :duration_in_ticks, Types::Coercible::Integer

#offsetTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


22
# File 'lib/azure_stt/models/word.rb', line 22

attribute? :offset, Types::Coercible::String

#offset_in_ticksTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


37
# File 'lib/azure_stt/models/word.rb', line 37

attribute? :offset_in_ticks, Types::Coercible::Integer

#wordTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


14
# File 'lib/azure_stt/models/word.rb', line 14

attribute :word, Types::Coercible::String