SLMPACK(1)
πΈ NAME πΈ
okay so weβre talking about slmpack(1) β yes, from the User Contributed Perl Documentation β and itβs the tool that converts the ARPA format of a SunPinyin back-off language model to its binary representation. π
β¨
π SYNOPSIS π
slmpack arpa_file dict_file binary_slm_file
π¦ DESCRIPTION π¦
slmpack converts the ARPA format of a threaded SunPinyin back-off language model to its binary representation. thatβs the whole vibe: ARPA in, binary out, slay. π₯
π NOTE π
bestie, listen: if you convert a language model to ARPA format usingslminfo, and then convert it back usingslmpack, the check-sum of the 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. no cap, thatβs literally the caveat.
π AUTHOR π
Originally written by Kov.Chai <tchaikov@gmail.com>. Currently maintained by Kov.Chai <tchaikov@gmail.com>. π«Ά
π SEE ALSO π
slminfo(1). go read that one too, iykyk. π
mwah π this page was brewed with perl v5.36.0 and dated 2023-08-08. π
π¦ where this page comes from
- ubuntu noble: sunpinyin-utils 3.0.0~rc2+ds1-5 Β· LGPL-2.1-only OR CDDL
- ubuntu questing: sunpinyin-utils 3.0.0~rc2+ds1-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms