| 31 | |
| 32 | template <typename TF> |
| 33 | void ForEachToken(std::string const & s, TF && fn) |
| 34 | { |
| 35 | search::ForEachNormalizedToken(s, [&fn](strings::UniString const & token) { fn(strings::ToUtf8(token)); }); |
| 36 | } |
| 37 | |
| 38 | void TokenizeAndAddAllSubstrings(base::MemTrie<std::string, base::VectorValues<uint32_t>> & trie, std::string const & s, |
| 39 | uint32_t value) |
no test coverage detected