#include <UnigramLM.hpp>
Inheritance diagram for lemur::langmod::DirichletUnigramLM:
Public Member Functions | |
DirichletUnigramLM (const lemur::utility::Counter &counter, const string &lexiconID, const UnigramLM &refLM, double priorSampleSize) | |
virtual | ~DirichletUnigramLM () |
virtual double | probEstimate (lemur::api::TERMID_T wordIndex, double count, double sum) const |
individual model differs in its implementation of probEstimate() method | |
Private Attributes | |
const UnigramLM * | ref |
double | s |
prior sample size |
|
|
|
|
|
individual model differs in its implementation of probEstimate() method
Implements lemur::langmod::SmoothedMLEstimator. |
|
|
|
prior sample size
|