load

Load the dictionary from a file.

Method call format

load(frequency_dict_path,
     bpe_path=None)

Parameters

frequency_dict_path

Description

The path to the input frequency based dictionary file.

Data types

string

Default value

string

bpe_path

Description

The path to the input BPE dictionary file.

Data types

string

Default value

None (the dictionary is not loaded)

Type of return value

_catboost.Dictionary