#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 | __gmm_calc__ |
| Work area for GMM calculation [詳細] | |
| struct | __sentence_align__ |
| Alignment result, valid when forced alignment was done [詳細] | |
| struct | __sentence__ |
| Output result structure [詳細] | |
| struct | __adin__ |
| A/D-in work area [詳細] | |
| struct | __Output__ |
| Recognition result output structure. [詳細] | |
| struct | __mfcc_calc__ |
| 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 [詳細] | |
型定義 | |
| typedef __FSBeam__ | FSBeam |
| Work area for the first pass | |
| typedef __RealBeam__ | RealBeam |
| Work area for realtime processing of 1st pass | |
| typedef __StackDecode__ | StackDecode |
| Work area for the 2nd pass | |
| typedef __gmm_calc__ | GMMCalc |
| Work area for GMM calculation | |
| typedef __sentence_align__ | SentenceAlign |
| Alignment result, valid when forced alignment was done | |
| typedef __sentence__ | Sentence |
| Output result structure | |
| typedef __adin__ | ADIn |
| A/D-in work area | |
| typedef __Output__ | Output |
| Recognition result output structure. | |
| typedef __mfcc_calc__ | MFCCCalc |
| instance for a parameter vector computation | |
| typedef __process_am__ | PROCESS_AM |
| instance for an AM. | |
| typedef __process_lm__ | PROCESS_LM |
| instance for a LM. | |
| typedef __recogprocess__ | RecogProcess |
| instance for a decoding, i.e. | |
| typedef __Recog__ | 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 で定義されています。
| typedef struct __Output__ Output |
Recognition result output structure.
You may want to use with model data to get fully detailed results.
| typedef struct __recogprocess__ RecogProcess |
instance for a decoding, i.e.
set of LM, AM and parameters
1.5.1