public class WeightedTerm extends Object
Constructor and Description |
---|
WeightedTerm(float weight,
String term) |
Modifier and Type | Method and Description |
---|---|
String |
getTerm() |
float |
getWeight() |
void |
setTerm(String term) |
void |
setWeight(float weight) |
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 termCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.