medcat.utils.legacy.identifier ============================== .. py:module:: medcat.utils.legacy.identifier Attributes ---------- .. autoapisummary:: medcat.utils.legacy.identifier.EXPECTED_V1_CDB_FILE_NAME medcat.utils.legacy.identifier.EXPECTED_V2_CDB_FOLDER_NAME Functions --------- .. autoapisummary:: medcat.utils.legacy.identifier.is_legacy_model_pack Module Contents --------------- .. py:data:: EXPECTED_V1_CDB_FILE_NAME :value: 'cdb.dat' .. py:data:: EXPECTED_V2_CDB_FOLDER_NAME :value: 'cdb' .. py:function:: is_legacy_model_pack(model_pack_path) Check if the model pack is a legacy model pack. :param model_pack_path: The path to the model pack (unzipped). :type model_pack_path: str :Returns: **bool** -- True if the model pack is a legacy model pack, False otherwise.