Calculates the weighting based upon the distance to the current label in
the following manner: weight=(1/distance to focus word)
but also gives a higher weight to content words. The index term
(word) should be in the form word_pos for this
WeightingScheme to work properly.
applyLeftWeighting(RandomLabel focusLabel,
int distance,
RandomLabel leftContextLabel)
Calculates the weight based upon the distance (in the left context) to
the current label in the following manner: weight=(1/distance to focus word)
float[]
applyRightWeighting(RandomLabel focusLabel,
int distance,
RandomLabel rightContextLabel)
Calculates the weight based upon the distance (in the right context) to
the current label in the following manner: weight=(1/distance to focus word)
Methods inherited from class moj.ri.weighting.WeightingScheme