swirec_enable_robust_compile
Ignores missing pronunciations during grammar compilation.
Value |
Boolean DEFAULT: 0 (disabled) |
How to set |
Shown in precedence order (see Rules of parameter precedence): In a grammar using a <meta> tag. In the application's session xml in the <speechrecog> section of <speechserver> under <sessionparameters>. In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml). |
Usage |
Useful for applications that automatically generate grammars (for example, generating grammars at runtime from data in a database). This parameter is not useful for hand-written grammars. |
Performance |
Enabling this parameter avoids runtime failures due to nonsense words in grammars. Disabling this parameter helps to detect nonsense words during application development. |
This parameter enables grammar compilation when Recognizer cannot produce a pronunciation for a word in the grammar (the word is not found in a dictionary and an automatic pronunciation cannot be generated). By default, Recognizer aborts compilations when this occurs.
The primary use of this parameter is for grammars that are automatically generated by the application (for example, a list of words built from a database). The parameters allows applications to ignore the nonsense entries because the recognizer will compile the grammar as if the word were a ruleref to VOID (the grammar contains no internal search paths containing the nonsense word).
This parameter is not particularly useful for other kinds of grammars. For details on wordlist grammars, see Wordlist (directory-assistance) grammars.