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

Method GetEnd

library/cpp/tokenizer/nlpparserbase.h:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 return Subtokens[0].Pos - Subtokens[0].PrefixLen;
47 }
48 size_t GetEnd() const {
49 Y_ASSERT(!Subtokens.empty());
50 return Subtokens.back().EndPos() + Subtokens.back().SuffixLen;
51 }
52 size_t GetLength() const {
53 return GetEnd() - GetStart();
54 }

Callers 1

ProcessMultitokenMethod · 0.45

Calls 3

EndPosMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected