Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet.
A biasing phrase set, which can be either a string referencing the name of an existing phrase set resource, or an inline definition of a phrase set.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#inline_phrase_set
def inline_phrase_set() -> ::Google::Cloud::Speech::V2::PhraseSet
Returns
- (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined phrase set.
#inline_phrase_set=
def inline_phrase_set=(value) -> ::Google::Cloud::Speech::V2::PhraseSet
Parameter
- value (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined phrase set.
Returns
- (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined phrase set.
#phrase_set
def phrase_set() -> ::String
Returns
- (::String) — The name of an existing phrase set resource. The user must have read access to the resource and it must not be deleted.
#phrase_set=
def phrase_set=(value) -> ::String
Parameter
- value (::String) — The name of an existing phrase set resource. The user must have read access to the resource and it must not be deleted.
Returns
- (::String) — The name of an existing phrase set resource. The user must have read access to the resource and it must not be deleted.