julius/multi-gram.c File Reference

Management of Recognition grammars for Julian. More...

#include <julius.h>

Include dependency graph for multi-gram.c:

Go to the source code of this file.


Detailed Description

Management of Recognition grammars for Julian.

Author:
Akinobu Lee
Date:
Sat Jun 18 23:45:18 2005
This file contains functions to read and manage recognition grammar. These function read in grammar and dictionary, and setup data for recognition.

Recognition with multiple grammars are supported. Julian can read several grammars specified at startup time, and perform recognition with those grammars simultaneously. In module mode, you can add / delete / activate / deactivate each grammar while performing recognition, and also can output optimum results for each grammar.

Internally, the given grammars are composed to a single Global Grammar. The global grammar will be updated whenever a new grammar has been read or deleted. The syntax rule (DFA) of the global grammar will be stored at global_dfa, and the corresponding dictionary will be at global_winfo locally, independent of the decoding timing. After that, multigram_setup() will be called to make the prepared global grammar to be used in the actual recognition process, by copying the grammar and the dictionary to the global variable dfa and winfo.

Revision
1.4

Definition in file multi-gram.c.


Generated on Tue Dec 26 16:16:52 2006 for Julius by  doxygen 1.5.0