Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::retrieval::JelinekMercerDocModel Class Reference

Jelinek-Mercer interpolation. More...

#include <SimpleKLDocModel.hpp>

Inheritance diagram for lemur::retrieval::JelinekMercerDocModel:

lemur::retrieval::SimpleKLDocModel lemur::api::DocumentRep List of all members.

Public Member Functions

 JelinekMercerDocModel (lemur::api::DOCID_T docID, int dl, const lemur::langmod::UnigramLM &collectLM, const double *docProbMass, double collectLMWeight, SimpleKLParameter::SmoothStrategy smthStrategy=SimpleKLParameter::INTERPOLATE)
virtual ~JelinekMercerDocModel ()
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 lambda

Detailed Description

Jelinek-Mercer interpolation.

P(w|d) = (1-lambda)*Pml(w|d)+ lambda*Pc(w)


Constructor & Destructor Documentation

lemur::retrieval::JelinekMercerDocModel::JelinekMercerDocModel lemur::api::DOCID_T  docID,
int  dl,
const lemur::langmod::UnigramLM collectLM,
const double *  docProbMass,
double  collectLMWeight,
SimpleKLParameter::SmoothStrategy  smthStrategy = SimpleKLParameter::INTERPOLATE
[inline]
 

virtual lemur::retrieval::JelinekMercerDocModel::~JelinekMercerDocModel  )  [inline, virtual]
 


Member Function Documentation

virtual double lemur::retrieval::JelinekMercerDocModel::seenProb double  termFreq,
lemur::api::TERMID_T  termID
const [inline, virtual]
 

p(w|d), w seen

Implements lemur::retrieval::SimpleKLDocModel.

virtual double lemur::retrieval::JelinekMercerDocModel::unseenCoeff  )  const [inline, virtual]
 

a(d)

Implements lemur::retrieval::SimpleKLDocModel.


Member Data Documentation

double lemur::retrieval::JelinekMercerDocModel::lambda [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4