Class: AzureSTT::Models::RecognizedPhrase

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

Overview

Model class to store a recognized phrase from the results file

Instance Attribute Summary collapse

Instance Attribute Details

#channelTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


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

attribute :channel, Types::Coercible::Integer

#durationTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


45
# File 'lib/azure_stt/models/recognized_phrase.rb', line 45

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

#duration_in_ticksTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


59
# File 'lib/azure_stt/models/recognized_phrase.rb', line 59

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

#n_bestTypes::Array.of(Sentence) (readonly)

Returns:



67
# File 'lib/azure_stt/models/recognized_phrase.rb', line 67

attribute :n_best, Types::Array.of(Sentence).default([].freeze)

#offsetTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


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

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

#offset_in_ticksTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


52
# File 'lib/azure_stt/models/recognized_phrase.rb', line 52

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

#recognition_statusTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


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

attribute :recognition_status, Types::Coercible::String

#speakerTypes::Coercible::Integer (readonly)

Returns:

  • (Types::Coercible::Integer)


29
# File 'lib/azure_stt/models/recognized_phrase.rb', line 29

attribute? :speaker, Types::Coercible::Integer