private static void execute(File[] inputFiles, File modelFile)
throws IOException, FileNotFoundException {
//<start id="maxent.examples.test.setup"/>
NameFinderFeatureGenerator nffg //<co id="tmx.feature"/>
= new NameFinderFeatureGenerator();
BagOfWordsFeatureGenerator bowfg
= new BagOfWordsFeatureGenerator();
InputStream modelStream = //<co id="tmx.modelreader"/>
new FileInputStream(modelFile);
DoccatModel model = new DoccatModel(modelStream);
DocumentCategorizer categorizer //<co id="tmx.categorizer"/>