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 a mechanism for enhancing speech recognition accuracy by suggesting specific words and phrases.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechAdaptation\u003c/code\u003e can include \u003ccode\u003ePhraseSets\u003c/code\u003e, which may be defined inline or referenced from existing resources.\u003c/p\u003e\n"],["\u003cp\u003eThe class also supports \u003ccode\u003eCustomClasses\u003c/code\u003e which are defined inline and can be used by the \u003ccode\u003ePhraseSets\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechAdaptation\u003c/code\u003e implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is available across multiple versions, with \u003ccode\u003e1.4.0\u003c/code\u003e being the most recent and \u003ccode\u003e1.0.0\u003c/code\u003e being the initial release.\u003c/p\u003e\n"]]],[],null,[]]