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]
 

virtual LaplaceUnigramLM::~LaplaceUnigramLM   [inline, virtual]
 


Member Function Documentation

virtual double LaplaceUnigramLM::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 Mon Sep 30 14:14:10 2002 for LEMUR by doxygen1.2.18