mosesdecoder/moses/FF/InputFeature.h
2013-06-05 13:42:56 +01:00

36 lines
500 B
C++

#pragma once
#include "InputFeature.h"
#include "StatelessFeatureFunction.h"
namespace Moses
{
class InputFeature : public StatelessFeatureFunction
{
protected:
size_t m_numInputScores;
size_t m_numRealWordCount;
public:
InputFeature(const std::string &line);
bool IsUseable(const FactorMask &mask) const {
return true;
}
size_t GetNumInputScores() const {
return m_numInputScores;
}
size_t GetNumRealWordsInInput() const {
return m_numRealWordCount;
}
};
}