File size: 326 Bytes
158b61b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
// $Id$
#pragma once
#include <vector>
#include "SingleFactor.h"
namespace Moses
{
class ExampleLM : public LanguageModelSingleFactor
{
protected:
public:
ExampleLM(const std::string &line);
~ExampleLM();
virtual LMResult GetValue(const std::vector<const Word*> &contextFactor, State* finalState = 0) const;
};
}
|