| 86 | } |
| 87 | |
| 88 | std::vector<std::string> ParseBaseDictValues(const std::vector<std::string>& tokens, |
| 89 | size_t line_number) { |
| 90 | if (tokens.size() != 3) { |
| 91 | throw std::runtime_error("invalid base dict line " + |
| 92 | std::to_string(line_number)); |
| 93 | } |
| 94 | return std::vector<std::string>{tokens[1], tokens[2], "base"}; |
| 95 | } |
| 96 | |
| 97 | std::vector<std::string> ParseUserDictValues(const std::vector<std::string>& tokens, |
| 98 | size_t line_number) { |