edu.berkeley.nlp.lm.io
Class MakeLmBinaryFromArpa
java.lang.Object
edu.berkeley.nlp.lm.io.MakeLmBinaryFromArpa
public class MakeLmBinaryFromArpa
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MakeLmBinaryFromArpa
public MakeLmBinaryFromArpa()
main
public static void main(String[] argv)