Skip to content

sdli1995/SRILM

 
 

Repository files navigation

srilm-patch
Add some function to srilm toolkit
Function prune-size
Usage: ngram -lm <lm> -order order -prune-size size -write-lm <lm-pruned>
example:
ngram -lm test/word.3gram.lm -order 3 -prune-size 1000000 -write-lm test/word.prune.lm

Output:
Find best threshold 2.62e-07
Pruned model size 1002404

Packages

No packages published

Languages

  • Roff 77.5%
  • C++ 15.6%
  • C 4.4%
  • Awk 1.1%
  • Shell 1.0%
  • Makefile 0.3%
  • Other 0.1%