class Google::Apis::SpeechV1p1beta1::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.

Attributes

entries[RW]

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. Corresponds to the JSON property `entries` @return [Array<Google::Apis::SpeechV1p1beta1::Entry>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/speech_v1p1beta1/classes.rb, line 1190
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/speech_v1p1beta1/classes.rb, line 1195
def update!(**args)
  @entries = args[:entries] if args.key?(:entries)
end