#include <julius.h>
Include dependency graph for wchmm_check.c:
Go to the source code of this file.
Functions | |
static void | print_winfo_w (WORD_INFO *winfo, WORD_ID word) |
static void | print_wchmm_w (WCHMM_INFO *wchmm, WORD_ID word) |
static void | print_wchmm_s (WCHMM_INFO *wchmm, int node) |
static void | print_wchmm_s_arc (WCHMM_INFO *wchmm, int node) |
static void | print_wchmm_s_successor (WCHMM_INFO *wchmm, int node) |
static void | print_hmminfo (char *name) |
static void | print_ngraminfo (NGRAM_INFO *ngram, int nid) |
void | wchmm_check_interactive (WCHMM_INFO *wchmm) |
void | check_wchmm (WCHMM_INFO *wchmm) |
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. |
Definition at line 53 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 96 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 127 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 196 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 224 of file wchmm_check.c.
Referenced by wchmm_check_interactive().
static void print_hmminfo | ( | char * | name | ) | [static] |
Lookup an HMM of given name, and display specs of it.
name | [in] HMM logical name |
Definition at line 262 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 290 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 313 of file wchmm_check.c.
void check_wchmm | ( | WCHMM_INFO * | wchmm | ) |
Check coherence of tree lexicon (for internal debug only!)
wchmm | [in] tree lexicon |
Definition at line 424 of file wchmm_check.c.