Skip to content

Commit 60c685e

Browse files
committed
MentionsAnnotation is used by KBP but isn't set... this certainly looks like it should be a requirement, not a satisfied
1 parent 92a7227 commit 60c685e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edu/stanford/nlp/pipeline/KBPAnnotator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,6 @@ else if (acceptableTriple && triple.confidence > relationStringsToTriples.get(tr
657657
@Override
658658
public Set<Class<? extends CoreAnnotation>> requirementsSatisfied() {
659659
Set<Class<? extends CoreAnnotation>> requirements = new HashSet<>(Arrays.asList(
660-
CoreAnnotations.MentionsAnnotation.class,
661660
CoreAnnotations.KBPTriplesAnnotation.class
662661
));
663662
return Collections.unmodifiableSet(requirements);
@@ -677,6 +676,7 @@ public Set<Class<? extends CoreAnnotation>> requires() {
677676
SemanticGraphCoreAnnotations.BasicDependenciesAnnotation.class,
678677
SemanticGraphCoreAnnotations.CollapsedDependenciesAnnotation.class,
679678
SemanticGraphCoreAnnotations.CollapsedCCProcessedDependenciesAnnotation.class,
679+
CoreAnnotations.MentionsAnnotation.class,
680680
CoreAnnotations.OriginalTextAnnotation.class
681681
));
682682
return Collections.unmodifiableSet(requirements);

0 commit comments

Comments
 (0)