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.
(::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.
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.
Returns
(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::TranscriptNormalization (v0.25.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.25.0 (latest)](/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.24.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.24.1/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.23.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.23.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.22.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.22.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.21.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.21.1/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.20.2](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.20.2/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.19.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.19.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.18.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.18.1/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.17.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.17.1/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.16.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.15.3](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.15.3/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.14.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.13.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.13.0/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization)\n- [0.12.4](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.12.4/Google-Cloud-Speech-V1p1beta1-TranscriptNormalization) \nReference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::TranscriptNormalization.\n\nTranscription normalization configuration. Use transcription normalization\nto automatically replace parts of the transcript with phrases of your\nchoosing. For StreamingRecognize, this normalization only applies to stable\npartial transcripts (stability \\\u003e 0.8) and final transcripts. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #entries\n\n def entries() -\u003e ::Array\u003c::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry](./Google-Cloud-Speech-V1p1beta1-TranscriptNormalization-Entry)\\\u003e) --- A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in \\[\"cat\" =\\\u003e \"dog\", \"mountain cat\" =\\\u003e \"mountain dog\"\\] will never be applied because we will always process the first entry before it. At most 100 entries.\n\n### #entries=\n\n def entries=(value) -\u003e ::Array\u003c::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry](./Google-Cloud-Speech-V1p1beta1-TranscriptNormalization-Entry)\\\u003e) --- A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in \\[\"cat\" =\\\u003e \"dog\", \"mountain cat\" =\\\u003e \"mountain dog\"\\] will never be applied because we will always process the first entry before it. At most 100 entries. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry](./Google-Cloud-Speech-V1p1beta1-TranscriptNormalization-Entry)\\\u003e) --- A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in \\[\"cat\" =\\\u003e \"dog\", \"mountain cat\" =\\\u003e \"mountain dog\"\\] will never be applied because we will always process the first entry before it. At most 100 entries."]]