Class SpeechContext (2.3.3)

Stay organized with collections Save and categorize content based on your preferences.
SpeechContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Provides "hints" to the speech recognizer to favor specific words and phrases in the results.


phrases Sequence[str]
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


builtins.object > proto.message.Message > SpeechContext