SrgsDocument.PhoneticAlphabet 属性
定义
获取或设置 SrgsDocument 类的注音字母表。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
属性值
返回必须用于在 SrgsToken 对象中指定自定义发音的语音字母表。Returns the phonetic alphabet that must be used to specify custom pronunciations in the SrgsToken object.
注解
拼音字母由电话组成,这些电话包括字母、数字或字符,有时也会组合在一起。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. 想像一下单词“candy”和“cease”中字母“c”的不同发音,或者字母组合“th”在单词“thing”和“those”中的不同发音。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".
在 IPA 中,可以使用三种拼音字母表中的任意一种来指定自定义发音:国际电话字母表 (") "、"通用"、" (通用"、") " 或 "SAPI" 电话集。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. 指定的拼音字母表确定将使用哪一电话号码来定义对象的内嵌发音 SrgsToken 。The specified phonetic alphabet determines which phone set will be used to define inline pronunciations for SrgsToken objects. 中指定的电话 Pronunciation 必须与中指定的拼音字母匹配 PhoneticAlphabet 。The phones specified in Pronunciation must match the phonetic alphabet specified in PhoneticAlphabet.
有关详细信息,请参阅 词典和拼音字母表 。See Lexicons and Phonetic Alphabets for more information.