File size: 395 Bytes
71922c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #pragma once
#include "moses/LM/oxlm/OxLMMapper.h"
namespace Moses
{
class OxLMParallelMapper : public OxLMMapper
{
public:
OxLMParallelMapper(
const boost::shared_ptr<oxlm::Vocabulary>& vocab,
bool pos_back_off,
const FactorType& pos_factor_type);
int convertSource(const Word& word) const;
private:
Coll moses2SourceOxlm;
int kSOURCE_UNKNOWN;
};
} // namespace Moses
|