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

Method GetAlphabet

library/cpp/text_processing/dictionary/bpe_dictionary.cpp:198–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198TIntrusiveConstPtr<TDictionary> TBpeDictionary::GetAlphabet() const {
199 return Alphabet.Get();
200}
201
202TString TBpeDictionary::GetBpeToken(TTokenId leftId, TTokenId rightId) const {
203 if (Alphabet->GetDictionaryOptionsRef().TokenLevelType == ETokenLevelType::Word) {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected