DetailedSpeechRecognitionResult Class

Definition

Contains recognition details including confidence score, recognized text, raw lexical form, normalized form, and normalized form with masked profanity. Changed in 1.7.0

[System.Runtime.Serialization.DataContract]
public sealed class DetailedSpeechRecognitionResult
[<System.Runtime.Serialization.DataContract>]
type DetailedSpeechRecognitionResult = class
Public NotInheritable Class DetailedSpeechRecognitionResult
Inheritance
DetailedSpeechRecognitionResult
Attributes

Remarks

The following example shows differences between display forms:

* Text: Can we meet at 2:40 PM today? * LexicalForm: can we meet at two forty pm today * NormalizedForm: can we meet at 2:40 PM today

Properties

Confidence

Confidence of recognition, from 0.0 (no confidence) to 1.0 (full confidence)

DisplayWords

Word level timing result list for the DisplayText. Added in 1.24.0

LexicalForm

Raw lexical form of recognized text (the actual words recognized)

MaskedNormalizedForm

Normalized form with profanity masked

NormalizedForm

Inverse-text-normalized ("canonical") form of the recognized text, with phone numbers, numbers, abbreviations ("doctor smith" to "dr smith"), and other transformations applied

Text

Recognized text.

Words

Word level timing result list. Added in 1.7.0

Applies to