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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This page provides reference documentation for the `TranscriptNormalization` class within the Cloud Speech-to-Text v2 API, specifically for version 1.2.0."],["`TranscriptNormalization` allows you to configure automatic replacement of specific phrases in speech transcripts, enhancing the accuracy of your output."],["This class can only apply normalization to stable partial transcripts (stability \u003e 0.8) and final transcripts during StreamingRecognize operations."],["The class `TranscriptNormalization` includes a `RepeatedField` property called `Entries`, which takes an ordered list of up to 100 replacement entries to be used for normalization."],["The `TranscriptNormalization` class inherits from `object` and implements the following interfaces: `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]