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

LaplaceUnigramLM Class Reference

Laplace-smoothed unigram language model. More...

#include <UnigramLM.hpp>

Inheritance diagram for LaplaceUnigramLM:

SmoothedMLEstimator UnigramLM List of all members.

Public Methods

 LaplaceUnigramLM (Counter &counter,const char *lexiconID,double vocabSize)
virtual ~LaplaceUnigramLM ()
virtual double probEstimate (int wordIndex,double count,double sum)
 individual model differs in its implementation of probEstimate() method.


Detailed Description

Laplace-smoothed unigram language model.


Constructor & Destructor Documentation

LaplaceUnigramLM::LaplaceUnigramLM ( Counter & counter,
const char * lexiconID,
double vocabSize ) [inline]
 

LaplaceUnigramLM::~LaplaceUnigramLM ( ) [inline, virtual]
 


Member Function Documentation

double LaplaceUnigramLM::probEstimate ( int wordIndex,
double count,
double sum ) [inline, virtual]
 

individual model differs in its implementation of probEstimate() method.

Reimplemented from SmoothedMLEstimator.


The documentation for this class was generated from the following file:
Generated at Fri Jul 26 18:22:51 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000