save

Save the dictionary to a file.

Method call format

save(frequency_dict_path,
     bpe_path=None)

Parameters

frequency_dict_path

Description

The path to the output file with the frequency based dictionary.

Data types

Obligatory parameter

Default value

Obligatory parameter

bpe_path

Description

The path to the output file with the BPE dictionary.

Data types

Obligatory parameter

Default value

None (the dictionary is not saved)

Type of return value

_catboost.Dictionary

Previous