RecognizedPhrase.ReplacementWordUnits 屬性

定義

取得在語音轉文字正規化過程中,語音辨識器變更之文字的相關資訊。

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

屬性值

ReplacementText 物件的集合,這些物件描述語音辨識器在將已辨識的輸入正規化時,所取代的文字區段。

備註

在語音辨識程式中,語音辨識器會將辨識的輸入正規化為顯示表單。

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

適用於

另請參閱