CustomPronunciationParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Pronunciation customization for a phrase.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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.