Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

EmulateOptions Enumeration

Specifies the type of recognition operation that is performed by EmulateRecognize() and EmulateRecognizeAsync() methods that take this object as a parameter.

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

Syntax

'Declaration
Public Enumeration EmulateOptions
'Usage
Dim instance As EmulateOptions
public enum EmulateOptions

Members

Member name Description
Emulation For EmulateRecognize() and EmulateRecognizeAsync() methods that take this object as a parameter, specifies that the method performs emulation.
Simulation For EmulateRecognize() and EmulateRecognizeAsync() methods that take this object as a parameter, specifies that the method performs simulation.
IdentifyConfusion For EmulateRecognize() and EmulateRecognizeAsync() methods that take this object as a parameter, specifies that the method performs confusability analysis.

Remarks

Using this object, you can specify three types of recognition operations:

  • Emulation. Uses text instead of audio as input to the speech recognition engine to perform recognition. You can use emulation to determine whether a word is in a grammar and what semantics are returned when the word is recognized.

  • IdentifyConfusion. Identifies phrases in a grammar that may generate false acceptances on recognition because of similarity to other phrases in the grammar.

  • Simulation. Creates an 'idealized' audio representation of the input phrase (based on the speech recognition engine's lexicon and acoustic model), and then performs recognition on the idealized audio. You can use Simulation to find out which pronunciation the speech recognition will use for an input phrase.

See Also

Reference

Microsoft.Speech.Recognition Namespace

EmulateRecognize()

EmulateRecognizeAsync()

Other Resources

Microsoft Grammar Development Tools