#include <sent/stddefs.h>
#include <sent/hmm.h>
#include <sent/vocabulary.h>
#include <sent/ngram2.h>
#include <sent/dfa.h>
#include <julius/wchmm.h>
#include <julius/search.h>
#include <julius/callback.h>
#include <julius/jconf.h>
データ構造 | |
struct | FSBeam |
Work area for the first pass [詳細] | |
struct | RealBeam |
Work area for realtime processing of 1st pass [詳細] | |
struct | StackDecode |
Work area for the 2nd pass [詳細] | |
struct | LMFunc |
User LM function entry point [詳細] | |
struct | GMMCalc |
Work area for GMM calculation [詳細] | |
struct | Sentence |
Output result structure [詳細] | |
struct | ADIn |
A/D-in work area [詳細] | |
struct | Output |
Recognition result output structure. [詳細] | |
struct | MFCCCalc |
instance for a parameter vector computation [詳細] | |
struct | PROCESS_AM |
instance for an AM. [詳細] | |
struct | PROCESS_LM |
instance for a LM. [詳細] | |
struct | RecogProcess |
instance for a decoding, i.e. [詳細] | |
struct | Recog |
Top level instance for the whole recognition process [詳細] |
認識エンジンのインスタンス定義を行います.インスタンスは, Recog をトップインスタンスとして,使用する音響モデル,言語モデル, それらを組み合わせた認識処理インスタンスを複数持ちます.
各部のインスタンスは,対応する jconf 内の設定構造体,および 使用するサブインスタンスへのポインタを持ちます.PROCESS_AM は音響モデル, PROCESS_LM は言語モデルごとに定義されます.
MFCCCalc は, 音響モデルおよび GMM で要求されるパラメータタイプを調べたのち, それらを生成するのに必要なだけ生成されます.同一のMFCC型および その他のフロントエンド処理条件を持つ音響モデルおよびGMMどうしでは 同じ MFCCCalc が共有されます.
Recog +- *JCONF +- input related work area +- MFCCCalc[] (linked list) (generated from HMM + GMM) +- PROCESS_AM[] (linked list) +- *pointer to JCONF_AM +- *pointer to MFCCCalc +- hmminfo, hmm_gs +- hmmwrk +- multipath, ccd_flag, cmn_loaded +- PROCESS_LM[] (linked list) +- *pointer to JCONF_LM +- *pointer to PROCESS_AM +- lmtype, lmvar +- winfo +- ngram or grammars +- lmfunc +- RecogProcess process[] (linked list) +- *pointer to JCONF_SEARCH +- *pointer to PROCESS_AM +- *pointer to PROCESS_LM +- lmtype, lmvar +- misc. param +- GMMCalc +- *JCONF_AM for GMM +- *pointer to MFCCCalc
recog.h で定義されています。