Class: Google::Cloud::Speech::V1::TranscriptNormalization

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1/resource.rb

Overview

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.

Defined Under Namespace

Classes: Entry

Instance Attribute Summary collapse

Instance Attribute Details

#entries::Array<::Google::Cloud::Speech::V1::TranscriptNormalization::Entry>



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# File 'proto_docs/google/cloud/speech/v1/resource.rb', line 163

class TranscriptNormalization
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A single replacement configuration.
  # @!attribute [rw] search
  #   @return [::String]
  #     What to replace. Max length is 100 characters.
  # @!attribute [rw] replace
  #   @return [::String]
  #     What to replace with. Max length is 100 characters.
  # @!attribute [rw] case_sensitive
  #   @return [::Boolean]
  #     Whether the search is case sensitive.
  class Entry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end