00001
00002
00003
00004
00005
00006
00007
00008
00009 #include <iostream>
00010 #include "LoaderHiero.h"
00011
00012 using namespace std;
00013
00014 namespace Moses
00015 {
00016
00017 bool RuleTableLoaderHiero::Load(AllOptions const& opts,
00018 const std::vector<FactorType> &input,
00019 const std::vector<FactorType> &output,
00020 const std::string &inFile,
00021 size_t tableLimit,
00022 RuleTableTrie &ruleTable)
00023 {
00024 bool ret = RuleTableLoaderStandard::Load(opts, HieroFormat
00025 ,input, output
00026 ,inFile
00027 ,tableLimit
00028 ,ruleTable);
00029 return ret;
00030 }
00031
00032 }
00033