DfModelBuilder { public void buildKeyphraseCandidateModel(CandidateSet candidateSet, File outputFile) { buildModel(candidateSet, Keyphrase.class.getName(), outputFile); } DfModelBuilder(String language, File inputDir, String suffix);  DfModelBuilder(String language, File inputDir); void buildStemModel(File outputFile); void buildTokenModel(File outputFile); void buildLemmaModel(File outputFile); void buildKeyphraseCandidateModel(CandidateSet candidateSet,
			File outputFile);  }
@Test public void buildCandidateModel() { DfModelBuilder t = new DfModelBuilder(LANGUAGE, new File(INPUT_DIR), INPUT_SUFFIX); NChunkCandidateSet candidateSet = new NChunkCandidateSet(); candidateSet.setResolveOverlaps(false); t.buildKeyphraseCandidateModel(candidateSet, new File(OUTPUT_DIR + "ne.dfmodel")); }