Прочетете на английски Редактиране

Споделяне чрез


RecognizedPhrase.Homophones Property

Definition

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

C#
public System.Collections.ObjectModel.ReadOnlyCollection<System.Speech.Recognition.RecognizedPhrase> Homophones { get; }

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

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

See also