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:
Diffstat (limited to 'moses/TranslationModel/ProbingPT/hash.hh')
-rw-r--r--moses/TranslationModel/ProbingPT/hash.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/moses/TranslationModel/ProbingPT/hash.hh b/moses/TranslationModel/ProbingPT/hash.hh
index 607238ae1..f218ad9da 100644
--- a/moses/TranslationModel/ProbingPT/hash.hh
+++ b/moses/TranslationModel/ProbingPT/hash.hh
@@ -6,9 +6,12 @@
#include "util/tokenize_piece.hh"
#include <vector>
+namespace Moses
+{
+
//Gets the MurmurmurHash for give string
uint64_t getHash(StringPiece text);
-std::vector<uint64_t> getVocabIDs(StringPiece textin);
+std::vector<uint64_t> getVocabIDs(const StringPiece &textin);
-uint64_t getVocabID(std::string candidate); \ No newline at end of file
+}