Provided by: sunpinyin-utils_2.0.3+git20130507-1ubuntu1_amd64
tslmpack - convert the ARPA format of SunPinyin back-off language model to its binary representation
tslmpack arpa_file dict_file binary_slm_file
tslmpack 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 tslminfo, and then convert it back using tslmpack, 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 <firstname.lastname@example.org>. Currently maintained by Kov.Chai <email@example.com>.