-
Notifications
You must be signed in to change notification settings - Fork 11
libpinyin playground
epico edited this page Oct 25, 2010
·
8 revisions
Note: this document is provided for interested users and developers to try libpinyin - library to deal with pinyin. This is just a preview, no official support yet.
-
create data sub-directory in libpinyin;
-
download pinyin-tables.tar.gz and interpolation.model.text.gz from github.com/epico;
-
extracts all textual format model files from pinyin-tables.tar.gz and interpolation.model.text.gz into data sub-directory;
-
enter "utils/storage/" sub-directory;
-
run "gen_binary_files" to generate binary tables.
-
run "./import_interpolation < ../../data/interpolation.model.text" to generate binary bi-gram model file.