medcat.utils.legacy.legacy_converter
Functions:
-
do_conversion–Perform the conversion from v1 to v2.
-
main–
do_conversion
do_conversion(file_from: str, file_to: str, save_format: AvailableSerialisers)
Perform the conversion from v1 to v2.
Parameters:
-
(file_fromstr) –The v1 model pack path.
-
(file_tostr) –The v2/target model pack path.
-
(save_formatAvailableSerialisers) –The type of serialiser for v2.
Source code in medcat-v2/medcat/utils/legacy/legacy_converter.py
11 12 13 14 15 16 17 18 19 20 21 | |
main
Source code in medcat-v2/medcat/utils/legacy/legacy_converter.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |