45 static int buildGrammarCallback(
int ecode,
const char* info,
void* udata);
46 static int writeIntoFile(
const string file_path,
UserData* info);
51 void buildGrammar(
UserData* udata,
const string base_path,
const string grammar_build_path,
const string asr_res_path,
52 const string grammar_file);
std::string grammar_build_path
static const int FRAME_LEN
static const int SAMPLE_RATE_16K
static const int BUFFER_SIZE
static const int MAX_PARAMS_LEN
Mobile Speech Platform Common Interface Header File.
iFLY Speech Recognizer Header File
struct _UserData UserData
char grammar_id[MAX_GRAMMARID_LEN]
static const int MAX_GRAMMARID_LEN
static const int BUILD_FINISH
static const int SAMPLE_RATE_8K
static const int SAMPLE_RATE_44K