mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.cpp

33 lines
722 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>
2012-11-12 23:56:18 +04:00
#include "LoaderHiero.h"
using namespace std;
2013-05-29 21:16:15 +04:00
namespace Moses
{
bool RuleTableLoaderHiero::Load(const std::vector<FactorType> &input,
2013-05-29 21:16:15 +04:00
const std::vector<FactorType> &output,
const std::string &inFile,
size_t tableLimit,
RuleTableTrie &ruleTable)
{
bool ret = RuleTableLoaderStandard::Load(HieroFormat
2013-05-29 21:16:15 +04:00
,input, output
,inFile
,tableLimit
,ruleTable);
return ret;
}
}