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

Method GetLength

library/cpp/tokenizer/nlpparserbase.h:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 return Subtokens.back().EndPos() + Subtokens.back().SuffixLen;
51 }
52 size_t GetLength() const {
53 return GetEnd() - GetStart();
54 }
55 // allowed suffixes: "+", "++" and "#"
56 void AddSubtoken(const TCharSpan& span, size_t prefixLen, wchar16 prefixChar, wchar16 suffixChar) {
57 Y_ASSERT(Subtokens.size() < MAX_SUBTOKENS);

Callers 2

GetCapturedStringMethod · 0.45
MakeMultitokenEntryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected