#include <SimpleKLDocModel.hpp>
Inheritance diagram for lemur::retrieval::DirichletPriorDocModel:
Public Member Functions | |
DirichletPriorDocModel (lemur::api::DOCID_T docID, int dl, const lemur::langmod::UnigramLM &collectLM, const double *docProbMass, double priorWordCount, SimpleKLParameter::SmoothStrategy smthStrategy=SimpleKLParameter::INTERPOLATE) | |
virtual | ~DirichletPriorDocModel () |
virtual double | unseenCoeff () const |
a(d) | |
virtual double | seenProb (double termFreq, lemur::api::TERMID_T termID) const |
p(w|d), w seen | |
Private Attributes | |
double | mu |
P(w|d) = (c(w;d)+mu*Pc(w))/(|d|+mu)
Constructor & Destructor Documentation
|
|
|
|
|
p(w|d), w seen
Implements lemur::retrieval::SimpleKLDocModel. |
|
a(d)
Implements lemur::retrieval::SimpleKLDocModel. |
|
|