Class CustomPronunciationParams (2.20.0)

CustomPronunciationParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
phrase str
The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence. This field is a member of oneof_ _phrase.
phonetic_encoding google.cloud.texttospeech_v1.types.CustomPronunciationParams.PhoneticEncoding
The phonetic encoding of the phrase. This field is a member of oneof_ _phonetic_encoding.
pronunciation str
The pronunciation of the phrase. This must be in the phonetic encoding specified above. This field is a member of oneof_ _pronunciation.

Classes

PhoneticEncoding

PhoneticEncoding(value)

The phonetic encoding of the phrase.