File size: 360 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 |
#pragma once
namespace Moses
{
namespace Syntax
{
class RuleTableFF;
// Base class for any data structure representing a synchronous
// grammar, like a trie (for S2T) or a DFA (for T2S).
class RuleTable
{
public:
RuleTable(const RuleTableFF *ff) : m_ff(ff) {}
virtual ~RuleTable() {}
protected:
const RuleTableFF *m_ff;
};
} // Syntax
} // Moses
|