Class: AzureSTT::Models::Sentence

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

Overview

Model to describe a sentence. A sentence is inside a nBest of a recognizedPhrase

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceTypes::Coercible::Float (readonly)

Returns:

  • (Types::Coercible::Float)


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

attribute :confidence, Types::Coercible::Float

#itnTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


28
# File 'lib/azure_stt/models/sentence.rb', line 28

attribute :itn, Types::Coercible::String

#lexicalTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


21
# File 'lib/azure_stt/models/sentence.rb', line 21

attribute :lexical, Types::Coercible::String

#masked_itnTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


35
# File 'lib/azure_stt/models/sentence.rb', line 35

attribute :masked_itn, Types::Coercible::String

#transcriptTypes::Coercible::String (readonly)

Returns:

  • (Types::Coercible::String)


43
# File 'lib/azure_stt/models/sentence.rb', line 43

attribute :transcript, Types::Coercible::String

#wordsTypes::Array.of(Word) (readonly)

Returns:

  • (Types::Array.of(Word))


50
# File 'lib/azure_stt/models/sentence.rb', line 50

attribute? :words, Types::Array.of(Word).default([].freeze)