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 22:59:52 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-17 22:59:52 +0300
commit5754a46905346987cdcc9eead16a3a06458b787b (patch)
tree67dce59a04b5a18d54597702399dea3d9dc21b38 /moses/GenerationDictionary.h
parent563552aea6c6de060ef36788609867ef6bd851fb (diff)
clean up comparison functions for Words and Phrases
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r--moses/GenerationDictionary.h2
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;