|
SPRAAK
|
Handling of linear and tree structured lexicon descriptions. More...
Data Structures | |
| struct | SprLexOD |
| union | SprCwrLexNL |
| Nodes and links in the lexicon network: final version. More... | |
| struct | SprCwrLexDesc |
| compressed lexicon description More... | |
Typedefs | |
| typedef int(* | _FuncPtr1_CWR_LEX_ )(SprCwrLexNL *lex_ptr, int node_nr, SprCwrLexDesc *lex_desc, va_list *args;int spr_cwr_lex_desc_traverse(SprCwrLexDesc *lex_desc, _FuncPtr1_CWR_LEX_ func),...) |
Functions | |
| int | spr_cwr_lex_size (const SprCwrLexDesc *lex_desc) |
| void | spr_cwr_lex_word_print (SprStream *dest, const char *lm, int word_nr, const char *rm, const SprCwrLexDesc *lex_desc) |
| SprCwrLexDesc * | spr_cwr_lex_desc_info_free (SprCwrLexDesc *lex_desc, SprMsgId *routine) |
| SprCwrLexDesc * | spr_cwr_lex_desc_free (SprCwrLexDesc *lex_desc, SprMsgId *routine) |
| Free the lexicon description. More... | |
| void | spr_cwr_lex_desc_print (SprStream *dest, SprCwrLexDesc *lex_desc, const SprCwrPhoneDesc *ph) |
| Print the tree structured lexicon in a linear format. More... | |
| SprCwrLexNL * | spr_cwr_lex_node_next (const SprCwrLexNL *lex_ptr) |
| void | spr_cwr_lex_desc_dump (const SprCwrLexDesc *lex_desc, SprStream *fd) |
| Dump all information in the compressed/state-based lexicon. More... | |
| int | spr_cwr_lex_desc_check (SprCwrLexDesc *lex_desc, const SprCwrPhoneDesc *ph) |
| Check for errors in the lexicon network. More... | |
| int | spr_cwr_lex_desc_opt_check (SprCwrLexDesc *lex_desc, const SprCwrPhoneDesc *ph) |
| SprCwrLexDesc * | spr_cwr_lex_desc_read (SprCwrLexDesc *lex_desc, const char *lex_fname, const char *clex_fname, const SprCwrPhoneDesc *phone_desc, const char *unwind) |
| SprCwrLexDesc * | spr_cwr_lex_desc_scan (SprCwrLexDesc *lex_desc, SprCwrPhoneDesc *phone_desc, const char *unwind, const char *lex_fname) |
| int | spr_cwr_lex_sent_to_trellis (SprCwrLexDesc *lex_desc, const char *sentence, int word_level) |
| int | spr_cwr_lex_node_expands_to (SprCwrLexNL *lex_ptr, SprCwrLexNL *to) |
| char * | spr_cwr_phone_desc (char *word_str, SprCwrLexDesc *lex_desc, SprCwrPhoneDesc *ph, int compact, int wexpand_flags) |
| int | spr_cwr_lexicon_print (const char *dest, SprCwrLexDesc *lex_desc, SprCwrPhoneDesc *ph, int wexpand_flags, SprStream *progress) |
Variables | |
| const char *const | spr_cwr_special_node_str [SPR_CWR_NR_SPECIAL_NODES+1] |
| const char *const | spr_cwr_special_node_str_short [SPR_CWR_NR_SPECIAL_NODES] |
| const char *const | spr_cwr_phone_type_str [] |
| const SprOptDesc | spr_lex_load_opt_od [] |
| const SprOptDesc | spr_lex_load_req_od [] |
| const SprCmdOptDesc | spr_cwr_od_lex_unwind [] |
| SprCwrLexDesc const | spr_cwr_empty_lex_desc |
Handling of linear and tree structured lexicon descriptions.
Assimilation rules (should) work in sentence mode (vitpass, vitalign), but are very sensistive in recognition mode.
If the FULL_DEBUG flag is set during compilation (-DFULL_DEBUG), some extra debug messages and consistency tests are added. These messages and tests result in a serious overhead.
If then DAVINCIHOME environment is set, the debug information will also contain lexicon-networks in the Davinci format.
1.8.6