Update test

This commit is contained in:
Matthew Honnibal 2016-10-23 21:02:05 +02:00
parent 90bf797125
commit 66d7a6eca2
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def test_overlap_issue242():
data_dir = None
nlp = spacy.en.English(path=data_dir, tagger=False, parser=False, entity=False)
nlp.matcher = spacy.en.English.Defaults.create_matcher()
nlp.matcher = spacy.en.English.Defaults.create_matcher(nlp=nlp)
nlp.matcher.add('FOOD', 'FOOD', {}, patterns)