public class SpamPercentileScore extends Object implements DocScoreTable
Constructor and Description |
---|
SpamPercentileScore() |
Modifier and Type | Method and Description |
---|---|
int |
getDocCount()
Returns number of documents in the collection.
|
int |
getDocnoOffset()
Returns the first docno in this collection.
|
byte |
getRawScore(int docno) |
float |
getScore(int docno)
Returns the length of a document.
|
void |
initialize(String file,
FileSystem fs)
Initializes this object.
|
static void |
main(String[] args) |
public int getDocCount()
DocScoreTable
getDocCount
in interface DocScoreTable
public int getDocnoOffset()
DocScoreTable
getDocnoOffset
in interface DocScoreTable
public byte getRawScore(int docno)
public float getScore(int docno)
getScore
in interface DocScoreTable
public void initialize(String file, FileSystem fs) throws IOException
DocScoreTable
initialize
in interface DocScoreTable
IOException