GoogleApi.Speech.V1.Model.PhraseSet (google_api_speech v0.26.0) View Source
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
Attributes
-
boost
(type:number()
, default:nil
) - Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Thoughboost
can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case. Speech recognition will skip PhraseSets with a boost value of 0. -
name
(type:String.t
, default:nil
) - The resource name of the phrase set. -
phrases
(type:list(GoogleApi.Speech.V1.Model.Phrase.t)
, default:nil
) - A list of word and phrases.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Speech.V1.Model.PhraseSet{ boost: number() | nil, name: String.t() | nil, phrases: [GoogleApi.Speech.V1.Model.Phrase.t()] | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.