Class TranscriptNormalization (2.13.1)

TranscriptNormalization(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attribute

NameDescription
entries Sequence[google.cloud.speech_v1p1beta1.types.TranscriptNormalization.Entry]
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.

Classes

Entry

Entry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single replacement configuration.