public class BinaryTFScoringFunction extends ScoringFunction
| Constructor and Description |
|---|
BinaryTFScoringFunction() |
| Modifier and Type | Method and Description |
|---|---|
float |
getMaxScore()
Returns the maximum possible score.
|
float |
getMinScore()
Returns the minimum possible score.
|
float |
getScore(int tf,
int docLen)
Computes score.
|
configure, create, getGlobalEvidence, getGlobalTermEvidence, initializepublic float getMaxScore()
ScoringFunctiongetMaxScore in class ScoringFunctionpublic float getMinScore()
ScoringFunctiongetMinScore in class ScoringFunctionpublic float getScore(int tf,
int docLen)
ScoringFunctiongetScore in class ScoringFunction