#include <ExampleLM.h>


Public Member Functions | |
| ExampleLM (const std::string &line) | |
| ~ExampleLM () | |
| virtual LMResult | GetValue (const std::vector< const Word * > &contextFactor, State *finalState=0) const |
Definition at line 10 of file ExampleLM.h.
| Moses::ExampleLM::ExampleLM | ( | const std::string & | line | ) |
Definition at line 9 of file ExampleLM.cpp.
References Moses::FactorCollection::AddFactor(), BOS_, EOS_, Moses::FactorCollection::Instance(), Moses::LanguageModelSingleFactor::m_factorType, Moses::LanguageModelImplementation::m_nGramOrder, Moses::LanguageModelSingleFactor::m_sentenceEnd, Moses::LanguageModelImplementation::m_sentenceEndWord, Moses::LanguageModelSingleFactor::m_sentenceStart, Moses::LanguageModelImplementation::m_sentenceStartWord, NOT_FOUND, Moses::Output, Moses::FeatureFunction::ReadParameters(), and UTIL_THROW_IF2.

| Moses::ExampleLM::~ExampleLM | ( | ) |
Definition at line 27 of file ExampleLM.cpp.
| virtual LMResult Moses::ExampleLM::GetValue | ( | const std::vector< const Word * > & | contextFactor, | |
| State * | finalState = 0 | |||
| ) | const [virtual] |
Implements Moses::LanguageModelSingleFactor.
1.5.9