Library Name:lib_asr.a
Introduction:
Automatic speech recognition library implements a high level speech
recognition tools. Currently only the speech recognizer class is provided.
Context free grammar and transcription classes will be added.
Example:
01 // file: $isip/doc/examples/class/asr/asr_example_00/example.cc
02 // version: $Id: index.html 10279 2005-10-11 20:25:32Z srinivas $
03 //
04
05 // isip include files
06 //
07 #include <SpeechRecognizer.h>
08
09 int main(int argc, const char** argv) {
10
11 // declare a speech recognizer object
12 //
13 SpeechRecognizer sr;
14
15 // set up the speech recognizer parameters
16 //
17 sr.setParam(L"$ISIP_DEVEL/util/speech/isip_recognize/param.sof");
18 sr.setVerbosity(Integral::ALL);
19 sr.setVerify(false);
20
21 // set up the input speech file list
22 //
23 Sdb raw_list_sdb;
24 boolean is_list = true;
25 raw_list_sdb.append(L"$ISIP_DEVEL/util/speech/isip_recognize/raw_list.sof", is_list);
26
27 // run the speech recognizer on the input speech file list
28 //
29 sr.run(raw_list_sdb);
30
31 }
Explanation:
We first configure a SpeechRecognizer object by reading its parameters
from the parameter file (line 17). Then we specify the input file list
(line 25). Finally we run the recognizer (line 29). Note that there are
many changes expected in this class.
The automatic speech recognition classes include:
The software corresponding to the examples demonstrated in this document
can be found in our documentation directory
under class/asr/.