swirec_lock_preload_grammars

Keeps preloaded grammars in the memory cache.

Value

Boolean. Use 0 to allow flushing of preloaded grammars from the memory cache. Use 1 to prevent flushing.

Default

0 (flushing allowed)

How to set

Shown in precedence order (see Rules of parameter precedence):

Set in the browser, using the Vendor-Specific-Parameters header in a RECOGNIZE or SET-PARAMS method.

In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml).

Usage

Applications can preload grammars to ensure they are available without delay when needed. The system initially adds these grammars to the memory cache, but removes them periodically if they remain un-used. This parameter forces the system to keep the grammars in memory.

To preload a grammar, see swirec_preload_file.