00001 #pragma once 00002 00003 #include <string> 00004 00005 #include "Forest.h" 00006 00007 namespace MosesTraining 00008 { 00009 namespace Syntax 00010 { 00011 namespace FilterRuleTable 00012 { 00013 00014 struct StringForestValue { 00015 std::string symbol; // terminal or non-terminal (without square brackets) 00016 std::size_t start; 00017 std::size_t end; 00018 }; 00019 00020 typedef Forest<StringForestValue> StringForest; 00021 00022 } // namespace FilterRuleTable 00023 } // namespace Syntax 00024 } // namespace Moses