swirec_training_grammar

Specifies an SLM training set.

Value

A file name

Default

(empty)

How to set

In a grammar using a <meta> tag. See the text on compilation-time parameters in Parameters set in grammar files.

Usage

Required for SLMs.

Performance

When the grammar contains this <meta> tag, the SLM is trained every time the grammar is compiled.

This parameter trains a Statistical Language Model (SLM) during grammar compilation by specifying an SLM training set within the grammar. For details, see SLMs.

For example:

<meta name="swirec_training_grammar" content="myTraining.xml"/>

Related parameter