hotword-max-duration

Specifies the maximum length of an utterance that is considered for hotword recognition.

Value

Integer: 0–INT_MAX (milliseconds)

DEFAULT: 800

How to set

In the browser, using the Hotword-Max-Duration header in a RECOGNIZE method.

In the application’s session.xml, in the <speechrecog> section of <speechserver> under <sessionparameters>.

Usage

Seldom used.

Applicable for Nuance Recognizer. Not applicable for Dragon Voice recognition.

This parameter tunes performance by preventing Recognizer from evaluating utterances that are too long to be one of the hotwords in the grammars.