Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::SpeechAdaptation (v0.3.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::SpeechAdaptation.

Provides "hints" to the speech recognizer to favor specific words and phrases in the results. PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_classes

def custom_classes() -> ::Array<::Google::Cloud::Speech::V2::CustomClass>
Returns

#custom_classes=

def custom_classes=(value) -> ::Array<::Google::Cloud::Speech::V2::CustomClass>
Parameter
Returns

#phrase_sets

def phrase_sets() -> ::Array<::Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet>
Returns

#phrase_sets=

def phrase_sets=(value) -> ::Array<::Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet>
Parameter
Returns