logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

getwordfreq - print word freq information from language model

Author

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

Description

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

Name

       getwordfreq - print word freq information from language model

Options

-scorpus-size Specify the training corpus's size. The default corpus-size is 300000000 if not given.
       -v  Be verbose, output other information after word and freq for each line.

       -e  Give format for ervin.

       -mslm-file
           Specify language model file.

       -llexicon
           Specify the lexicon file. A default lexicon could be found at /usr/share/sunpinyin-slm/dict.utf8.

See Also

slmthread(1).

perl v5.36.0                                       2023-08-08                                     GETWORDFREQ(1)

Synopsis

getwordfreq [option]... -mslm-file-llexicon

See Also