Package de.unirostock.sems.xmlutils.alg
Class XyWeighter
- java.lang.Object
-
- de.unirostock.sems.xmlutils.alg.Weighter
-
- de.unirostock.sems.xmlutils.alg.XyWeighter
-
public class XyWeighter extends Weighter
The Class XyWeighter to compute the weight of nodes and subtrees in a document based on the publication of Cobena2002.- Author:
- Martin Scharm
-
-
Constructor Summary
Constructors Constructor Description XyWeighter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetWeight(DocumentNode node)Computes the weight of a DocumentNode.doublegetWeight(TextNode node)Computes the weight of a TextNode.
-
-
-
Method Detail
-
getWeight
public double getWeight(DocumentNode node)
Description copied from class:WeighterComputes the weight of a DocumentNode.
-
-