Julius 4.2
変数
構造体 JCONF_SEARCH

Search parameters. [詳細]

#include <jconf.h>

JCONF_SEARCHのコラボレーション図

変数

short id
 Unique ID.
char name [JCONF_MODULENAME_MAXLEN]
 Unique name.
JCONF_AMamconf
 Which AM configuration to refer.
JCONF_LMlmconf
 Which LM configuration to refer.
boolean compute_only_1pass
 Compute only 1pass (-1pass)
boolean ccd_handling
 context handling
boolean force_ccd_handling
 force context-dependent handling
struct {
   LOGPROB   lm_weight
 N-gram Language model weight (-lmp)
   LOGPROB   lm_penalty
 N-gram Word insertion penalty (-lmp)
   LOGPROB   lm_weight2
 N-gram Language model weight for 2nd pass (-lmp2)
   LOGPROB   lm_penalty2
 N-gram Word insertion penalty for 2nd pass (-lmp2)
   LOGPROB   lm_penalty_trans
 N-gram Additional insertion penalty for transparent words (-transp)
   LOGPROB   penalty1
 Word insertion penalty for DFA grammar on 1st pass (-penalty1)
   LOGPROB   penalty2
 Word insertion penalty for DFA grammar on 2nd pass (-penalty2)
   boolean   lmp2_specified
 INTERNAL: TRUE if -lmp2 specified.
   boolean   lmp_specified
 INTERNAL: TRUE if -lmp specified.
lmp
struct {
   int   specified_trellis_beam_width
 Beam width of rank pruning for the 1st pass.
   LOGPROB   score_pruning_width
   boolean   old_tree_function_flag
 (DEBUG) use old build_wchmm() instead of build_wchmm2() for lexicon construction (-oldtree)
pass1
struct {
   int   nbest
 Search until N-best sentences are found (-n).
   int   enveloped_bestfirst_width
 Word beam width of 2nd pass.
   int   hypo_overflow
 Hypothesis overflow threshold at 2nd pass (-m)
   int   stack_size
 Hypothesis stack size of 2nd pass (-s)
   int   lookup_range
 Get next words from word trellis with a range of this frames on 2nd pass (-lookuprange)
   boolean   looktrellis_flag
 Limit expansion words for trellis words on neighbor frames at 2nd pass of DFA for speedup (-looktrellis)
pass2
struct {
   boolean   enabled
 GraphOut: if enabled, graph search is enabled.
   boolean   lattice
 GraphOut: if enabled, output word graph.
   boolean   confnet
 GraphOut: if enabled, generate confusion network.
   int   graph_merge_neighbor_range
 GraphOut: allowed margin for post-merging on word graph generation (-graphrange) if set to -1, same word with different phone context will be separated.
graph
struct {
   boolean   enabled
 TRUE if short-pause segmentation enabled for this instance.
   int   sp_frame_duration
 Length threshold to detect short-pause segment in frames.
   char *   pausemodelname
 name string of pause model
successive
struct {
   boolean   align_result_word_flag
 Forced alignment: per word (-walign)
   boolean   align_result_phoneme_flag
 Forced alignment: per phoneme (-palign)
   boolean   align_result_state_flag
 Forced alignment: per state (-salign)
annotate
struct {
   int   output_hypo_maxnum
 Result: number of sentence to output (-output) , also see nbest (-n).
   boolean   progout_flag
 Result: output partial recognition result on the 1st pass (-progout)
   int   progout_interval
 Result: Progressive output interval on 1st pass in msec (-proginterval)
   int   progout_interval_frame
 Result: INTERNAL: interval in number of frames.
   boolean   multigramout_flag
 Get results for all grammars independently on 2nd pass on DFA (-multigramout / -nomultigramout)
output
struct {
   boolean   trellis_check_flag
 Enter trellis interactive check routine after boot (-check trellis)
   boolean   triphone_check_flag
 Enter triphone existence check routine after boot (-check triphone)
   boolean   wchmm_check_flag
 Enter lexicon structure consulting mode after boot (-check wchmm)
   boolean   start_inactive
 should be set to TRUE at startup when this process should start with inactive status
   boolean   fallback_pass1_flag
 In case the 2nd pass search fails, this option specifies Julius to use the result of the previous 1st pass as final result.
sw
struct __jconf_search__ * next

説明

Search parameters.

jconf.h380 行で定義されています。


構造体

char JCONF_SEARCH::name[JCONF_MODULENAME_MAXLEN]

Beam width of rank pruning for the 1st pass.

If value is -1 (not specified), system will guess the value from dictionary size. If 0, a possible maximum value will be assigned to do full search.

jconf.h478 行で定義されています。

参照元 j_launch_recognition_instance(), jconf_set_default_values_search(), opt_parse(), と print_engine_info().

Search until N-best sentences are found (-n).

Also see "-output".

jconf.h535 行で定義されています。

参照元 j_output_argument_help(), jconf_set_default_values_search(), opt_parse(), print_engine_info(), と wchmm_fbs().

Word beam width of 2nd pass.

-1 means no beaming (-b2)

jconf.h539 行で定義されています。

参照元 j_output_argument_help(), jconf_set_default_values_search(), opt_parse(), print_engine_info(), と wchmm_fbs().

GraphOut: if enabled, output word graph.

jconf.h584 行で定義されています。

参照元 clear_result(), j_recognize_stream_core(), jconf_set_default_values_search(), opt_parse(), print_engine_info(), と wchmm_fbs().

GraphOut: if enabled, generate confusion network.

jconf.h590 行で定義されています。

参照元 clear_result(), j_recognize_stream_core(), jconf_set_default_values_search(), opt_parse(), print_engine_info(), と wchmm_fbs().

name string of pause model

jconf.h647 行で定義されています。

参照元 j_launch_recognition_instance(), jconf_set_default_values_search(), opt_parse(), opt_release(), と print_engine_info().

should be set to TRUE at startup when this process should start with inactive status

jconf.h783 行で定義されています。

参照元 j_launch_recognition_instance(), jconf_set_default_values_search(), と opt_parse().

In case the 2nd pass search fails, this option specifies Julius to use the result of the previous 1st pass as final result.

When this is TRUE, no RECOGFAIL occur.

jconf.h790 行で定義されています。

参照元 jconf_set_default_values_search(), opt_parse(), print_engine_info(), と wchmm_fbs().


この構造体の説明は次のファイルから生成されました: