Esempio n. 1
0
 public void initializeCCLParserEval() throws EvalError, CorpusError {
   checkNPsGoldStandard();
   checkPPsGoldStandard();
   checkClumpGoldStandard();
   treebankEval = new TreebankEval("asTrees", getGoldUnlabeledBracketSets());
   npsEval = ChunkingEval.fromChunkedCorpus(OutputType.NPS, npsGoldStandard);
   clumpsEval = ChunkingEval.fromChunkedCorpus(OutputType.CLUMP, clumpGoldStandard);
   ubsFromClumpsEval =
       new TreebankEval("clumps Recall", clumpGoldStandard.toUnlabeledBracketSetCorpus());
   ubsFromNPsEval = new TreebankEval("NPs Recall", npsGoldStandard.toUnlabeledBracketSetCorpus());
   ubsFromPPsEval = new TreebankEval("PPs Recall", ppsGoldStandard.toUnlabeledBracketSetCorpus());
 }