Class TokenFromDependencyRelationsC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.TokenFromDependencyRelationsC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
public class TokenFromDependencyRelationsC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<String,gate.Annotation,DocumentCtx>
Generate a string with the following info: DEPrelNAME_FROMlemma_TOlemma
-
-
Constructor Summary
Constructors Constructor Description TokenFromDependencyRelationsC()
-
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)
-
-
-
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>
-
-