RecognizedPhrase::Words Property

 

Gets the words generated by a speech recognizer from recognized input.

Namespace:   System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public:
property ReadOnlyCollection<RecognizedWordUnit^>^ Words {
	ReadOnlyCollection<RecognizedWordUnit^>^ get();
}

Property Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<RecognizedWordUnit^>^

The collection of RecognizedWordUnit objects generated by a speech recognizer for recognized input.

This property contains the words produced from the input by the speech recognizer prior to the recognizer's speech-to-text normalization of the result.

For example, the spoken input, "twenty five dollars", generates a recognition result where the Words property contains the words, "twenty", "five", and "dollars", and the Text property contains the phrase, "$25.00". For more information about text normalization, see ReplacementText.

.NET Framework
Available since 3.0
Return to top
Show: