Class: Google::Cloud::Speech::V1p1beta1::StreamingRecognitionResult
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1p1beta1::StreamingRecognitionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb
Overview
A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
Instance Attribute Summary collapse
-
#alternatives ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionAlternative>
May contain one or more recognition hypotheses (up to the maximum specified in
max_alternatives). -
#channel_tag ⇒ ::Integer
For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel.
-
#is_final ⇒ ::Boolean
If
false, thisStreamingRecognitionResultrepresents an interim result that may change. -
#language_code ⇒ ::String
readonly
Output only.
-
#result_end_time ⇒ ::Google::Protobuf::Duration
Time offset of the end of this result relative to the beginning of the audio.
-
#stability ⇒ ::Float
An estimate of the likelihood that the recognizer will not change its guess about this interim result.
Instance Attribute Details
#alternatives ⇒ ::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionAlternative>
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#channel_tag ⇒ ::Integer
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_final ⇒ ::Boolean
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String (readonly)
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#result_end_time ⇒ ::Google::Protobuf::Duration
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#stability ⇒ ::Float
909 910 911 912 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 909 class StreamingRecognitionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |