DOKK / manpages / debian 12 / sunpinyin-utils / slmpack.1.en
SLMPACK(1) User Contributed Perl Documentation SLMPACK(1)

slmpack - convert the ARPA format of SunPinyin back-off language model to its binary representation

slmpack arpa_file dict_file binary_slm_file

slmpack converts the ARPA format of a threaded SunPinyin back-off language model to its binary representation.

If you convert a language model to ARPA format using slminfo, and then convert it back using slmpack, the check-sum of generated binary file may be different from that of the original one. The reason is the padding bits in the n-gram instances are not initialized before writing the data out.

Originally written by Kov.Chai <tchaikov@gmail.com>. Currently maintained by Kov.Chai <tchaikov@gmail.com>.

slminfo(1).

2022-09-18 perl v5.34.0