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 documentation is for the `TranscriptNormalization` class within the Google Cloud Speech-to-Text v2 API, specifically version 1.3.0, with version 1.4.0 being the latest available."],["`TranscriptNormalization` allows for the automatic replacement of specific phrases in speech transcripts, enhancing the output's accuracy and readability."],["It can only be used for stable partial transcripts (stability \u003e 0.8) and final transcripts in the `StreamingRecognize` method."],["The `TranscriptNormalization` class has two constructors, and features a property called `Entries` which is used to input a list of replacement entries, limited to 100 entries at most."],["`TranscriptNormalization` implements multiple interfaces, including `IMessage`, `IEquatable`, and `IDeepCloneable`, and inherits from `object`."]]],[]]