Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SrgsDocument.PhoneticAlphabet Property

Gets or sets the phonetic alphabet of the SrgsDocument class.

Namespace:  Microsoft.Speech.Recognition.SrgsGrammar
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Property PhoneticAlphabet As SrgsPhoneticAlphabet
    Get
    Set
'Usage
Dim instance As SrgsDocument
Dim value As SrgsPhoneticAlphabet

value = instance.PhoneticAlphabet

instance.PhoneticAlphabet = value
public SrgsPhoneticAlphabet PhoneticAlphabet { get; set; }

Property Value

Type: Microsoft.Speech.Recognition.SrgsGrammar.SrgsPhoneticAlphabet
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 the Microsoft Speech Platform SDK 11, 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 (Microsoft.Speech) for more information.

See Also

Reference

SrgsDocument Class

SrgsDocument Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace