public class WeightedTerm extends Object
Constructor and Description |
---|
WeightedTerm(float weight,
String term) |
public WeightedTerm(float weight, String term)
public String getTerm()
public float getWeight()
public void setTerm(String term)
term
- the term value (stemmed)public void setWeight(float weight)
weight
- the weight associated with this term