ChunkerME chunker = new ChunkerME(model, ChunkerME.DEFAULT_BEAM_SIZE,
new DefaultChunkerSequenceValidator());
ObjectStream<String> lineStream =
new PlainTextByLineStream(new InputStreamReader(System.in));
PerformanceMonitor perfMon = new PerformanceMonitor(System.err, "sent");
perfMon.start();
try {
String line;
while ((line = lineStream.read()) != null) {
POSSample posSample;
try {
posSample = POSSample.parse(line);
} catch (InvalidFormatException e) {