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
  • Constructor Details

    • MakeLmBinaryFromArpa

      public MakeLmBinaryFromArpa()
  • Method Details

    • main

      public static void main(String[] argv)