1SLMPRUNE(1) User Contributed Perl Documentation SLMPRUNE(1)
2
3
4
6 slmprune - prune the back-off language model to a reasonable size
7
9 slmprune input_slm result_slm cut_option num...
10
12 This program uses entropy-based method to prune the size of back-off
13 language model 'input_slm' to a specific size and write to
14 'result_slm'.
15
16 the third parameter cut_option can be [R|C]. It means the following
17 numbers is the number for (R)eserve or (C)ut. If (C)ut, the num[k]
18 means how many items in level K would be cut. If (R)eserve, num[k]
19 means how many item would be reserved in level k.
20
21 Note that we do not ensure that during pruning process, exactly the
22 the given number of items are cut or reserved, because some items may
23 contains high level children, so could not be cut.
24
25 Also it's your responsibility to give right number of arguments based
26 on 'input_slm'.
27
29 To get information of the back-off language model, try 'slminfo'.
30
32 Originally written by Phill.Zhang <phill.zhang@sun.com>. Currently
33 maintained by Kov.Chai <tchaikov@gmail.com>.
34
36 slminfo(1), slmthread(1).
37
38
39
40perl v5.38.0 2023-07-22 SLMPRUNE(1)