edu.berkeley.nlp.lm.io
Class MakeNgramMapBinaryFromGoogle

java.lang.Object
  extended by edu.berkeley.nlp.lm.io.MakeNgramMapBinaryFromGoogle

public class MakeNgramMapBinaryFromGoogle
extends Object

Like MakeLmBinaryFromGoogle, except it only writes the NgramMap portion of the LM, meaning the binary does not contain the vocabulary. We have used this internally to build binaries that we provide for download. Since these binaries are useless without the vocabulary provided with the Google n-gram corpus, we can distribute them without incurring the wrath of the LDC.

These binaries can be read in used LmReaders.readGoogleLmBinary(String, edu.berkeley.nlp.lm.WordIndexer, String)

Author:
adampauls

Constructor Summary
MakeNgramMapBinaryFromGoogle()
           
 
Method Summary
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MakeNgramMapBinaryFromGoogle

public MakeNgramMapBinaryFromGoogle()
Method Detail

main

public static void main(String[] argv)