lm::ngram::RuleScore< M > Class Template Reference

#include <left.hh>

Collaboration diagram for lm::ngram::RuleScore< M >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RuleScore (const M &model, ChartState &out)
void BeginSentence ()
void Terminal (WordIndex word)
void BeginNonTerminal (const ChartState &in, float prob=0.0)
void NonTerminal (const ChartState &in, float prob=0.0)
float Finish ()
void Reset ()
void Reset (ChartState &replacement)


Detailed Description

template<class M>
class lm::ngram::RuleScore< M >

Definition at line 52 of file left.hh.


Constructor & Destructor Documentation

template<class M>
lm::ngram::RuleScore< M >::RuleScore ( const M &  model,
ChartState out 
) [inline, explicit]


Member Function Documentation

template<class M>
void lm::ngram::RuleScore< M >::BeginNonTerminal ( const ChartState in,
float  prob = 0.0 
) [inline]

Definition at line 81 of file left.hh.

References lm::ngram::Left::full, lm::ngram::ChartState::left, and prob().

Here is the call graph for this function:

template<class M>
void lm::ngram::RuleScore< M >::BeginSentence (  )  [inline]

Definition at line 59 of file left.hh.

References lm::ngram::ChartState::right.

Referenced by search::ScoreRule().

Here is the caller graph for this function:

template<class M>
float lm::ngram::RuleScore< M >::Finish (  )  [inline]

template<class M>
void lm::ngram::RuleScore< M >::NonTerminal ( const ChartState in,
float  prob = 0.0 
) [inline]

template<class M>
void lm::ngram::RuleScore< M >::Reset ( ChartState replacement  )  [inline]

Definition at line 164 of file left.hh.

References lm::ngram::RuleScore< M >::Reset().

Here is the call graph for this function:

template<class M>
void lm::ngram::RuleScore< M >::Reset (  )  [inline]

Definition at line 158 of file left.hh.

References lm::ngram::ChartState::left, lm::ngram::State::length, lm::ngram::Left::length, and lm::ngram::ChartState::right.

Referenced by lm::ngram::RuleScore< M >::Reset(), and search::ScoreRule().

Here is the caller graph for this function:

template<class M>
void lm::ngram::RuleScore< M >::Terminal ( WordIndex  word  )  [inline]


The documentation for this class was generated from the following file:

Generated on Wed Apr 23 00:30:44 2014 for Moses by  doxygen 1.5.9