libzhuyin man page

libzhuyin — Library to deal with zhuyin

Description

The libzhuyin project aims to provide the algorithms core for intelligent sentence-based Chinese zhuyin input methods.

Tools

gen_binary_files - generate initially binary zhuyin libraries import_interpolation - import libzhuyin textual format model data gen_unigram - increase the unigram frequency for all phrases

Usage

gen_binary_files --table-dir <DIRNAME>

--table-dir Read textual format files from the <DIRNAME> directory.

import_interpolation < <MODELFILE>

gen_unigram

Example

Download the model.text.tar.gz, and extracts all files into the data sub-directory, then run the commands below to generate the binary model data.

gen_binary_files --table-dir ../data

import_interpolation < ../data/interpolation.text

gen_unigram

Info

Fed 2012 libzhuyin User Commands