Tizen 2.1 base
[platform/core/uifw/ise-engine-sunpinyin.git] / doc / slmprune.pod
1 =head1 NAME
2
3 slmprune - prune the back-off language model to a reasonable size
4
5 =head1 SYNOPSIS
6
7 B<slmprune> I<input_slm> I<result_slm> I<cut_option> I<num>...
8
9 =head1 DESCRIPTION
10
11 This program uses entropy-based method to prune the size of back-off 
12 language model 'I<input_slm>' to a specific size and write to 'I<result_slm>'. 
13
14 the third parameter I<cut_option> can be [B<R>|B<C>]. It means the following numbers is the number for
15 (B<R>)eserve or (B<C>)ut. If (B<C>)ut, the num[k] means how many items in level K
16 would be cut. If (B<R>)eserve, num[k] means how many item would be reserved
17 in level k. 
18
19 Note that we do not ensure that during pruning process,  exactly the
20 the given number of items are cut or reserved, because some items may 
21 contains high level children, so could not be cut. 
22
23 Also it's your responsiblity to give right number of arguments based
24 on 'input_slm'.
25
26
27 =head1 NOTE
28
29 To get information of the back-off language model, try 'B<slminfo>'.
30
31
32 =head1 AUTHOR
33
34 Originally written by Phill.Zhang E<lt>phill.zhang@sun.comE<gt>.
35 Currently maintained by Kov.Chai E<lt>tchaikov@gmail.comE<gt>.
36
37 =head1 SEE ALSO
38
39 B<slminfo>(1), B<slmthread>(1).
40