blob: 5b0882e63703e8342bd9f386c4543e1fea77cb56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "dict.h"
#include <string>
#include <vector>
#include <boost/regex.hpp>
#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(" \\|\\|\\| "));
}
|