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-03-21 UTC."],[[["This document provides reference information for the `TranscriptNormalization` class within the Google Cloud Speech-to-Text v2 API."],["`TranscriptNormalization` allows for automated replacement of parts of a transcript with user-defined phrases, applicable to stable partial and final transcripts in `StreamingRecognize`."],["The `TranscriptNormalization` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, extending functionality beyond basic object behaviors."],["The class has two constructors: a default one and another that takes a `TranscriptNormalization` object as a parameter for copying, and contains a property, `Entries`, that is a list of `Entry` objects, allowing up to 100 replacement mappings."],["The available versions for the `TranscriptNormalization` class range from 1.0.0 to 1.4.0, with 1.4.0 being the latest version."]]],[]]