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"/>
);
/*<calloutlist>
<callout arearefs="co.opennlp.name.createfeat"><para>Creates an aggregated feature generator containing the 3 generators defined below.</para></callout>