summaryrefslogtreecommitdiff
path: root/decoder/dict.cc
diff options
context:
space:
mode:
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(" \\|\\|\\| "));
}