public sealed class TranscriptNormalization : IMessage<TranscriptNormalization>, IEquatable<TranscriptNormalization>, IDeepCloneable<TranscriptNormalization>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class TranscriptNormalization.
Transcription normalization configuration. Use transcription normalization
to automatically replace parts of the transcript with phrases of your
choosing. For StreamingRecognize, this normalization only applies to stable
partial transcripts (stability > 0.8) and final transcripts.
public RepeatedField<TranscriptNormalization.Types.Entry> Entries { get; }
A list of replacement entries. We will perform replacement with one entry
at a time. For example, the second entry in ["cat" => "dog", "mountain cat"
=> "mountain dog"] will never be applied because we will always process the
first entry before it. At most 100 entries.
[[["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\u003eThis documentation is for the \u003ccode\u003eTranscriptNormalization\u003c/code\u003e class within the Google Cloud Speech-to-Text v2 API, specifically version 1.3.0, with version 1.4.0 being the latest available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranscriptNormalization\u003c/code\u003e allows for the automatic replacement of specific phrases in speech transcripts, enhancing the output's accuracy and readability.\u003c/p\u003e\n"],["\u003cp\u003eIt can only be used for stable partial transcripts (stability > 0.8) and final transcripts in the \u003ccode\u003eStreamingRecognize\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranscriptNormalization\u003c/code\u003e class has two constructors, and features a property called \u003ccode\u003eEntries\u003c/code\u003e which is used to input a list of replacement entries, limited to 100 entries at most.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranscriptNormalization\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]