#include <sent/stddefs.h>
#include <sent/htk_hmm.h>
Include dependency graph for vocabulary.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Please note that the N-gram vocabulary is stored in NGRAM_INFO and it can differ from this word dictionary. The reference from the word dictionary to a N-gram vocabulary is done by wton[] member in WORD_INFO. When used with DFA, the wton[] holds a category number to which each word belongs.
Definition in file vocabulary.h.
|
Allocate a new word dictionary structure.
Definition at line 34 of file voca_malloc.c. Referenced by initialize_dict(), multigram_exec(), and multigram_read_file(). |
|
Free all informations in the WORD_INFO.
Definition at line 49 of file voca_malloc.c. Referenced by multigram_exec(), and multigram_exec_delete(). |
|
Initialize a new word dictionary structure.
Definition at line 78 of file voca_malloc.c. Referenced by multigram_exec(), voca_load_htkdict(), voca_load_htkdict_fd(), and voca_load_htkdict_sd(). |
|
Expand the word dictionary.
Definition at line 108 of file voca_malloc.c. Referenced by voca_append(), voca_append_htkdict(), voca_load_htkdict(), voca_load_htkdict_fd(), and voca_load_htkdict_sd(). |
|
Load and initialize a word dictionary.
Definition at line 40 of file init_voca.c. Referenced by initialize_dict(), and multigram_read_file(). |
|
Top function to read word dictionary via file pointer
Definition at line 229 of file voca_load_htkdict.c. Referenced by init_voca(). |
|
Top function to read word dictionary via file descriptor.
Definition at line 269 of file voca_load_htkdict.c. |
|
Top function to read word dictionary via socket descriptor.
Definition at line 308 of file voca_load_htkdict.c. |
|
Append a single entry to the existing word dictionary.
Definition at line 347 of file voca_load_htkdict.c. Referenced by initialize_dict(). |
|
Append one word dictionary to other, for multiple grammar handling. Assumes that the same HMM definition is used on both word dictionary.
Definition at line 640 of file voca_load_htkdict.c. Referenced by multigram_build_append(). |
|
Sub function to Add a dictionary entry line to the word dictionary.
Definition at line 384 of file voca_load_htkdict.c. Referenced by voca_append_htkdict(), voca_load_htkdict(), voca_load_htkdict_fd(), and voca_load_htkdict_sd(). |
|
Convert whole words in word dictionary to word-internal triphone. Normally triphone conversion will be performed directly when reading dictionary file. This function is for post conversion only.
Definition at line 599 of file voca_load_htkdict.c. Referenced by final_fusion(). |
|
Look up a word on dictionary by string.
Definition at line 42 of file voca_lookup.c. Referenced by initialize_dict(), and new_str2wordseq(). |
|
Convert string of space-separated word strings to array of word ids.
Definition at line 116 of file voca_lookup.c. |
|
Return string of triphone name composed from last 3 call.
Definition at line 79 of file voca_load_htkdict.c. Referenced by cycle_triphone_flush(), new_str2phseq(), voca_load_htkdict_line(), and voca_mono2tri(). |
|
Flush the triphone buffer and return the last biphone.
Definition at line 125 of file voca_load_htkdict.c. Referenced by new_str2phseq(), voca_load_htkdict_line(), and voca_mono2tri(). |
|
Output overall word dictionary information to stdout.
Definition at line 33 of file voca_util.c. Referenced by print_info(). |
|
Output information of a word in dictionary to stdout.
Definition at line 80 of file voca_util.c. Referenced by hmm_check(), make_dfa_voca_ref(), print_info(), and wchmm_add_word(). |
|
Output information of a word in dictionary to stderr.
Definition at line 113 of file voca_util.c. |
|
Build basephone information. Extract base phones from HMM definition, mark them whether they appear on word head or word tail, and count the number.
Definition at line 380 of file chkhmmlist.c. Referenced by hmm_check(). |
|
Output general information concerning phone mapping in HMM definition.
Definition at line 394 of file chkhmmlist.c. Referenced by hmm_check(). |
|
Output all basephone informations to stdout.
Definition at line 105 of file chkhmmlist.c. Referenced by hmm_check(). |
|
Output all basephone names to stdout
Definition at line 115 of file chkhmmlist.c. Referenced by hmm_check(). |
|
Top function to check if all the possible triphones on given word dictionary actually exist in the logical HMM.
Definition at line 339 of file chkhmmlist.c. Referenced by hmm_check(). |