|
|
Recognizer SET-PARAMS
Reference Number: AA-01650 Views: 15635 |
0 Rating/ Voters
|
|
The SET-PARAMS recognizer method, form the client to the server, tells the recognizer resource to set and modify recognizer context parameters like recognizer characteristics.
Many of the parameters in the SET-PARAMS method can also be used in another method like the RECOGNIZE method. If the server accepts these parameters, it will respond with a Status-Code of 200.
The following list describes the headers that can be used in conjunction with SET-PARAMS and GET-PARAMS for the recognizer resource.
Header
|
MRCP V1
|
MRCP V2
|
LumenVox Support
|
Confidence-Threshold
|
|
|
|
Sensitivity-Level
|
|
|
|
Speed-Vs-Accuracy
|
|
|
|
N-Best-List-Length
|
|
|
|
Input-Type
|
|
|
|
No-Input-Timeout
|
|
|
|
Recognition-Timeout
|
|
|
|
Waveform-URI
|
|
|
|
Input-Waveform-URI
|
|
|
|
Completion-Cause
|
|
|
|
Completion-Reason
|
|
|
|
Recognizer-Context-Block
|
|
|
|
Start-Input-Timers
|
|
|
|
Recognizer-Start-Timers
|
|
|
|
Speech-Complete-Timeout
|
|
|
|
Speech-Incomplete-Timeout
|
|
|
|
Dtmf-Interdigit-Timeout
|
|
|
|
Dtmf-Term-Timeout
|
|
|
|
Dtmf-Term-Char
|
|
|
|
Failed-URI
|
|
|
|
Failed-URI-Cause
|
|
|
|
Save-Waveform
|
|
|
|
Media-Type (v2)
|
|
|
|
New-Audio-Channel
|
|
|
|
Speech-Language
|
|
|
|
Ver-Buffer-Utterance
|
|
|
|
Recognition-Mode
|
|
|
|
Cancel-If-Queue
|
|
|
|
Hotword-Max-Duration
|
|
|
|
Hotword-Min-Duration
|
|
|
|
Interpret-Text *
|
|
|
|
Dtmf-Buffer-Time
|
|
|
|
Clear-Dtmf-Buffer
|
|
|
|
Early-No-Match
|
|
|
|
MRCPV1 SET-PARAMS Example:
C->S: SET-PARAMS 543256 MRCP/1.0 Sensitivity-Level:20 Recognition-Timeout:30 Confidence-Threshold:85
S->C: MRCP/1.0 543256 200 COMPLETE
MRCPV2 SET-PARAMS Example:
C->S: MRCP/2.0 ... SET-PARAMS 543256 Channel-Identifier:32AECB23433802@speechrecog Sensitivity-Level:0.2 Recognition-Timeout:30 Confidence-Threshold:0.85
S->C: MRCP/2.0 ... 543256 200 COMPLETE Channel-Identifier:32AECB23433802@speechrecog
|
|
|