mosesdecoder/moses/src/RuleTable/LoaderHiero.cpp

35 lines
819 B
C++
Raw Normal View History

//
// RuleTableLoaderHiero.cpp
// moses
//
// Created by Hieu Hoang on 04/11/2011.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#include <iostream>
#include "RuleTable/LoaderHiero.h"
using namespace std;
namespace Moses {
bool RuleTableLoaderHiero::Load(const std::vector<FactorType> &input,
const std::vector<FactorType> &output,
2012-10-14 23:52:12 +04:00
const std::string &inFile,
const std::vector<float> &weight,
size_t tableLimit,
const LMList &languageModels,
const WordPenaltyProducer* wpProducer,
RuleTableTrie &ruleTable)
{
bool ret = RuleTableLoaderStandard::Load(HieroFormat
,input, output
2012-10-14 23:52:12 +04:00
,inFile, weight
,tableLimit, languageModels
,wpProducer, ruleTable);
return ret;
}
}