Cloud Text-to-Speech V1 API - Module Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding (v1.8.1)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API module Google::Cloud::TextToSpeech::V1::CustomPronunciationParams::PhoneticEncoding.

The phonetic encoding of the phrase.

Constants

PHONETIC_ENCODING_UNSPECIFIED

value: 0
Not specified.

PHONETIC_ENCODING_IPA

value: 1
IPA, such as apple -> ˈæpəl. https://en.wikipedia.org/wiki/International_Phonetic_Alphabet

PHONETIC_ENCODING_X_SAMPA

value: 2
X-SAMPA, such as apple -> "{p@l". https://en.wikipedia.org/wiki/X-SAMPA