#include <SimpleKLDocModel.hpp>
Inheritance diagram for JelinekMercerDocModel:

Public Methods | |
| JelinekMercerDocModel (int docID, Index *referenceIndex, UnigramLM &collectLM, double *docProbMass, double collectLMWeight, SimpleKLParameter::SmoothStrategy smthStrategy=SimpleKLParameter::INTERPOLATE) | |
| virtual | ~JelinekMercerDocModel () |
| virtual double | unseenCoeff () |
| a(d) | |
| virtual double | seenProb (double termFreq, int termID) |
| p(w|d), w seen | |
Private Attributes | |
| Index * | refIndex |
| double * | docPrMass |
| double | lambda |
| SimpleKLParameter::SmoothStrategy | strategy |
P(w|d) = (1-lambda)*Pml(w|d)+ lambda*Pc(w)
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
p(w|d), w seen
Implements SimpleKLDocModel. |
|
|
a(d)
Implements SimpleKLDocModel. |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16