SLMINFO(1)
π SLMINFO(1) β like, the whole vibe β¨
Okay bestie, so this one lives in the User Contributed Perl Documentation section of the manual, which honestly is exactly where you'd expect a little Perl gem like this to be chilling. Pull up a chair, we're about to get into it π«Ά
πΈ NAME πΈ
slminfo β get information of a back-off language model. That's it, that's the whole job, and it ate π
β¨ SYNOPSIS β¨
slminfo [option]... slm_file
π¦ DESCRIPTION π¦
So slminfo tells you information about a back-off language model, which we're calling slm_file. She's nosy in the best way π
She can also print the model out in ARPA format, if that's what you're into.
And here's the iconic part: when no option is given, slminfo will only print the number of items in each level of the language model. That's it. Lowkey minimalist. Main character energy honestly π
π OPTIONS π
-v,--verboseβ turn on verbose mode, which prints out the ARPA format. This is the "okay tell me everything" option, and we love her for it π-p,--prβ prefer normal probability over-log(Pr), which is the default. Heads up though: this one's only valid under the-voption, so don't try to be cute with it on its own π-l,--lexicondict_file β specify the lexicon. Also only valid under the-voption. What it does is substitute the word-id with word-text in the output, so you get actual words instead of cryptic little numbers. Slay π₯
Okay so real talk: both-pand-lare strictly-v-option girlies. If you skip-v, they're not doing anything for you, no cap π
π AUTHOR π
Originally written by Phill.Zhang <phill.zhang@sun.com>. Currently maintained by Kov.Chai <tchaikov@gmail.com>. Shoutout to the icons who keep her alive π«Ά
π§ SEE ALSO π§
slmprune(1) β go check out her sibling, iykyk π
And that's the page, bestie! This little beauty is from perl v5.36.0, dated 2023-08-08 β so go forth, run slminfo, and understand your back-off language model the way it was always meant to be understood. Periodt. π
β¨π
π¦ 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