Speech Recognition Standards

The speech recognition message proposed has been compared to the current SAPI and JSAPI standards.  We summarize the compatibility between the proposed message set and the SAPI and JSAPI standards.  A '*' indicates that an existing standard supports the parameter.



Message Set


reinitialize:
 
SAPI
JSAPI
Parameter
Comments
IN: * * :audio_source_type JSAPI only supports audio input from audio device on host computer.
  * * audio_source_param JSAPI only supports audio input from audio device on host computer.
  * * :automatic_gain  
  * * :energy_floor  
  * * :language_model  
  * * :sub_language_model  
  * * :grammar_type  
  * * :grammar_file  
  *   :grammar_params  
  * * :n_best  
    * :noise_sensitivity  
  * * :pause_after_recognition  
  * * :real_time_setting  
  * * :threshold  
  * :timeout  

Configure:
 
SAPI
JSAPI
Parameter
Comments
IN: * * :audio_samples  JSAPI currently only reads audio input from the audio device of the host computer.
  *   :background_noise_level  
  *   :current_byte  
  * * :interference  
  * * :notify_attribute_changes  
  * :notify_status  
  * :start_end_speech  
  * * :volume_limits  

Grammar_Control:
 
SAPI
JSAPI
Parameter
Comments
IN: * * :control  
    * :words  
    * :phones  

Pause:
 
SAPI
JSAPI
Parameter
Comments
  * *    

Resume:
 
SAPI
JSAPI
Parameter
Comments
  * *    

 


Messages Issued

The following message are issued by the recognizer, unless the the :send_notifications parameter of the Configure message is disabled.  When the :send_notifications of the Configure message is enable, the recognition server issues the following messages.


Attribute_Changed:
 
SAPI
JSAPI
Parameter
Comments
OUT: * * :attribute_name  
  * * :attribute_value_new  
  * * :attribute_value_old  

Audio Samples:
 
SAPI
JSAPI
Parameter
Comments
OUT: *   :num_samples  JSAPI does not support sending and receiving of binary audio data.
  *   :sample_byte_size  JSAPI does not support sending and receiving of binary audio data.
  *   :samples  JSAPI does not support sending and receiving of binary audio data.

Background_Noise_Level:
 
SAPI
JSAPI
Parameter
Comments
OUT: *   :noise_level  JSAPI does not have a message for the current background noise level.

Current_Byte:
SAPI
JSAPI
Parameter
Comments
OUT: *   :current_byte  JSAPI does not have a message for the current byte being processed by the recognizer.

Interference:
 
SAPI
JSAPI
Parameter
Comments
 OUT: * :interference  JSAPI will report an interference but does not provide a reason for the interference.

Recognition_Event:
 
SAPI
JSAPI
Parameter
Comments
 OUT: * * :event_name  

Results:
 
SAPI
JSAPI
Parameter
Comments
 OUT: * :score  JSAPI does not report the scores for an utterance.
  * * :results  

Speech_Started:
 
SAPI
JSAPI
Parameter
Comments
  * *    

Speech_Stopped:
 
SAPI
JSAPI
Parameter
Comments
  * *    

Volume_Limits:
 
SAPI
JSAPI
Parameter
Comments
OUT: * * :volume  

 


Please send comments and suggestions to: bugs-darpacomm@linus.mitre.org
Last updated July 3, 2000.

Copyright (c) 2000
The MITRE Corporation
ALL RIGHTS RESERVED