slminfo(1)

get information of a back-off language model

Section 1 sunpinyin-utils bookworm source

Description

SLMINFO

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