---
name: "slminfo"
section: "1"
platform: "linux"
package: "sunpinyin"
version: "3.0.0rc2-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/slminfo"
---

# slminfo(1)

get information of a back-off language model

## NAME

slminfo - get information of a back-off language model

## SYNOPSIS

**slminfo** \[*option*\]... *slm\_file*

## DESCRIPTION

**slminfo** tells information of back-off language model '*slm\_file*'. It can  also print the model to ARPA format. When no option is given, slminfo will only print number of items in each level  of the language model.

## OPTIONS

- **-v**,**--verbose**

  Turn on verbose mode, printing arpa format.

- **-p**,**--pr**

  Prefer normal probability than -log(Pr) which is default. Valid under **-v** option.

- **-l**,**--lexicon** *dict\_file*

  Specify the lexicon. Valid under **-v** option. Substitute the word-id with word-text in the output.

## AUTHOR

Originally written by Phill.Zhang \<phill.zhang@sun.com\>. Currently maintained by Kov.Chai \<tchaikov@gmail.com\>.

## SEE ALSO

[**slmprune**(1)](/slmprune/1.md).
