|
SPRAAK
|
Handling of the language model. More...
Data Structures | |
| struct | SprCwrClassSeq |
| struct | SprCwrPerp |
Typedefs | |
| typedef SprCwrClassSeq * | SprCwrClassSeqPtr |
Enumerations | |
| enum | { SPR_CWR_QLM_WORD, SPR_CWR_QLM_CONTEXT, SPR_CWR_QLM_NEXT, SPR_CWR_QLM_PREV, SPR_CWR_QLM_TAG, SPR_CWR_QLM_EXPLAIN, SPR_CWR_QLM_TEST_PROB, SPR_CWR_QLM_TEST_PALL } |
Functions | |
| SprCwrPerp * | spr_cwr_perp_close (SprCwrPerp *pp, int deallocate) |
| SprCwrPerp * | spr_cwr_perp_open (SprCwrPerp *pp_in, const SprCwrLMInterface *lmi, SprCwrLMInstance *lm_data, SprCwrSearchLmcHash *lmc_hash) |
| int | spr_cwr_perp_init0 (SprCwrPerp *pp, int sos) |
| void | spr_cwr_perp_init1 (SprCwrPerp *pp) |
| int | spr_cwr_perp_add_word (SprCwrPerp *pp, int word_id) |
| int | spr_cwr_perp_add_wordset (SprCwrPerp *pp, int first_wid, int last_wid) |
| Expand the word sequence with one word, but the exact word ID is unknown. More... | |
| int | spr_cwr_perp_cadd_eos (SprCwrPerp *pp) |
| int | spr_cwr_perp_get_opt_seq (SprCwrPerp *pp, float *score) |
| Find the best scoring class sequence matching the given word sequence. More... | |
| int | spr_cwr_perp_sent (SprCwrPerp *pp, SprCwrWordSeq *word_seq, int cond_sz) |
| float | spr_cwr_perp_test (const char *fname_cor, const SprCwrLMInterface *lmi, SprCwrLMInstance *lm_data, const SprCwrSLex *lex, const char *lmc_start, const char *lmc_end, SprStream *report) |
| int | spr_cwr_lm_query (SprStream *fd, int what, const SprCwrLMInterface *lmi, SprCwrLMInstance *lm_data, const SprCwrSLex *lex, const char *context_str, const char *word_str) |
| Query the language model. More... | |
Variables | |
| const SprCmdOptDesc | spr_cwr_od_lm_query [] |
Handling of the language model.
1.8.6