* Add test for matcher end-point problem

This commit is contained in:
Matthew Honnibal 2015-11-12 04:59:11 +11:00
parent 56ea20a886
commit d309622a27
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def test_unit_end_gazetteer(EN):
ents = matcher(doc)
assert len(ents) == 1
EN.entity(doc)
assert list(nlp.ents)[0].text == 'cal'
assert list(EN.ents)[0].text == 'cal'