Skip to content

Commit 7180285

Browse files
committed
Add some doc to EvaluateTreebank
1 parent 3499d27 commit 7180285

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/edu/stanford/nlp/parser/metrics/EvaluateTreebank.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,12 @@ public void summarize(PrintWriter pwErr, TreebankLanguagePack tlp) {
648648
}
649649
}
650650

651+
/**
652+
* Wrapper for a dataset which was already parsed, such as that passed in to EvaluateExternalParser.
653+
* <br>
654+
* Using this and the EvaluationDataset in general allows for scoring already known results and
655+
* the results of a parser on raw text with the same codepaths
656+
*/
651657
public static class PreparsedEvaluationDataset implements EvaluationDataset {
652658
List<Pair<ParserQuery, Tree>> testTreebank;
653659

0 commit comments

Comments
 (0)