Class: Google::Cloud::Speech::V1p1beta1::SpeechRecognitionAlternative
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1p1beta1::SpeechRecognitionAlternative
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb
Overview
Alternative hypotheses (a.k.a. n-best list).
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
The confidence estimate between 0.0 and 1.0.
-
#transcript ⇒ ::String
Transcript text representing the words that the user spoke.
-
#words ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::WordInfo>
A list of word-specific information for each recognized word.
Instance Attribute Details
#confidence ⇒ ::Float
961 962 963 964 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 961 class SpeechRecognitionAlternative include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transcript ⇒ ::String
961 962 963 964 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 961 class SpeechRecognitionAlternative include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#words ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::WordInfo>
961 962 963 964 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 961 class SpeechRecognitionAlternative include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |