#include <julius/julius.h>
Go to the source code of this file.
Functions | |
| static void | print_winfo_w (WORD_INFO *winfo, WORD_ID word, boolean ngram_exist) | 
| Display informations of a word in the dictionary.   | |
| static void | print_wchmm_w (WCHMM_INFO *wchmm, WORD_ID word) | 
| Display the location of a word in the tree lexicon.   | |
| static void | print_wchmm_s (WCHMM_INFO *wchmm, int node) | 
| Display informations assigned to a node in the tree lexicon.   | |
| static void | print_wchmm_s_arc (WCHMM_INFO *wchmm, int node) | 
| Display list of transition arcs from a node in the tree lexicon.   | |
| static void | print_wchmm_s_successor (WCHMM_INFO *wchmm, int node) | 
| Display factoring values on a node in the tree lexicon.   | |
| static void | print_hmminfo (char *name, HTK_HMM_INFO *hmminfo) | 
| Lookup an HMM of given name, and display specs of it.   | |
| static void | print_ngraminfo (NGRAM_INFO *ngram, int nid) | 
| Display specs of a word in the word N-gram.   | |
| void | wchmm_check_interactive (WCHMM_INFO *wchmm) | 
| Command loop to browse and check the structure of the constructed tree lexicon on startup.   | |
| void | check_wchmm (WCHMM_INFO *wchmm) | 
| Check coherence of tree lexicon (for internal debug only!).   | |
This file defines some functions to browse and check the structure of the tree lexicon at startup time. When invoking with "-check wchmm", it will enter to a prompt mode after tree lexicon is generated, and you can check its structure, e.g. how the specified word is located in the tree lexicon, or what kind of information a node has in it.
Definition in file wchmm_check.c.
Display informations of a word in the dictionary.
| winfo | [in] word dictionary | |
| word | [in] ID of a word to be displayed | |
| ngram_exist | [in] TRUE when an N-gram was tied with this winfo | 
Definition at line 56 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_wchmm_w | ( | WCHMM_INFO * | wchmm, | |
| WORD_ID | word | |||
| ) |  [static] | 
        
Display the location of a word in the tree lexicon.
| wchmm | [in] tree lexicon | |
| word | [in] word ID | 
Definition at line 101 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_wchmm_s | ( | WCHMM_INFO * | wchmm, | |
| int | node | |||
| ) |  [static] | 
        
Display informations assigned to a node in the tree lexicon.
| wchmm | [in] tree lexicon | |
| node | [in] node id | 
Definition at line 132 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_wchmm_s_arc | ( | WCHMM_INFO * | wchmm, | |
| int | node | |||
| ) |  [static] | 
        
Display list of transition arcs from a node in the tree lexicon.
| wchmm | [in] tree lexicon | |
| node | [in] node ID | 
Definition at line 198 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_wchmm_s_successor | ( | WCHMM_INFO * | wchmm, | |
| int | node | |||
| ) |  [static] | 
        
Display factoring values on a node in the tree lexicon.
| wchmm | [in] tree lexicon | |
| node | [in] node ID | 
Definition at line 236 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_hmminfo | ( | char * | name, | |
| HTK_HMM_INFO * | hmminfo | |||
| ) |  [static] | 
        
Lookup an HMM of given name, and display specs of it.
Definition at line 277 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| static void print_ngraminfo | ( | NGRAM_INFO * | ngram, | |
| int | nid | |||
| ) |  [static] | 
        
Display specs of a word in the word N-gram.
| ngram | [in] word N-gram | |
| nid | [in] N-gram word ID | 
Definition at line 304 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
| void wchmm_check_interactive | ( | WCHMM_INFO * | wchmm | ) | 
Command loop to browse and check the structure of the constructed tree lexicon on startup.
| wchmm | [in] tree lexicon | 
Definition at line 328 of file wchmm_check.c.
Referenced by check_wchmm(), j_launch_recognition_instance(), and multigram_rebuild_wchmm().

| void check_wchmm | ( | WCHMM_INFO * | wchmm | ) | 
Check coherence of tree lexicon (for internal debug only!).
| wchmm | [in] tree lexicon | 
Definition at line 443 of file wchmm_check.c.
 1.5.4