#include <julius/julius.h>
Go to the source code of this file.
Functions | |
void | multigram_add_gramlist (char *dfafile, char *dictfile, JCONF_LM *j, int lmvar) |
Add a grammar to the grammar list to be read at startup. | |
void | multigram_remove_gramlist (JCONF_LM *j) |
Remove the grammar list to be read at startup. | |
boolean | multigram_add_prefix_list (char *prefix_list, char *cwd, JCONF_LM *j, int lmvar) |
Add multiple grammars given by their prefixs to the grammar list. | |
boolean | multigram_add_prefix_filelist (char *listfile, JCONF_LM *j, int lmvar) |
Add multiple grammars from prefix list file to the grammar list. |
These functions are for managing list of grammar files to be loaded at startup. You can also specify (list of) grammars to be included for recognition at startup by calling these functions. If you want to add, modify or remove grammars while recognition, you should prepare grammar data and call functions in multi-gram.c directly.
Definition in file gramlist.c.