Tizen 2.1 base
[platform/core/uifw/ise-engine-sunpinyin.git] / doc / getWordFreq.pod
1 =head1 NAME
2
3 getWordFreq - print word freq information from language model
4
5 =head1 SYNOPSIS
6
7 B<getWordFreq> [I<option>]... B<-m> I<slm-file> B<-l> I<lexicon>
8
9 =head1 DESCRIPTION
10
11 B<getWordFreq> prints out the word string and its freq of all words in a language model.
12
13 =head1 OPTIONS
14
15 =over 4
16
17 =item B<-s> I<corpus-size>
18 Specify the training corpus's size. The default I<corpus-size> is 300000000 if not given.
19
20
21 =item B<-v>
22
23 Be verbose, output other information after word and freq for each line.
24
25
26 =item B<-e>
27
28 Give format for ervin.
29
30
31 =item B<-m> I<slm-file>
32
33 Specify language model file.
34
35
36 =item B<-l> I<lexicon>
37
38 Specify the lexicon file. A default lexicon could be found at F</usr/share/sunpinyin-slm/dict.utf8>.
39
40 =back
41
42 =head1 AUTHOR
43
44 Originally written by Phill.Zhang E<lt>phill.zhang@sun.comE<gt>.
45 Currently maintained by Kov.Chai E<lt>tchaikov@gmail.comE<gt>.
46
47 =head1 SEE ALSO
48
49 B<slmthread>(1).
50