Partager via


ISpRecognizerLite

4/8/2010

This interface is the light speech API (SAPI), which handles the voice recognition functionality of the phone. It is a very simple, yet lightweight, wrapper for a speech recognition engine.

Method Description

ISpRecognizerLite::Abort

Can be called on a different thread, and will immediately abort any action being processed on the other thread.

ISpRecognizerLite::Delete

Removes a speech sample from the system.

ISpRecognizerLite::DeleteAll

Removes all of the speech samples from the system for a given recognition method.

ISpRecognizerLite::EnableItem

Allows the recognition of patterns to be enabled or disabled.

ISpRecognizerLite::EnumItems

Provides a means by which a client gets a list of words that are currently recognized by the system.

ISpRecognizerLite::GetProperty

Gets some miscellaneous engine setting or engine information.

ISpRecognizerLite::GetVoiceInfo

Obtains information about the voice samples that are specified by the psth parameter.

ISpRecognizerLite::Initialize

Prepares the engine for usage.

ISpRecognizerLite::Playback

Plays back the associated voice sample to the user.

ISpRecognizerLite::Recognize

Accepts a spoken word, attempts to match that word against a library of defined words, and then returns the corresponding action to take.

ISpRecognizerLite::ReTrain

Prompts the user to re-enter a speech sample.

ISpRecognizerLite::SetProperty

Sets some miscellaneous engine setting or engine information.

ISpRecognizerLite::Train

Starts the engine to begin training.

See Also

Concepts

SAPI-Lite Reference