medcat.utils.legacy.identifier
Attributes
Functions
|
Check if the model pack is a legacy model pack. |
Module Contents
- medcat.utils.legacy.identifier.EXPECTED_V1_CDB_FILE_NAME = 'cdb.dat'
- medcat.utils.legacy.identifier.EXPECTED_V2_CDB_FOLDER_NAME = 'cdb'
- medcat.utils.legacy.identifier.is_legacy_model_pack(model_pack_path)
Check if the model pack is a legacy model pack.
- Parameters:
model_pack_path (str) – The path to the model pack (unzipped).
- Returns:
bool – True if the model pack is a legacy model pack, False otherwise.
- Return type:
bool