Package edu.berkeley.nlp.lm.io
Class MakeLmBinaryFromArpa
- java.lang.Object
-
- edu.berkeley.nlp.lm.io.MakeLmBinaryFromArpa
-
public class MakeLmBinaryFromArpa extends java.lang.Object
Given a language model in ARPA format, builds a binary representation of the language model and writes it to disk. Language model binaries are significantly smaller and faster to load than ARPA files.Note that if the input/output files have a
.gz
suffix, they will be unzipped/zipped as necessary.- Author:
- adampauls
-
-
Constructor Summary
Constructors Constructor Description MakeLmBinaryFromArpa()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] argv)
-