diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-17 22:59:52 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-17 22:59:52 +0300 |
commit | 5754a46905346987cdcc9eead16a3a06458b787b (patch) | |
tree | 67dce59a04b5a18d54597702399dea3d9dc21b38 /moses/GenerationDictionary.h | |
parent | 563552aea6c6de060ef36788609867ef6bd851fb (diff) |
clean up comparison functions for Words and Phrases
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r-- | moses/GenerationDictionary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/GenerationDictionary.h b/moses/GenerationDictionary.h index 67bbe1e91..33121315d 100644 --- a/moses/GenerationDictionary.h +++ b/moses/GenerationDictionary.h @@ -44,7 +44,7 @@ typedef std::map < Word , ScoreComponentCollection > OutputWordCollection; */ class GenerationDictionary : public DecodeFeature { - typedef std::map<const Word* , OutputWordCollection, WordComparer> Collection; + typedef boost::unordered_map<const Word* , OutputWordCollection, WordComparer, WordComparer> Collection; protected: static std::vector<GenerationDictionary*> s_staticColl; |