export_concept_vocabulary() writes a checksummed JSON manifest (token list, size, SHA-256, no patient data);
import_concept_vocabulary() rebuilds the tokenizer with identical ids and refuses a corrupted or foreign file.
The file format is shared with the Python functions of the same names.
Arguments
- tokenizer
from
build_concept_tokenizer()(or any list withconcept_list)- path
file path
- name
label.
