Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DirichletUnigramLM Class Reference

Dirichlet prior smoothing. More...

#include <UnigramLM.hpp>

Inheritance diagram for DirichletUnigramLM:

SmoothedMLEstimator UnigramLM List of all members.

Public Methods

 DirichletUnigramLM (Counter &counter, const char *lexiconID, UnigramLM &refLM, double priorSampleSize)
virtual ~DirichletUnigramLM ()
virtual double probEstimate (int wordIndex, double count, double sum)
 individual model differs in its implementation of probEstimate() method


Detailed Description

Dirichlet prior smoothing.


Constructor & Destructor Documentation

DirichletUnigramLM::DirichletUnigramLM Counter   counter,
const char *    lexiconID,
UnigramLM   refLM,
double    priorSampleSize
[inline]
 

virtual DirichletUnigramLM::~DirichletUnigramLM   [inline, virtual]
 


Member Function Documentation

virtual double DirichletUnigramLM::probEstimate int    wordIndex,
double    count,
double    sum
[inline, virtual]
 

individual model differs in its implementation of probEstimate() method

Implements SmoothedMLEstimator.


The documentation for this class was generated from the following file:
Generated on Tue Nov 25 11:27:06 2003 for Lemur Toolkit by doxygen1.2.18