}
public static void main(String[] args) throws java.io.IOException {
EventStream es = new POSEventStream(new opennlp.maxent.PlainTextByLineDataStream(new java.io.InputStreamReader(System.in)),new Dictionary(args[0]));
while (es.hasNext()) {
System.out.println(es.nextEvent());
}
}
}