DOKK / manpages / debian 11 / sunpinyin-utils / getwordfreq.1.en
GETWORDFREQ(1) User Contributed Perl Documentation GETWORDFREQ(1)

getwordfreq - print word freq information from language model

getwordfreq [option]... -m slm-file -l lexicon

getwordfreq prints out the word string and its freq of all words in a language model.

Be verbose, output other information after word and freq for each line.
Give format for ervin.
Specify language model file.
Specify the lexicon file. A default lexicon could be found at /usr/share/sunpinyin-slm/dict.utf8.

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

slmthread(1).

2020-11-19 perl v5.32.0