Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RecognizedPhrase.HomophoneGroupId Property

Gets the identifier for the homophone group for the phrase.

Namespace:  System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public int HomophoneGroupId { get; }

Property Value

Type: System.Int32
The identifier for the homophone group for the phrase.

The speech recognizer assigns a group identifier to all recognition alternates that have the same pronunciation. For each alternate that has a unique pronunciation, the recognizer creates a homophone group. The speech recognizer generates new group of identifiers for each recognition operation, and the identifiers cannot be used to compare alternates from generated from separate recognition operations.

For example, for a recognition result that contained the alternates "the tale", "the tail", and "the ale", the first two alternates would belong to one homophone group, and the last alternate would be the single member of a second homophone group.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

© 2015 Microsoft