#include <OkapiRetMethod.hpp>
Inheritance diagram for lemur::retrieval::OkapiRetMethod:
Public Member Functions | |
OkapiRetMethod (const lemur::api::Index &dbIndex, lemur::api::ScoreAccumulator &accumulator) | |
virtual | ~OkapiRetMethod () |
virtual lemur::api::TextQueryRep * | computeTextQueryRep (const lemur::api::TermQuery &qry) |
virtual lemur::api::DocumentRep * | computeDocRep (lemur::api::DOCID_T docID) |
compute the doc representation (caller responsible for deleting the memory of the generated new instance) | |
virtual lemur::api::ScoreFunction * | scoreFunc () |
return the scoring function pointer | |
virtual void | updateTextQuery (lemur::api::TextQueryRep &origRep, const lemur::api::DocIDSet &relDocs) |
It's suspected that there is a bug in the implementation of feedback; the performance is not as expected. | |
void | setTFParam (OkapiParameter::TFParam &tfWeightParam) |
void | setFeedbackParam (OkapiParameter::FeedbackParam &feedbackParam) |
Static Public Member Functions | |
double | RSJWeight (double r, double R, double n, double N) |
Compute the Robertson Spark Jones Weight. | |
Protected Attributes | |
OkapiScoreFunc * | scFunc |
OkapiParameter::TFParam | tfParam |
OkapiParameter::FeedbackParam | fbParam |
|
|
|
|
|
compute the doc representation (caller responsible for deleting the memory of the generated new instance)
Implements lemur::api::TextQueryRetMethod. |
|
|
|
Compute the Robertson Spark Jones Weight.
|
|
return the scoring function pointer
Implements lemur::api::TextQueryRetMethod. |
|
|
|
|
|
It's suspected that there is a bug in the implementation of feedback; the performance is not as expected.
|
|
|
|
|
|
|