Dela via


RecognizedPhrase.Homophones Property

Definition

Gets a collection of the recognition alternates that have the same pronunciation as this recognized phrase.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Speech::Recognition::RecognizedPhrase ^> ^ Homophones { System::Collections::ObjectModel::ReadOnlyCollection<System::Speech::Recognition::RecognizedPhrase ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Speech.Recognition.RecognizedPhrase> Homophones { get; }
member this.Homophones : System.Collections.ObjectModel.ReadOnlyCollection<System.Speech.Recognition.RecognizedPhrase>
Public ReadOnly Property Homophones As ReadOnlyCollection(Of RecognizedPhrase)

Property Value

A read-only collection of the recognition alternates that have the same pronunciation as this recognized phrase.

Remarks

This property returns all other recognition alternates that have the same pronunciation as this recognized phrase.

For example, for a recognition result that contained the alternates, "the tale" and "the tail", the homophones collection for the first alternate, "the tale", would contain the second phrase, "the tail". The homophones collection for the second alternate, "the tail", would contain the first phrase, "the tale".

Applies to

See also