diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-06-18 23:37:22 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-06-18 23:37:22 -0400 |
commit | 5cd58c1355811caf0941ad6f0340c2deb52cc99c (patch) | |
tree | 648ee8dfc441fb34ec08579f2256811fa0674878 /utils/dict.h | |
parent | 6f2c793046d2a98b142d1e39bfae81b6d8e3fca7 (diff) |
switch to hash maps for sparse vectors
Diffstat (limited to 'utils/dict.h')
-rw-r--r-- | utils/dict.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/dict.h b/utils/dict.h index 75ea3def..f08d0cf4 100644 --- a/utils/dict.h +++ b/utils/dict.h @@ -12,7 +12,8 @@ class Dict { typedef - HASH_MAP<std::string, WordID, boost::hash<std::string> > Map; + //HASH_MAP<std::string, WordID, boost::hash<std::string> > Map; + HASH_MAP<std::string, WordID> Map; public: Dict() : b0_("<bad0>") { HASH_MAP_EMPTY(d_,"<bad1>"); |