swirec_astar_max_paths

Maximum number of nodes visited during the a-star search.

Value

Integer: 0–INT_MAX.

Default

100000 (nodes visited)

How to set

Shown in precedence order (see Rules of parameter precedence):

Set in the browser, using the Vendor-Specific-Parameters header in a RECOGNIZE or SET-PARAMS method.

In a parameter grammar.

In a grammar using a <meta> tag (see the text on recognition-time parameters in Parameters set in grammar files).

In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml).

Usage

For Nuance internal use only. This is an advanced feature for developers who are familiar with the Recognizer and its underlying models. It tunes the Recognizer’s search for matches:

Performance

Changing the default value can seriously impair accuracy and confidence. After changing the value, you must thoroughly test recognition accuracy before applying the change to a production system.

This parameter specifies the maximum number of nodes that can be visited during the a-star search before the Recognizer completes the search. Typical values are multiples of 10 from the default value (add or remove zeros from the right).

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: swirec_astar_max_paths=100000

A grammar file is the most typically usage for application developers because it sets values on a specific grammar instead of all grammars:

<meta name="swirec_astar_max_paths" content="100000"/>

Related parameters