Class DERIV_PassiveModalTenseC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.DERIV_PassiveModalTenseC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
public class DERIV_PassiveModalTenseC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<String,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_PassiveModalTenseC.PASSIVE_MODAL_TENSE
-
Constructor Summary
Constructors Constructor Description DERIV_PassiveModalTenseC(String tokenAnnotationSet, String tokenAnnotationName, DERIV_PassiveModalTenseC.PASSIVE_MODAL_TENSE 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.MyString
calculateFeature(gate.Annotation obj, DocumentCtx doc, String featName)
-
-
-
Constructor Detail
-
DERIV_PassiveModalTenseC
public DERIV_PassiveModalTenseC(String tokenAnnotationSet, String tokenAnnotationName, DERIV_PassiveModalTenseC.PASSIVE_MODAL_TENSE type)
Token annotation set and name- Parameters:
tokenAnnotationSet
-tokenAnnotationName
-
-
-
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>
-
-