00001 // $Id$ 00002 #pragma once 00003 00004 #include <vector> 00005 #include "SingleFactor.h" 00006 00007 namespace Moses 00008 { 00009 00010 class ExampleLM : public LanguageModelSingleFactor 00011 { 00012 protected: 00013 00014 public: 00015 ExampleLM(const std::string &line); 00016 ~ExampleLM(); 00017 00018 virtual LMResult GetValue(const std::vector<const Word*> &contextFactor, State* finalState = 0) const; 00019 }; 00020 00021 00022 }