libjulius/include/julius/define.h File Reference

Internal symbol definitions. More...

Go to the source code of this file.

Defines

#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_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


Detailed Description

Internal symbol definitions.

The "configure" script will output the system- and user-dependent configuration in "config.h". This file defines some symboles according to the generated config.h, to switch internal functions. Most of the definitions here are for disabling experimental or debug code for development, or to keep compatibility with old Julius. These definitions are highly internal, and normal users should not alter these definitions without knowning what to do.

Author:
Akinobu LEE
Date:
Mon Mar 7 15:17:26 2005
Revision
1.1.1.1

Definition in file define.h.


Define Documentation

#define LM_UNDEF   0

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

not specified

Definition at line 49 of file define.h.

Referenced by j_jconf_finalize(), jconf_set_default_values_lm(), opt_parse(), and wchmm_new().

#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)

Definition at line 201 of file define.h.

#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)

Definition at line 217 of file define.h.

#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".

Definition at line 231 of file define.h.

#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.

Definition at line 238 of file define.h.

#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.

Definition at line 245 of file define.h.

Referenced by 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.

Definition at line 260 of file define.h.


Generated on Tue Dec 18 15:59:57 2007 for Julius by  doxygen 1.5.4