Update matcher test

This commit is contained in:
Matthew Honnibal 2016-10-15 14:13:41 +02:00
parent 9cc9ce0f14
commit 1e1a1d9517
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ def test_overlap_issue242():
if os.environ.get('SPACY_DATA'):
data_dir = os.environ.get('SPACY_DATA')
else:
data_dir = None
data_dir = False
nlp = spacy.en.English(data_dir=data_dir, tagger=False, parser=False, entity=False)
nlp = spacy.en.English(path=data_dir, tagger=False, parser=False, entity=False)
nlp.matcher.add('FOOD', 'FOOD', {}, patterns)