00001 #pragma once 00002 00003 #include <vector> 00004 00005 #include <boost/unordered_map.hpp> 00006 00007 #include "moses/Syntax/SymbolEqualityPred.h" 00008 #include "moses/Syntax/SymbolHasher.h" 00009 #include "moses/Word.h" 00010 00011 namespace Moses 00012 { 00013 namespace Syntax 00014 { 00015 00016 struct PVertex; 00017 00018 namespace S2T 00019 { 00020 00021 // FIXME Check SymbolHasher does the right thing here 00022 typedef boost::unordered_map<Word, std::vector<const PVertex *>, SymbolHasher, 00023 SymbolEqualityPred> SentenceMap; 00024 00025 } // namespace S2T 00026 } // namespace Syntax 00027 } // namespace Moses