public void trainNameFinderWithCustomFeatures() throws IOException {
File baseDir = new File("src/test/resources");
File destDir = new File("target");
//<start id="ne-features"/>
AggregatedFeatureGenerator featureGenerators =
new AggregatedFeatureGenerator( //<co id="co.opennlp.name.createfeat"/>
new WindowFeatureGenerator(
new TokenFeatureGenerator(), 2, 2), //<co id="co.opennlp.name.tokenfeat"/>
new WindowFeatureGenerator(
new TokenClassFeatureGenerator(), 2, 2), //<co id="co.opennlp.name.tokenclassfeat"/>
new PreviousMapFeatureGenerator() //<co id="co.opennlp.name.prevfeat"/>