Class DERIV_CITSprevNextSentencesC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.DERIV_CITSprevNextSentencesC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
public class DERIV_CITSprevNextSentencesC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
Retrieve if the main verb of the sentence is active or passive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DERIV_CITSprevNextSentencesC.REF_SENT_AND_TYPE
-
Constructor Summary
Constructors Constructor Description DERIV_CITSprevNextSentencesC(DERIV_CITSprevNextSentencesC.REF_SENT_AND_TYPE type)
Token annotation set and name
-
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
-
DERIV_CITSprevNextSentencesC
public DERIV_CITSprevNextSentencesC(DERIV_CITSprevNextSentencesC.REF_SENT_AND_TYPE type)
Token annotation set and name- Parameters:
tokenAnnotationSet
-tokenAnnotationName
-
-
-
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>
-
-