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

Method Load

catboost/private/libs/options/text_processing_options.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void TTextColumnTokenizerOptions::Load(const NJson::TJsonValue& options) {
32 {
33 const bool wasRead = TJsonFieldHelper<TOption<TString>>::Read(options, &TokenizerId);
34 CB_ENSURE(wasRead, "DictionaryOptions: no tokenizer_id was specified: " << ToString(options));
35 }
36 TokenizerOptions = JsonToTokenizerOptions(options);
37 }
38
39 bool TTextColumnTokenizerOptions::operator==(const TTextColumnTokenizerOptions& rhs) const {
40 return std::tie(TokenizerOptions) == std::tie(rhs.TokenizerOptions);

Callers

nothing calls this directly

Calls 15

JsonToDictionaryOptionsFunction · 0.85
StringSplitterFunction · 0.85
CheckedLoadFunction · 0.85
ReadFunction · 0.50
ToStringFunction · 0.50
GetMethod · 0.45
IsDefinedMethod · 0.45
IsStringMethod · 0.45
SplitMethod · 0.45
GetStringMethod · 0.45
IsMapMethod · 0.45

Tested by

no test coverage detected