MCPcopy Create free account
hub / github.com/catboost/catboost / GetTokens

Method GetTokens

library/cpp/text_processing/dictionary/dictionary.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void IDictionary::GetTokens(TConstArrayRef<TTokenId> tokenIds, TVector<TString>* tokens) const {
16 tokens->clear();
17 tokens->reserve(tokenIds.size());
18 for (auto tokenId : tokenIds) {
19 tokens->emplace_back(GetToken(tokenId));
20 }
21}

Callers

nothing calls this directly

Calls 4

clearMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected