Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entries
def entries() -> ::Array<::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry>
- (::Array<::Google::Cloud::Speech::V1p1beta1::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.
#entries=
def entries=(value) -> ::Array<::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry>
- value (::Array<::Google::Cloud::Speech::V1p1beta1::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.
- (::Array<::Google::Cloud::Speech::V1p1beta1::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.