mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
23 lines
329 B
C++
23 lines
329 B
C++
// $Id$
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
#include "SingleFactor.h"
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
class SkeletonLM : public LanguageModelSingleFactor
|
|
{
|
|
protected:
|
|
|
|
public:
|
|
SkeletonLM(const std::string &line);
|
|
~SkeletonLM();
|
|
|
|
virtual LMResult GetValue(const std::vector<const Word*> &contextFactor, State* finalState = 0) const;
|
|
};
|
|
|
|
|
|
}
|