grammar

Preload Recognizer speech grammar when the session starts.

Value

Filepath or URI.

DEFAULT: (none)

How to set

In the application's session xml in the <speechrecog> section of <resourcehints>.

Usage

Rarely used.

Applicable for Nuance Recognizer. Not applicable for Dragon Voice recognition. For information on referencing the artifacts that Dragon Voice requires for recognition and interpretation, see Triggering the Dragon Voice recognizer.

Use this parameter to load large grammars that would otherwise delay the system (if loaded only when needed).

For example:

  <resourcehints>
    <speechrecog>
      <resource type="grammar">
        <param><value>some-big-grammar.gram</value></param>
      </resource>
    </speechrecog>