Class 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
    • Method Detail

      • calculateFeature

        public edu.upf.taln.ml.feat.base.MyDouble calculateFeature​(gate.Annotation obj,
                                                                   DocumentCtx doc,
                                                                   String featName)
        Specified by:
        calculateFeature in interface edu.upf.taln.ml.feat.base.FeatCalculator<Double,​gate.Annotation,​DocumentCtx>