public sealed class SpeechAdaptation : IMessage<SpeechAdaptation>, IEquatable<SpeechAdaptation>, IDeepCloneable<SpeechAdaptation>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeechAdaptation.
Provides "hints" to the speech recognizer to favor specific words and phrases
in the results. PhraseSets can be specified as an inline resource, or a
reference to an existing PhraseSet resource.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSpeechAdaptation\u003c/code\u003e class in the Cloud Speech-to-Text v2 API provides hints to the speech recognizer to favor specific words and phrases.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechAdaptation\u003c/code\u003e can reference existing \u003ccode\u003ePhraseSet\u003c/code\u003e resources or use inline \u003ccode\u003ePhraseSets\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeechAdaptation\u003c/code\u003e class also includes the use of inline \u003ccode\u003eCustomClasses\u003c/code\u003e to enhance speech recognition, and can be found in the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe current version of the SpeechAdaptation documentation is 1.3.0, but the latest version is 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eSpeechAdaptation implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]