blob: 485fa3487cd5aefef82fb3833ef3b3c079302222 (
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("\\|\\|\\|"));
}
|