summaryrefslogtreecommitdiff
path: root/decoder/dict.cc
diff options
context:
space:
mode:
authorphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 17:01:19 +0000
committerphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-19 17:01:19 +0000
commitcf868a29d10942c62b4041e5931e68f868a4b96d (patch)
tree7a64bf4dc1e608e5a18ba19633fdeb8026bce9db /decoder/dict.cc
parentaef15981e94fab6c694a5b3059632a762647d1fc (diff)
Changed string delimiter, hope this doesn't screw anything up ...
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@316 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/dict.cc')
-rw-r--r--decoder/dict.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/dict.cc b/decoder/dict.cc
index 485fa348..5b0882e6 100644
--- a/decoder/dict.cc
+++ b/decoder/dict.cc
@@ -6,6 +6,6 @@
#include <boost/algorithm/string/regex.hpp>
void Dict::AsVector(const WordID& id, std::vector<std::string>* results) const {
- boost::algorithm::split_regex(*results, Convert(id), boost::regex("\\|\\|\\|"));
+ boost::algorithm::split_regex(*results, Convert(id), boost::regex(" \\|\\|\\| "));
}