slmpack(1)

slmpack1

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

Usage

slmpack arpa_file dict_file binary_slm_file

Overview

slmpack 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 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.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Author

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

From sunpinyin 3.0.0rc2-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.