Class RhetoricalGSGetterC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.RhetoricalGSGetterC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
public class RhetoricalGSGetterC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
Get the GS rhetorical anntoation of the sentence
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RhetoricalGSGetterC.CLASS_TYPE_RHET
-
Constructor Summary
Constructors Constructor Description RhetoricalGSGetterC(RhetoricalGSGetterC.CLASS_TYPE_RHET classPerc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.upf.taln.ml.feat.base.MyDouble
calculateFeature(gate.Annotation obj, DocumentCtx doc, String featName)
-
-
-
Constructor Detail
-
RhetoricalGSGetterC
public RhetoricalGSGetterC(RhetoricalGSGetterC.CLASS_TYPE_RHET classPerc)
-
-
Method Detail
-
calculateFeature
public edu.upf.taln.ml.feat.base.MyDouble calculateFeature(gate.Annotation obj, DocumentCtx doc, String featName)
- Specified by:
calculateFeature
in interfaceedu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
-
-