Platform SDK: Web Telephony Engine

SRMode.Features Property

The Features property retrieves a set of flags that indicate the available SR features.

Syntax

[ lFeatures = ] SRMode.Features

Possible Values

lFeatures
Integer containing the set of feature flags, which can be a combination of these values:
SRFEATURE_ANYWORD
The engine can attempt to recognize any word.
SRFEATURE_FIXEDAUDIO
The audio source for the device is fixed, so an audio source object is not needed for the SELECT attribute. If an audio source is passed in, it will be ignored. Hardware devices, such as an external recognizer box, will support this.
SRFEATURE_GRAMLINK
The engine supports automatic links between grammars.
SRFEATURE_GRAMLIST
The grammars support recognition lists.
SRFEATURE_GRAMRECURSIVE
The engine accepts recursive, context-free grammars; otherwise, it cannot have recursive grammars.
SRFEATURE_INDEPMICROPHONE
The engine is microphone-independent (indifferent to background noise and a microphone) and does not require retraining if the microphone changes.
SRFEATURE_INDEPSPEAKER
The engine is speaker-independent and works well without training.
SRFEATURE_IPAUNICODE
The engine supports the International Phonetic Alphabet (IPA) in Unicode.
SRFEATURE_IPAWORD
Words can contain IPA pronunciations.
SRFEATURE_MULTILINGUAL
The engine can recognize speech in several languages at one time. This is necessary for systems that run two or more applications written for different languages.
SRFEATURE_PCOPTIMIZED
The voice is optimized to work over the PC.
SRFEATURE_PHONEOPTIMIZED
The voice is designed to work over the telephone and uses an 8-kilohertz (kHz) sampling rate.
SRFEATURE_SAPI4
Denotes that the engine is SAPI 4.0a-compliant. SAPI 4.0a-compliant means that WTE supports all the required interfaces defined in this document and can pass the SRFUNC test included in the SAPI documentation.
SRFEATURE_SINGLEINSTANCE
The engine is single instance, and so only one mode object can exist at one time. TTS engines that are .exe servers use this.
SRFEATURE_THREADSAFE
The engine is completely thread safe, and can be called from any thread.
SRFEATURE_TRAINPHONETIC
The speaker can train the engine on a preselected set of words and thereby train all the phonemes used for recognition. This is done in general training.
SRFEATURE_TRAINWORD
The speaker can train the engine on individual words.
SRFEATURE_WILDCARD
The engine supports wildcard characters in context-free grammars.

This property is read-only.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

SRMode