Class AnnotatorAgreementC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.AnnotatorAgreementC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
public class AnnotatorAgreementC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
Get the agreement type of the specific kind of annotaiton.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnnotatorAgreementC.AnnotationTypeENUM
-
Constructor Summary
Constructors Constructor Description AnnotatorAgreementC(AnnotatorAgreementC.AnnotationTypeENUM annType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.upf.taln.ml.feat.base.MyString
calculateFeature(gate.Annotation obj, DocumentCtx doc, String featName)
-
-
-
Constructor Detail
-
AnnotatorAgreementC
public AnnotatorAgreementC(AnnotatorAgreementC.AnnotationTypeENUM annType)
-
-
Method Detail
-
calculateFeature
public edu.upf.taln.ml.feat.base.MyString calculateFeature(gate.Annotation obj, DocumentCtx doc, String featName)
- Specified by:
calculateFeature
in interfaceedu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
-
-