RecognizedPhrase.Homophones Property

Returns a collection of homophones for the current recognized phrase.

Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)



Property Value

Returns a ReadOnlyCollection of RecognizedPhrase instances, each of which is a potential homophone for the current RecognizedPhrase.


The code fragment and utility method shown below display the Text property of the RecognizedPhrase instances returned by the Homophones property to a ListControl on a user interface.

Utils.DisplayDataOnListBox(_recognizedPhraseHomophonesListBox, _recognizedPhrase.Homophones, "Text");

// Updates alternates list with alternates of the result.
internal static void DisplayDataOnListBox(ListControl list, object dataSource, string displayMember) {

            list.DataSource = dataSource; //result.Alternates;
            list.DisplayMember = displayMember; //"Text";


Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also


RecognizedPhrase Class
RecognizedPhrase Members
Microsoft.Speech.Recognition Namespace