mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
18 lines
306 B
C++
18 lines
306 B
C++
#include "UnknownWordPenaltyProducer.h"
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
namespace Moses
|
|
{
|
|
UnknownWordPenaltyProducer::UnknownWordPenaltyProducer(const std::string &line)
|
|
: StatelessFeatureFunction("UnknownWordPenalty",1, line)
|
|
{
|
|
m_tuneable = false;
|
|
ReadParameters();
|
|
}
|
|
|
|
}
|
|
|