diff options
-rw-r--r-- | decoder/dict.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/dict.cc b/decoder/dict.cc index 5b0882e6..4a842f82 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("\\s\\|\\|\\|\\s")); } |