Cloud Speech-to-Text v2 API - Class TranscriptNormalization (1.1.0)

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.

Inheritance

object > TranscriptNormalization

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

TranscriptNormalization()

public TranscriptNormalization()

TranscriptNormalization(TranscriptNormalization)

public TranscriptNormalization(TranscriptNormalization other)
Parameter
Name Description
other TranscriptNormalization

Properties

Entries

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.

Property Value
Type Description
RepeatedFieldTranscriptNormalizationTypesEntry