public class ComputeLogProbabilityOfTextStream extends Object
-g
option, it interprets the next two arguments as a vocab_cs.gz
file (see LmReaders
for more detail) and a Berkeley LM binary,
respectively. Without -g
, it interprets the next file as a
Berkeley LM binary. All remaining files are treated as plain-text (possibly
gzipped) files which have one sentence per line; a dash is used to indicate
that text should from standard input. If no files are given, reads from
standard input.Constructor and Description |
---|
ComputeLogProbabilityOfTextStream() |
public static void main(String[] argv) throws FileNotFoundException, IOException
FileNotFoundException
IOException