I've attached a file that loads either a google binary or regular Berkeley LM binary (which already has the vocab) and computes the log-prob of a set of files (or STDIN if none is given, in standard UNIX style). I'll release a new version of the code with this file available shortly.By the way, it's hard for me to tell why this is hard to figure out how to do (because I know the code so well). Can you tell me what documentation you read and what you blocked on, so I can figure out the weak points in the documentation?
java -cp $JOSHUA/lib/berkeleylm.jar -server -mxMEM edu.berkeley.nlp.lm.io.MakeLmBinaryFromArpa lm.arpa lm.berkeleylm
.
Thanks a lot for your help.
--
You received this message because you are subscribed to the Google Groups "berkeleylm-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylm-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.