public interface ScoringFunction
| Modifier and Type | Method and Description |
|---|---|
float |
computePhraseScore(int dl,
int tf,
GlobalStats stats)
Computes phrase feature value.
|
float |
computeTermScore(int term,
int dl,
int tf,
GlobalStats stats)
Computes term feature value.
|
float computePhraseScore(int dl,
int tf,
GlobalStats stats)
dl - Document lengthtf - Phrase frequencystats - Global statisticsfloat computeTermScore(int term,
int dl,
int tf,
GlobalStats stats)
dl - Document lengthtf - Term frequencystats - Global statistics