getwordfreq(1)

getwordfreq1

Print word freq information from language model

Usage

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

Overview

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

Options

-s corpus-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.

-m slm-file

Specify language model file.

-l lexicon

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

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Author

Originally written by Phill.Zhang <[email protected]>. Currently maintained by Kov.Chai <[email protected]>.

From sunpinyin 3.0.0rc2-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.