mosesdecoder/contrib/other-builds/moses2/UnknownWordPenalty.h

24 lines
449 B
C++

/*
* UnknownWordPenalty.h
*
* Created on: 28 Oct 2015
* Author: hieu
*/
#ifndef UNKNOWNWORDPENALTY_H_
#define UNKNOWNWORDPENALTY_H_
#include "PhraseTable.h"
class UnknownWordPenalty : public PhraseTable
{
public:
UnknownWordPenalty(size_t startInd, const std::string &line);
virtual ~UnknownWordPenalty();
virtual const TargetPhrases *Lookup(const Manager &mgr, InputPath &inputPath) const;
};
#endif /* UNKNOWNWORDPENALTY_H_ */