Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::CustomPronunciationParams.
Pronunciation customization for a phrase.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#phonetic_encoding
def phonetic_encoding() -> ::Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding
    Returns
    
  - (::Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding) — The phonetic encoding of the phrase.
#phonetic_encoding=
def phonetic_encoding=(value) -> ::Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding
    Parameter
    
  - value (::Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding) — The phonetic encoding of the phrase.
    Returns
    
  - (::Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding) — The phonetic encoding of the phrase.
#phrase
def phrase() -> ::String
    Returns
    
  - (::String) — The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
#phrase=
def phrase=(value) -> ::String
    Parameter
    
  - value (::String) — The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
    Returns
    
  - (::String) — The phrase to which the customization is applied. The phrase can be multiple words, such as proper nouns, but shouldn't span the length of the sentence.
#pronunciation
def pronunciation() -> ::String
    Returns
    
  - (::String) — The pronunciation of the phrase. This must be in the phonetic encoding specified above.
#pronunciation=
def pronunciation=(value) -> ::String
    Parameter
    
  - value (::String) — The pronunciation of the phrase. This must be in the phonetic encoding specified above.
    Returns
    
- (::String) — The pronunciation of the phrase. This must be in the phonetic encoding specified above.