mosesdecoder/moses/FF/UnknownWordPenaltyProducer.h
2013-06-20 12:50:41 +01:00

28 lines
365 B
C++

#pragma once
// $Id$
#include "StatelessFeatureFunction.h"
#include "util/check.hh"
namespace Moses
{
class WordsRange;
/** unknown word penalty */
class UnknownWordPenaltyProducer : public StatelessFeatureFunction
{
public:
UnknownWordPenaltyProducer(const std::string &line);
bool IsUseable(const FactorMask &mask) const {
return true;
}
};
}