python3Packages.spacy_models: 2.3.0 -> 3.0.0

Update models for compatibility with spaCy 3.0.0.
This commit is contained in:
Daniël de Kok
2021-05-16 10:02:43 +02:00
committed by Jonathan Ringer
parent e15fd57929
commit 51f398613c
3 changed files with 355 additions and 271 deletions

View File

@@ -26,10 +26,11 @@ def test_entities(doc_en_core_web_sm):
assert entities == [
('Sebastian Thrun', 'PERSON'),
('Google', 'ORG'), ('2007', 'DATE'),
('2007', 'DATE'),
('American', 'NORP'),
('Thrun', 'ORG'),
('earlier this week', 'DATE')
('Thrun', 'PERSON'),
('Recode', 'PERSON'),
('earlier this week', 'DATE'),
]
@@ -60,10 +61,9 @@ def test_verbs(doc_en_core_web_sm):
'work',
'drive',
'take',
'can',
'tell',
'would',
'shake',
'turn',
'be',
'talk',
'say']