Class TreeMaxDepthOfDependencyRelationsC
- java.lang.Object
-
- edu.upf.taln.dri.module.rhetclassifier.feats.generator.TreeMaxDepthOfDependencyRelationsC
-
- All Implemented Interfaces:
edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
public class TreeMaxDepthOfDependencyRelationsC extends Object implements edu.upf.taln.ml.feat.base.FeatCalculator<Double,gate.Annotation,DocumentCtx>
Count the max depth of the dependency relation tree
-
-
Constructor Summary
Constructors Constructor Description TreeMaxDepthOfDependencyRelationsC()
-
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)
-
-
-
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>
-
-