1LIBPINYIN(1)                     User Commands                    LIBPINYIN(1)
2
3
4

NAME

6       libpinyin - Library to deal with pinyin
7
8

DESCRIPTION

10       The  libpinyin project aims to provide the algorithms core for intelli‐
11       gent sentence-based Chinese pinyin input methods.
12
13

TOOLS

15       gen_binary_files  -  generate   initially   binary   pinyin   libraries
16       import_interpolation  -  import  libpinyin  textual  format  model data
17       gen_unigram - increase the unigram frequency for all phrases
18
19

USAGE

21       gen_binary_files --table-dir <DIRNAME>
22
23              --table-dir Read textual format files from the <DIRNAME>  direc‐
24                     tory.
25
26       import_interpolation < <MODELFILE>
27
28       gen_unigram
29
30

EXAMPLE

32       Download  the  model.text.tar.gz,  and extracts all files into the data
33       sub-directory, then run the commands below to generate the binary model
34       data.
35
36              gen_binary_files --table-dir ../data
37
38              import_interpolation < ../data/interpolation.text
39
40              gen_unigram
41
42
43
44libpinyin                          Fed 2012                       LIBPINYIN(1)
Impressum