mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +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;
|
|
};
|
|
|
|
|
|
}
|