Parameters params = ArgumentParser.parse(args, Parameters.class);
ParserModel parserModel = new ParserModelLoader().load(params.getParserModel());
Parser parser = ParserFactory.create(parserModel);
TokenizerModel tokenizerModel = new TokenizerModelLoader().load(params.getTokenizerModel());
Tokenizer tokenizer = new TokenizerME(tokenizerModel);
ObjectStream<String> mucDocStream = new FileToStringSampleStream(
new DirectorySampleStream(params.getData(), new FileFilter() {