File size: 784 Bytes
158b61b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
//  RuleTableLoaderHiero.cpp
//  moses
//
//  Created by Hieu Hoang on 04/11/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#include <iostream>
#include "LoaderHiero.h"

using namespace std;

namespace Moses
{

bool RuleTableLoaderHiero::Load(AllOptions const& opts,
                                const std::vector<FactorType> &input,
                                const std::vector<FactorType> &output,
                                const std::string &inFile,
                                size_t tableLimit,
                                RuleTableTrie &ruleTable)
{
  bool ret = RuleTableLoaderStandard::Load(opts, HieroFormat
             ,input, output
             ,inFile
             ,tableLimit
             ,ruleTable);
  return ret;
}

}