public class Pmra extends ScoringModel
Constructor and Description |
---|
Pmra() |
Modifier and Type | Method and Description |
---|---|
float |
computeDocumentWeight(int tf,
int len) |
float |
computeQueryWeight(int tf,
int len) |
float |
computeScore(int q_tf,
int d_tf,
int q_len,
int doc_len) |
computeDocumentWeight, computeQueryWeight, computeScore, setAvgDocLength, setDF, setDocCount
public float computeDocumentWeight(int tf, int len)
computeDocumentWeight
in class ScoringModel
public float computeQueryWeight(int tf, int len)
computeQueryWeight
in class ScoringModel
public float computeScore(int q_tf, int d_tf, int q_len, int doc_len)
computeScore
in class ScoringModel