swirec_first_pass_grammar
Specifies an n-gram grammar file that defines a Statistical Language Model (SLM).
Value |
A file URI |
Default |
(empty) |
How to set |
In a robust parsing grammar using a <meta> tag. See the text on compilation-time parameters in Parameters set in grammar files. |
Usage |
Occasionally used as an alternative to swirec_fsm_grammar for training a robust parsing grammar. |
For details and an example showing this parameter with a robust parsing grammar, see Syntax of robust parsing grammars.
A robust parsing grammar can refer to an n-gram during compilation. For example:
<meta name="swirec_first_pass_grammar" content="MyN-gram.xml"/>
Related parameter