Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-17 23:43:03 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-18 00:09:36 +0300
commit2683b58b537e12b23993c99f3a4e38b4106b2b34 (patch)
treeeb30e3a7196aabb6db55c9217be00ad19ff71c83 /moses/GenerationDictionary.h
parent5754a46905346987cdcc9eead16a3a06458b787b (diff)
clean up comparison functions for Words and Phrases
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r--moses/GenerationDictionary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/GenerationDictionary.h b/moses/GenerationDictionary.h
index 33121315d..c77fa6fa9 100644
--- a/moses/GenerationDictionary.h
+++ b/moses/GenerationDictionary.h
@@ -23,9 +23,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#define moses_GenerationDictionary_h
#include <list>
-#include <map>
#include <stdexcept>
#include <vector>
+#include <boost/unordered_map.hpp>
#include "ScoreComponentCollection.h"
#include "Phrase.h"
#include "TypeDef.h"
@@ -36,7 +36,7 @@ namespace Moses
class FactorCollection;
-typedef std::map < Word , ScoreComponentCollection > OutputWordCollection;
+typedef boost::unordered_map < Word , ScoreComponentCollection > OutputWordCollection;
// 1st = output phrase
// 2nd = log probability (score)