Class StringScorer
- java.lang.Object
-
- io.outofprintmagazine.nlp.pipeline.scorers.StringScorer
-
-
Field Summary
Fields Modifier and Type Field Description protected Class
annotationClass
-
Constructor Summary
Constructors Constructor Description StringScorer()
StringScorer(Class annotationClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aggregateDocument(edu.stanford.nlp.pipeline.CoreDocument document)
Class
getAnnotationClass()
void
score(edu.stanford.nlp.pipeline.CoreDocument document)
void
setAnnotationClass(Class annotationClass)
-
-
-
Field Detail
-
annotationClass
protected Class annotationClass
-
-
Constructor Detail
-
StringScorer
public StringScorer()
-
StringScorer
public StringScorer(Class annotationClass)
-
-
Method Detail
-
setAnnotationClass
public void setAnnotationClass(Class annotationClass)
-
getAnnotationClass
public Class getAnnotationClass()
-
score
public void score(edu.stanford.nlp.pipeline.CoreDocument document)
-
aggregateDocument
public Object aggregateDocument(edu.stanford.nlp.pipeline.CoreDocument document)
- Specified by:
aggregateDocument
in interfaceIScorer
-
-