mosesdecoder/moses/FF/UnknownWordPenaltyProducer.h

28 lines
365 B
C
Raw Normal View History

#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);
2013-05-30 15:51:40 +04:00
bool IsUseable(const FactorMask &mask) const {
return true;
}
};
}