diff --git a/__init__.py b/__init__.py index b880b7e..0e9b232 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 from calibre.customize import InterfaceActionBase -VERSION = (3, 14, 1) +VERSION = (3, 14, 2) class WordDumbDumb(InterfaceActionBase): diff --git a/data/spacy.json b/data/spacy.json index 70c052f..377f038 100644 --- a/data/spacy.json +++ b/data/spacy.json @@ -27,13 +27,17 @@ "compiled": false, "version": "3.3" }, + "langcodes": { + "compiled": false, + "version": "3.2.1" + }, "murmurhash": { "compiled": true, "version": "1.0.6" }, "numpy": { "compiled": true, - "version": "1.21.2" + "version": "1.21.4" }, "packaging": { "compiled": false, @@ -53,7 +57,7 @@ }, "pyparsing": { "compiled": false, - "version": "3.0.3" + "version": "2.4.7" }, "rapidfuzz": { "compiled": true, @@ -69,19 +73,23 @@ }, "spacy": { "compiled": true, - "version": "3.1.4" + "version": "3.2.0" }, "spacy-legacy": { "compiled": false, "version": "3.0.8" }, + "spacy-loggers": { + "compiled": false, + "version": "1.0.1" + }, "srsly": { "compiled": true, "version": "2.4.2" }, "thinc": { "compiled": true, - "version": "8.0.12" + "version": "8.0.13" }, "tqdm": { "compiled": false, diff --git a/tests/XRAY.entities.json b/tests/XRAY.entities.json index 62fea73..89074a4 100644 --- a/tests/XRAY.entities.json +++ b/tests/XRAY.entities.json @@ -2,153 +2,148 @@ "book_metadata": [ [ 701254, - 59, - 203 + 48, + 225 ] ], "occurrence": [ [ 1, - 673, + 572, 5 ], [ 2, + 673, + 5 + ], + [ + 3, + 861, + 3 + ], + [ + 4, 1366, 13 ], [ - 3, + 5, 1495, 16 ], [ 4, - 1723, - 8 - ], - [ - 2, 1989, 7 ], [ - 5, + 6, 2221, 9 ], [ - 2, + 4, 2267, 7 ], [ - 2, + 4, 2964, 7 ], [ - 2, + 4, 4085, 7 ], [ - 6, - 4608, - 14 + 7, + 4241, + 6 ], [ - 2, + 4, 4825, 7 ], [ - 2, + 8, + 5157, + 14 + ], + [ + 4, 5607, 7 ], [ - 7, + 9, 5745, 17 ], [ - 8, + 10, 5891, 6 ], [ - 9, + 11, 5913, 12 ], [ - 10, + 12, 5978, 7 ], [ - 8, + 10, 6062, 6 ], [ - 11, - 6551, - 8 - ], - [ - 7, + 9, 6855, 28 ], [ - 12, + 13, 6888, 8 ], [ - 12, + 13, 6898, 8 ], [ - 10, + 12, 6936, 7 ], [ - 2, + 4, 7206, 7 ], [ - 13, + 3, 7326, 5 ], [ - 14, - 7425, - 5 - ], - [ - 15, - 7540, - 9 - ], - [ - 7, + 9, 7655, 17 ], [ - 8, + 10, 7793, 6 ], [ - 7, + 9, 8123, 17 ], @@ -158,72 +153,77 @@ 17 ], [ - 16, + 15, 8281, 16 ], [ - 17, + 16, 8339, 18 ], [ - 12, + 13, 8419, - 18 + 8 ], [ - 18, - 8448, + 17, + 8439, 7 ], [ - 19, - 8461, - 10 + 18, + 8448, + 7 ], [ - 16, + 15, 8553, 16 ], [ - 2, + 4, 8638, 7 ], [ - 16, + 15, 8672, 16 ], [ - 2, + 4, 9118, 7 ], [ - 20, + 19, 9690, 7 ], [ - 2, - 9711, + 4, + 10996, 7 ], [ - 2, - 10996, + 4, + 11156, + 7 + ], + [ + 4, + 12995, 7 ] ], "type": [ [ - "2,29,26,37,109,90,89,88,59,38" + "4,69,22,34,87,59,5,35,70,24" ], [ - "13,25,12,120,10,31,8,56,71,111" + "3,21,13,25,12,118,28,10,110,8" ] ] } \ No newline at end of file diff --git a/unzip.py b/unzip.py index c513a87..e7b51b1 100644 --- a/unzip.py +++ b/unzip.py @@ -63,7 +63,7 @@ def install_libs(model, create_ww, create_x, notif): for pkg, value in load_json_or_pickle('data/spacy.json', True).items(): pip_install(pkg, value['version'], value['compiled'], reinstall=reinstall, notif=notif) - model_v = '3.1.0' + model_v = '3.2.0' url = 'https://github.com/explosion/spacy-models/releases/download/' url += f'{model}-{model_v}/{model}-{model_v}-py3-none-any.whl' pip_install(model, model_v, url=url, notif=notif)