1GETWORDFREQ(1) User Contributed Perl Documentation GETWORDFREQ(1)
2
3
4
6 getwordfreq - print word freq information from language model
7
9 getwordfreq [option]... -m slm-file -l lexicon
10
12 getwordfreq prints out the word string and its freq of all words in a
13 language model.
14
16 -s corpus-size Specify the training corpus's size. The default corpus-
17 size is 300000000 if not given.
18 -v Be verbose, output other information after word and freq for each
19 line.
20
21 -e Give format for ervin.
22
23 -m slm-file
24 Specify language model file.
25
26 -l lexicon
27 Specify the lexicon file. A default lexicon could be found at
28 /usr/share/sunpinyin-slm/dict.utf8.
29
31 Originally written by Phill.Zhang <phill.zhang@sun.com>. Currently
32 maintained by Kov.Chai <tchaikov@gmail.com>.
33
35 slmthread(1).
36
37
38
39perl v5.32.1 2021-01-27 GETWORDFREQ(1)