swissm_confidence_threshold
Default confidence threshold any application SSMs.
Value |
Float: 0.0–1.0. |
Default |
0.0 (Recognizer does not use SSM-level confidence scores to reject sentences.) |
How to set |
Shown in precedence order (see Rules of parameter precedence): In a VoiceXML application, using a <property> element. Set in the browser, using the Vendor-Specific-Parameters header in a RECOGNIZE or SET-PARAMS method. In a parameter grammar. In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml). |
Usage |
Provides a default threshold that is only used if a wrapper grammar omits the confidence_threshold parameter for an SSM. |
This parameter sets a default confidence threshold for any user-defined statistical semantic model (SSM) used by the application.
When your application uses wrapper grammars and SSMs, Recognizer assesses confidence levels several times during processing:
- Each SSM in the wrapper grammar can have a confidence threshold, and each sentence must pass this threshold test. If the wrapper does not set an explicit confidence threshold for an SSM, then this parameter (swissm_confidence_threshold) is used. Any meaning that scores below the threshold is not included in the results. If no meaning is above the threshold, then no result is returned from that SSM.
- After processing all active SSMs in the wrapper grammar, Nuance Recognizer tests the remaining sentences with the normal confidence threshold (confidencelevel) and produces the final XML recognition results.
For information, see Using SLMs in applications (wrapper grammars) and SSMs.
Applications can set this parameter via a VoiceXML property:
<property name="swissm_confidence_threshold" value=".8"/>
Browsers usually set this parameter in a RECOGNIZE request, and the parameter automatically reverts to the previous value after the recognition event. (Alternatively, browsers can use the SET-PARAMS method. See Configuring Recognizer with the browser.)
Vendor-Specific-Parameters: swissm_confidence_threshold=.8
Related parameter