TokenNameFinderModel model = new TokenNameFinderModelLoader().load(new File(args[i]));
nameFinders[i] = new NameFinderME(model);
}
ObjectStream<String> untokenizedLineStream =
new PlainTextByLineStream(new InputStreamReader(System.in));
PerformanceMonitor perfMon = new PerformanceMonitor(System.err, "sent");
perfMon.start();
try {
String line;
while((line = untokenizedLineStream.read()) != null) {
String whitespaceTokenizerLine[] = WhitespaceTokenizer.INSTANCE.tokenize(line);
// A new line indicates a new document,
// adaptive data must be cleared for a new document