#include <BuildGrammar.h>
Public Member Functions | |
BuildGrammar () | |
void | buildGrammar (UserData *udata, const string base_path, const string grammar_build_path, const string asr_res_path, const string grammar_file) |
~BuildGrammar () | |
Static Private Member Functions | |
static int | buildGrammarCallback (int ecode, const char *info, void *udata) |
static int | writeIntoFile (const string file_path, UserData *info) |
Private Attributes | |
UserData | asr_data |
std::string | asr_res_path |
std::string | base_path |
std::string | grammar_build_path |
std::string | grammar_file |
Definition at line 37 of file BuildGrammar.h.
BuildGrammar::BuildGrammar | ( | ) |
Definition at line 15 of file build_xunfei_grammar.cpp.
BuildGrammar::~BuildGrammar | ( | ) |
Definition at line 19 of file build_xunfei_grammar.cpp.
void BuildGrammar::buildGrammar | ( | UserData * | udata, |
const string | base_path, | ||
const string | grammar_build_path, | ||
const string | asr_res_path, | ||
const string | grammar_file | ||
) |
Definition at line 24 of file build_xunfei_grammar.cpp.
|
staticprivate |
Definition at line 97 of file build_xunfei_grammar.cpp.
|
staticprivate |
Definition at line 121 of file build_xunfei_grammar.cpp.
|
private |
Definition at line 44 of file BuildGrammar.h.
|
private |
Definition at line 42 of file BuildGrammar.h.
|
private |
Definition at line 40 of file BuildGrammar.h.
|
private |
Definition at line 41 of file BuildGrammar.h.
|
private |
Definition at line 43 of file BuildGrammar.h.