blob: a1f8a92056116501b6ef48b0f58476f2822607cf (
plain)
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
|
//
// RuleTableLoaderHiero.h
// moses
//
// Created by Hieu Hoang on 04/11/2011.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#ifndef moses_RuleTableLoaderHiero_h
#define moses_RuleTableLoaderHiero_h
#include "RuleTableLoaderStandard.h"
namespace Moses {
class RuleTableLoaderHiero : public RuleTableLoaderStandard
{
public:
bool Load(const std::vector<FactorType> &input,
const std::vector<FactorType> &output,
std::istream &inStream,
const std::vector<float> &weight,
size_t tableLimit,
const LMList &languageModels,
const WordPenaltyProducer* wpProducer,
PhraseDictionarySCFG &);
};
}
#endif
|