Main Page   Namespace List   Class Hierarchy   Alphabetical List   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 (const Counter &counter, const string &lexiconID, double vocabSize)
virtual ~LaplaceUnigramLM ()
virtual double probEstimate (TERMID_T wordIndex, double count, double sum) const
 individual model differs in its implementation of probEstimate() method


Detailed Description

Laplace-smoothed unigram language model.


Constructor & Destructor Documentation

LaplaceUnigramLM::LaplaceUnigramLM const Counter   counter,
const string &    lexiconID,
double    vocabSize
[inline]
 

virtual LaplaceUnigramLM::~LaplaceUnigramLM   [inline, virtual]
 


Member Function Documentation

virtual double LaplaceUnigramLM::probEstimate TERMID_T    wordIndex,
double    count,
double    sum
const [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 Wed Nov 3 12:59:44 2004 for Lemur Toolkit by doxygen1.2.18