public sealed class CustomPronunciationParams : IMessage<CustomPronunciationParams>, IEquatable<CustomPronunciationParams>, IDeepCloneable<CustomPronunciationParams>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class CustomPronunciationParams.
Pronunciation customization for a phrase.
Implements
IMessageCustomPronunciationParams, IEquatableCustomPronunciationParams, IDeepCloneableCustomPronunciationParams, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Assembly
Google.Cloud.TextToSpeech.V1.dll
Constructors
CustomPronunciationParams()
public CustomPronunciationParams()
CustomPronunciationParams(CustomPronunciationParams)
public CustomPronunciationParams(CustomPronunciationParams other)
Parameter | |
---|---|
Name | Description |
other |
CustomPronunciationParams |
Properties
HasPhoneticEncoding
public bool HasPhoneticEncoding { get; }
Gets whether the "phonetic_encoding" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPhrase
public bool HasPhrase { get; }
Gets whether the "phrase" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPronunciation
public bool HasPronunciation { get; }
Gets whether the "pronunciation" field is set
Property Value | |
---|---|
Type | Description |
bool |
PhoneticEncoding
public CustomPronunciationParams.Types.PhoneticEncoding PhoneticEncoding { get; set; }
The phonetic encoding of the phrase.
Property Value | |
---|---|
Type | Description |
CustomPronunciationParamsTypesPhoneticEncoding |
Phrase
public string Phrase { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Pronunciation
public string Pronunciation { get; set; }
The pronunciation of the phrase. This must be in the phonetic encoding specified above.
Property Value | |
---|---|
Type | Description |
string |