summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/spacy/annotation-test
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/spacy/annotation-test')
-rw-r--r--pkgs/development/python-modules/spacy/annotation-test/annotate.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/spacy/annotation-test/annotate.py b/pkgs/development/python-modules/spacy/annotation-test/annotate.py
index 822eb8ac0743..eb6288084883 100644
--- a/pkgs/development/python-modules/spacy/annotation-test/annotate.py
+++ b/pkgs/development/python-modules/spacy/annotation-test/annotate.py
@@ -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']