Skip to content

Commit

Permalink
update spaCy to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyzz committed Nov 6, 2021
1 parent 3fe86a6 commit 332bff5
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 73 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
from calibre.customize import InterfaceActionBase

VERSION = (3, 14, 1)
VERSION = (3, 14, 2)


class WordDumbDumb(InterfaceActionBase):
Expand Down
16 changes: 12 additions & 4 deletions data/spacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -53,7 +57,7 @@
},
"pyparsing": {
"compiled": false,
"version": "3.0.3"
"version": "2.4.7"
},
"rapidfuzz": {
"compiled": true,
Expand All @@ -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,
Expand Down
134 changes: 67 additions & 67 deletions tests/XRAY.entities.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
],
Expand All @@ -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"
]
]
}
2 changes: 1 addition & 1 deletion unzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 332bff5

Please sign in to comment.