=head1 NAME genpyt - generate the PINYIN lexicon =head1 SYNOPSIS B I I I I =head1 DESCRIPTION B is used to generate the PINYIN lexicon. It only works on zh_CN.UTF-8 locale. =head1 ARGUMENTS =over 4 =item I Specify a dictionary file. It should be a line-based text file in utf-8 encoding . Each line looks like: CCC id [pinyin'pinyin'pinyin]* A default dictionary file can be found at F. =item I The output binary PINYIN lexicon file. This lexicon contains a trie presenting the key tree of PINYIN. And all of the candiate words are sorted using the unigram in I. This file can be used with sunpinyin input method engines. =item I Specify the file to where the log goes. The I can be seen as the human-readble presentation of the binary output file. =item I The language model from which the unigram information are retrieved. Typically, the I is generated by B. =back =head1 AUTHOR Originally written by Phill.Zhang Ephill.zhang@sun.comE. Currently maintained by Kov.Chai Etchaikov@gmail.comE. =head1 SEE ALSO B(1).