medcat.utils.legacy.convert_vocab
Functions:
-
get_vocab_from_old–Convert a v1 vocab file to a v2 Vocab.
get_vocab_from_old
Convert a v1 vocab file to a v2 Vocab.
Parameters:
-
(old_pathstr) –The v1 vocab file path.
Returns:
-
Vocab(Vocab) –The v2 Vocab.
Source code in medcat-v2/medcat/utils/legacy/convert_vocab.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |