Provided by: sunpinyin-utils_2.0.3-5ubuntu1_amd64
slminfo - get information of a back-off language model
slminfo [option]... slm_file
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.
-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.
Originally written by Phill.Zhang <firstname.lastname@example.org>. Currently maintained by Kov.Chai <email@example.com>.