Class: Google::Cloud::Speech::V1p1beta1::SpeechContext
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1p1beta1::SpeechContext
- Defined in:
- lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb
Overview
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
Instance Attribute Summary collapse
-
#phrases ⇒ Array<String>
Optional A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them.
Instance Attribute Details
#phrases ⇒ Array<String>
Returns Optional A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See usage limits.
413 |
# File 'lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 413 class SpeechContext; end |