summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-11-29 21:39:02 +0100
committerPatrick Simianer <p@simianer.de>2011-11-29 21:39:02 +0100
commitaf34238d6a18152f3d543422277bdd111d84e211 (patch)
treed3afad1a828e812841ae9d90a9a5daef9c90b6a1 /decoder
parent7d317d2af4e035dcf5c2168294731337231ed6a2 (diff)
parent7fc75dc9107203f1e51ab313d647fbbb1624d5a8 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'decoder')
-rw-r--r--decoder/ff_wordset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/ff_wordset.h b/decoder/ff_wordset.h
index 643097ef..7c9a3fb7 100644
--- a/decoder/ff_wordset.h
+++ b/decoder/ff_wordset.h
@@ -3,7 +3,7 @@
#include "ff.h"
-#include <boost/unordered/unordered_set.hpp>
+#include <tr1/unordered_set>
#include <boost/algorithm/string.hpp>
#include <vector>
@@ -43,7 +43,7 @@ class WordSet : public FeatureFunction {
void* context) const;
private:
- static void loadVocab(const std::string& vocabFile, boost::unordered_set<WordID>* vocab) {
+ static void loadVocab(const std::string& vocabFile, std::tr1::unordered_set<WordID>* vocab) {
std::ifstream file;
std::string line;
@@ -105,7 +105,7 @@ class WordSet : public FeatureFunction {
int fid_;
bool oovMode_;
- boost::unordered_set<WordID> vocab_;
+ std::tr1::unordered_set<WordID> vocab_;
};
#endif