00001 #pragma once 00002 00003 namespace Moses 00004 { 00005 namespace Syntax 00006 { 00007 00008 class RuleTableFF; 00009 00010 // Base class for any data structure representing a synchronous 00011 // grammar, like a trie (for S2T) or a DFA (for T2S). 00012 class RuleTable 00013 { 00014 public: 00015 RuleTable(const RuleTableFF *ff) : m_ff(ff) {} 00016 00017 virtual ~RuleTable() {} 00018 00019 protected: 00020 const RuleTableFF *m_ff; 00021 }; 00022 00023 } // Syntax 00024 } // Moses