語言

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 。

備註

此特性包含語音識別器在語音轉文字正規化前,從輸入產生的詞彙。

例如,口語輸入「twenty five dolls」會產生一個識別結果,其中 Words 屬性包含「twenty」、「five」和「dollars」這些詞,屬性 Text 則包含「$25.00」這幾個詞。 欲了解更多關於文字正規化的資訊,請參見 ReplacementText。

適用於

另請參閱