RecognizedPhrase.Words 屬性

定義

取得語音辨識器從已辨識輸入產生的單字。

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

屬性值

語音辨識器針對已辨識輸入所產生之 RecognizedWordUnit 物件的集合。

備註

這個屬性包含語音辨識器在結果的語音辨識器語音轉換文字正規化之前,從輸入產生的字組。

例如,口語輸入 「25 元」會產生辨識結果,其中 Words 屬性包含 「20」、「five」 和 「dollars」 這兩個字,而 Text 屬性則包含片語 「$25.00」。 如需文字正規化的詳細資訊,請參閱 ReplacementText

適用於

另請參閱