public class MakeKneserNeyArpaFromText extends Object
ngram-count -text <text file> -ukndiscount -lm <outputfile>)
, with two main exceptions: Note that if the input/output files have a .gz suffix, they will be unzipped/zipped as necessary. If no input files or given (or "-" is specified), lines will be read from standard input.
Constructor and Description |
---|
MakeKneserNeyArpaFromText() |
public static void main(String[] argv)