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)



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

attribute :confidence, Types::Coercible::Float

#itnTypes::Coercible::String (readonly)



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

attribute :itn, Types::Coercible::String

#lexicalTypes::Coercible::String (readonly)



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

attribute :lexical, Types::Coercible::String

#masked_itnTypes::Coercible::String (readonly)



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

attribute :masked_itn, Types::Coercible::String

#transcriptTypes::Coercible::String (readonly)



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

attribute :transcript, Types::Coercible::String

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



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

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