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 page provides reference documentation for the \u003ccode\u003eTranscriptNormalization\u003c/code\u003e class within the Cloud Speech-to-Text v2 API, specifically for version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranscriptNormalization\u003c/code\u003e allows you to configure automatic replacement of specific phrases in speech transcripts, enhancing the accuracy of your output.\u003c/p\u003e\n"],["\u003cp\u003eThis class can only apply normalization to stable partial transcripts (stability > 0.8) and final transcripts during StreamingRecognize operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTranscriptNormalization\u003c/code\u003e includes a \u003ccode\u003eRepeatedField\u003c/code\u003e property called \u003ccode\u003eEntries\u003c/code\u003e, which takes an ordered list of up to 100 replacement entries to be used for normalization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranscriptNormalization\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements the following interfaces: \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,[]]