Using in applications (wrapper grammars)

To use SSMs and confidence files, you must specify them inside a SRGS grammar that is extended with a Nuance namespace.

The namespace provides several grammar elements:

Element

Description

<semantic_interpretation>

Contains semantic components, and optionally indicates their precedence. Described below.

<component>

Groups an SSM and (optionally) a confidence engine model. Optionally, it specifies a local confidence threshold for the SSM. Described below.

<interpreter>

Specifies a URI to a semantic interpreter (a SRGS grammar or a trained SSM). See also Training an SSM.

<confidence_engine>

Specifies a URI to a .conf file (a confidence engine model). See Confidence engine models.

A grammar used for this purpose is known as a wrapper grammar. You can specify one SSM, more than one SSM (activated in parallel), or multiple grammars specified in order of priority (override grammars).