Julius 4.2
マクロ定義
libjulius/include/julius/define.h

内部処理選択のためのシンボル定義 [詳細]

ソースコードを見る。

マクロ定義

#define LM_UNDEF   0
 DO NOT MODIFY MANUALLY DEFINES BELOW UNLESS YOU KNOW WHAT YOU ARE DOING.
#define LM_PROB   1
 Statistical (N-gram - Julius)
#define LM_DFA   2
 DFA (Julian)
#define LM_NGRAM   0
 N-gram.
#define LM_DFA_GRAMMAR   1
 DFA grammar.
#define LM_DFA_WORD   2
 Isolated word recognition.
#define LM_NGRAM_USER   3
 User-defined statistical LM.
#define J_RESULT_STATUS_BUFFER_OVERFLOW   -7
 Input buffer overflow.
#define J_RESULT_STATUS_REJECT_POWER   -6
 Input rejected by power.
#define J_RESULT_STATUS_TERMINATE   -5
 Input was terminated by app. request.
#define J_RESULT_STATUS_ONLY_SILENCE   -4
 Input contains only silence.
#define J_RESULT_STATUS_REJECT_GMM   -3
 Input rejected by GMM.
#define J_RESULT_STATUS_REJECT_SHORT   -2
 Input rejected by short input.
#define J_RESULT_STATUS_FAIL   -1
 Recognition ended with no candidate.
#define J_RESULT_STATUS_SUCCESS   0
 Recognition output some result.
#define VERMES   if (verbose_flag) jlog
#define SHORT_WORD_LEN   2
 define this to report memory usage on exit (Linux only)
#define DEFAULT_LM_WEIGHT_MONO_PASS1   5.0
#define DEFAULT_LM_PENALTY_MONO_PASS1   -1.0
#define DEFAULT_LM_WEIGHT_MONO_PASS2   6.0
#define DEFAULT_LM_PENALTY_MONO_PASS2   0.0
#define DEFAULT_LM_WEIGHT_TRI_PASS1   9.0
#define DEFAULT_LM_PENALTY_TRI_PASS1   8.0
#define DEFAULT_LM_WEIGHT_TRI_PASS2   11.0
#define DEFAULT_LM_PENALTY_TRI_PASS2   -2.0
#define PREFER_CENTER_ON_TRELLIS_LOOKUP
#define STARTNODE_STEP   300
#define IWSPENTRY_DEFAULT   "<UNK> [sp] sp sp"
#define GRAPHOUT_PRECISE_BOUNDARY
#define FIX_35_INHIBIT_SAME_WORD_EXPANSION
#define GRAPHOUT_OVERWRITE
 Allow overwriting existing graph word if score is higher.
#define GRAPHOUT_LIMIT_BOUNDARY_LOOP
 (EXPERIMENTAL) With GRAPHOUT_OVERWRITE, use gscore_head for the comparison instead of fscore_head.
#define GRAPHOUT_SEARCH_DELAY_TERMINATION
 This option enables "-graphsearchdelay" and "-nographsearchdelay" option.
#define GRAPHOUT_DEPTHCUT
 This option enables word graph cutting by word depth at post-processing.
#define MINIMAL_BEAM_WIDTH   200
 Mimimal beam width that will be auto-determined for the 1st pass.
#define FWD_NGRAM
 (DEBUG) Use old full lcdset instead of category-pair-aware lcdset on Julian (-oldiwcd on 3.5.3 and previous)
#define MAX_SPEECH_ALLOC_STEP   320000
#define POWER_REJECT_DEFAULT_THRES   9.0
#define VTLN_RANGE   0.2
 A test to find optimal warping factor for VTLN (EXPERIMENTAL)
#define VTLN_STEP   0.02
#define FAST_FACTOR1_SUCCESSOR_LIST
 Use fast successor composition at 1-gram factoring.
#define SCORE_PRUNING
 Enable score based pruning at the 1st pass.

説明

内部処理選択のためのシンボル定義

configure スクリプトは,システム/ユーザごとの設定を config.h に書き出し ます. このファイルでは,その configure で設定された config.h 内の定義を 元に,Julius/Julian のための内部シンボルの定義を行います. これらは実験用のコードの切り替えや古いオプションとの互換性のために 定義されているものがほとんどです. 通常のユーザはこの定義を書き換える 必要はありません.

作者:
Akinobu LEE
日付:
Mon Mar 7 15:17:26 2005
Revision:
1.7

define.h で定義されています。


マクロ定義

#define LM_UNDEF   0

DO NOT MODIFY MANUALLY DEFINES BELOW UNLESS YOU KNOW WHAT YOU ARE DOING.

not specified

define.h49 行で定義されています。

参照元 j_jconf_finalize(), jconf_set_default_values_lm(), opt_parse(), と wchmm_new().

#define SHORT_WORD_LEN   2

define this to report memory usage on exit (Linux only)

define.h92 行で定義されています。

参照元 build_wchmm(), build_wchmm2(), と print_wchmm_info().

#define GRAPHOUT_OVERWRITE

Allow overwriting existing graph word if score is higher.

By default, while search, Julius merges the same graph words appeared at the same location as previously stored word, and terminate search. This option make Julius to continue search in that case if fscore_head of current hypo. is greater than the already existing one. In that case, the score of existing one will be overridden by the new higher one. (from 3.5.2)

define.h206 行で定義されています。

#define GRAPHOUT_LIMIT_BOUNDARY_LOOP

(EXPERIMENTAL) With GRAPHOUT_OVERWRITE, use gscore_head for the comparison instead of fscore_head.

At post-processing of graph words, this option limits the number of "fit boundary" loop up to this value. This option is made to avoid long loop by the "boundary oscillation" of short words. (from 3.5.2)

define.h222 行で定義されています。

#define GRAPHOUT_SEARCH_DELAY_TERMINATION

This option enables "-graphsearchdelay" and "-nographsearchdelay" option.

When "-graphsearchdelay" option is set, Julius modifies its alogrithm of graph generation on the 2nd pass not to apply search termination by graph merging until the first sentence candidate is found.

This option may result in slight improvement of graph accuracy only when you are going to generate a huge word graph by setting broad search. Namely, it may result in better graph accuracy when you set wide beams on both 1st pass "-b" and 2nd pass "-b2", and large number for "-n".

define.h236 行で定義されています。

参照元 wchmm_fbs().

#define GRAPHOUT_DEPTHCUT

This option enables word graph cutting by word depth at post-processing.

This option will erase many short words to explode at a wide beam width.

define.h243 行で定義されています。

#define MINIMAL_BEAM_WIDTH   200

Mimimal beam width that will be auto-determined for the 1st pass.

See set_beam_width() and default_width() for details.

define.h250 行で定義されています。

参照元 set_beam_width().

#define FWD_NGRAM

(DEBUG) Use old full lcdset instead of category-pair-aware lcdset on Julian (-oldiwcd on 3.5.3 and previous)

(EXPERIMENTAL) early word determination on isolated word recognition mode. Results will be shown via CALLBACK_RESULT_PASS1_DETERMINED.

define.h265 行で定義されています。

#define VTLN_RANGE   0.2

A test to find optimal warping factor for VTLN (EXPERIMENTAL)

define.h277 行で定義されています。