Parameters params = ArgumentParser.parse(args, Parameters.class);
ObjectStream<POSSample> posSampleStream = StreamFactoryRegistry.getFactory(POSSample.class,
ConllXPOSSampleStreamFactory.CONLLX_FORMAT).create(
ArgumentParser.filter(args, ConllXPOSSampleStreamFactory.Parameters.class));
return new POSToSentenceSampleStream(createDetokenizer(params), posSampleStream, 30);
}