blob: 855f1d2a8b3e495ad958c21f784bdf49ca2d842d (
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
|
#pragma once
#include <istream>
#include <vector>
#include "moses/TypeDef.h"
#include "moses/Syntax/RuleTableFF.h"
#include "RuleTrie.h"
#include "RuleTrieCreator.h"
namespace Moses
{
namespace Syntax
{
namespace S2T
{
class RuleTrieLoader : public RuleTrieCreator
{
public:
bool Load(const std::vector<FactorType> &input,
const std::vector<FactorType> &output,
const std::string &inFile,
const RuleTableFF &,
RuleTrie &);
};
} // namespace S2T
} // namespace Syntax
} // namespace Moses
|