| 52 | }; |
| 53 | |
| 54 | std::vector<std::string> SplitValues(const std::string& values) { |
| 55 | std::vector<std::string> split; |
| 56 | size_t start = 0; |
| 57 | while (start <= values.size()) { |
| 58 | const size_t end = values.find(' ', start); |
| 59 | split.push_back(values.substr(start, end - start)); |
| 60 | if (end == std::string::npos) { |
| 61 | break; |
| 62 | } |
| 63 | start = end + 1; |
| 64 | } |
| 65 | return split; |
| 66 | } |
| 67 | |
| 68 | std::vector<STPhraseValue> LoadSTPhraseValues(const std::string& path, |
| 69 | const std::string& source) { |
no test coverage detected