Deli z drugimi prek


SrgsDocument.PhoneticAlphabet Property

Definition

Gets or sets the phonetic alphabet of the SrgsDocument class.

public:
 property System::Speech::Recognition::SrgsGrammar::SrgsPhoneticAlphabet PhoneticAlphabet { System::Speech::Recognition::SrgsGrammar::SrgsPhoneticAlphabet get(); void set(System::Speech::Recognition::SrgsGrammar::SrgsPhoneticAlphabet value); };
public System.Speech.Recognition.SrgsGrammar.SrgsPhoneticAlphabet PhoneticAlphabet { get; set; }
member this.PhoneticAlphabet : System.Speech.Recognition.SrgsGrammar.SrgsPhoneticAlphabet with get, set
Public Property PhoneticAlphabet As SrgsPhoneticAlphabet

Property Value

Returns the phonetic alphabet that must be used to specify custom pronunciations in the SrgsToken object.

Remarks

Phonetic alphabets are composed of phones, which consist of letters, numbers or characters, sometimes in combination. Each phone describes a unique sound of speech. This is in contrast to the Latin alphabet, for which any letter may represent multiple spoken sounds. Consider the different pronunciations of the letter "c" in the words "candy" and "cease", or the different pronunciations of the letter combination "th" in the words "thing" and "those".

In System.Speech, you can use any of three phonetic alphabets to specify custom pronunciations: International Phone Alphabet (IPA), Universal Phone Set (UPS), or the SAPI phone set. The specified phonetic alphabet determines which phone set will be used to define inline pronunciations for SrgsToken objects. The phones specified in Pronunciation must match the phonetic alphabet specified in PhoneticAlphabet.

See Lexicons and Phonetic Alphabets for more information.

Applies to