#include <DocumentRep.hpp>
Inheritance diagram for lemur::api::DocumentRep:
Public Member Functions | |
DocumentRep (DOCID_T docID, int dl=1) | |
virtual | ~DocumentRep () |
virtual double | termWeight (TERMID_T termID, const DocInfo *info) const =0 |
term weighting function TextQueryRetMethod | |
virtual double | scoreConstant () const =0 |
doc-specific constant term in the scoring formula TextQueryRetMethod | |
void | setDocLength (int len) |
int | getDocLength () const |
DOCID_T | getID () const |
Protected Attributes | |
DOCID_T | id |
int | docLength |
|
|
|
|
|
get the length of the document. Used by PassageRep.
|
|
get the document id. Used by PassageRep.
|
|
doc-specific constant term in the scoring formula TextQueryRetMethod
Implemented in lemur::retrieval::CORIDocRep, lemur::retrieval::CosSimDocRep, lemur::retrieval::OkapiDocRep, lemur::retrieval::PassageRep, lemur::retrieval::SimpleKLDocModel, lemur::retrieval::StructQryDocRep, lemur::retrieval::TFIDFDocRep, and lemur::retrieval::XLingDocModel. |
|
set the length of the document. Used by PassageRep.
|
|
term weighting function TextQueryRetMethod
|
|
|
|
|