carta
tslmpack(1)

tslmpack1

Convert the arpa format of sunpinyin back-off language model to its binary representation

Usage

tslmpack arpa_file dict_file binary_slm_file

Overview

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

Note

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.

History

  • Debian 8 (Jessie): the text shown here
  • Debian 7 (Wheezy)

Author

Originally written by Kov.Chai <[email protected]>. Currently maintained by Kov.Chai <[email protected]>.

From sunpinyin-utils 2.0.3+git20140127-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.