swirec_max_training_grammar_size

Limits the CPU and memory cost of SLMs trained at run-time.

Value

Integer greater than 0 representing the maximum allowed size (in bytes) or -1.

Default

-1 (unlimited)

How to set

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

Usage

Occasionally used to limit the cost of training SLMs during run-time operation.

This parameter limits the CPU and memory cost of Statistical Language Models (SLMs) that are trained during runtime operation as part of grammar compilation (instead of being trained before compilation). Otherwise, large training sets can put too much load on the system, and slow the response time for users.

Related parameter