diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-02-16 14:30:39 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-02-16 14:30:39 +0300 |
commit | a391b84b4275d90cabd2bf9d1734ac2c10c9e8bd (patch) | |
tree | 1a61ee76d46308fa4150f14d4da54f82cf7361df /probingpt | |
parent | 07cef43cea1d3b7a542eab817718a93b74c68ebc (diff) |
moses and moses2 both use probingpt lib
Diffstat (limited to 'probingpt')
-rw-r--r-- | probingpt/Jamfile | 1 | ||||
-rw-r--r-- | probingpt/querying.hh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/probingpt/Jamfile b/probingpt/Jamfile index b8560c8c6..7ea4c9d7d 100644 --- a/probingpt/Jamfile +++ b/probingpt/Jamfile @@ -11,6 +11,7 @@ lib probingpt : vocabid.cpp OutputFileStream.cpp InputFileStream.cpp + util.cpp # ../util/string_piece.cc # ../util/exception.cc diff --git a/probingpt/querying.hh b/probingpt/querying.hh index 4bb9d0c96..74d7e3f6b 100644 --- a/probingpt/querying.hh +++ b/probingpt/querying.hh @@ -10,6 +10,7 @@ #include "hash.hh" //Includes line splitter #include "line_splitter.hh" #include "moses2/legacy/Util2.h" +#include "util.hh" namespace probingpt { @@ -68,7 +69,7 @@ public: } const std::string &foundStr = iter->second; - found = Moses2::Scan<T>(foundStr); + found = Scan<T>(foundStr); return true; } |