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

Method AddIdeograph

library/cpp/tokenizer/nlpparserbase.h:186–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 SuffixChar = 0;
185 }
186 void AddIdeograph(size_t len) {
187 Y_ASSERT(!CurCharSpan.Len && (len == 1 || len == 2));
188 Current->AddIdeograph(len);
189 }
190 void AddLastToken(const wchar16* tokstart, const wchar16* tokend) {
191 // - CurCharSpan.Len assigned to 0 in AddToken() because in case of multitoken with '.' at the end, for
192 // example: " well-formed. " parser already called to %add_token because '.' can be delimiter of the next token

Callers

nothing calls this directly

Calls 1

AddIdeographMethod · 0.45

Tested by

no test coverage detected