WeightedSpanTermpublic class WeightedTerm extends Object
| Constructor | Description |
|---|---|
WeightedTerm(float weight,
String term) |
| Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.