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 improve accuracy by favoring specific words and phrases.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechAdaptation\u003c/code\u003e can be achieved by using either inline resources or references to existing \u003ccode\u003ePhraseSet\u003c/code\u003e resources.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes \u003ccode\u003eCustomClasses\u003c/code\u003e which is a list of inline custom classes and can be referenced within a \u003ccode\u003ePhraseSet\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePhraseSets\u003c/code\u003e are a list of inline or referenced sets of phrases used to improve the speech recognition results.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eSpeechAdaptation\u003c/code\u003e class is within the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace and 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,[]]