#include <sent/stddefs.h>
#include <sent/ngram2.h>
#include <sent/vocabulary.h>
Include dependency graph for init_ngram.c:
Go to the source code of this file.
Functions | |
void | init_ngram_bin (NGRAM_INFO *ndata, char *bin_ngram_file) |
void | init_ngram_arpa (NGRAM_INFO *ndata, char *ngram_lr_file, char *ngram_rl_file) |
void | make_voca_ref (NGRAM_INFO *ndata, WORD_INFO *winfo) |
Definition in file init_ngram.c.
|
Read and setup N-gram data from binary format file.
Definition at line 35 of file init_ngram.c. |
|
Read and setup N-gram data from ARPA format files of 2-gram and 3-gram.
Definition at line 60 of file init_ngram.c. |
|
Make correspondence between word dictionary and N-gram vocabulary.
Definition at line 100 of file init_ngram.c. |