Add vectors.pyx in setup

This commit is contained in:
Matthew Honnibal 2017-06-05 12:45:29 +02:00
commit b4cdd05466
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ MOD_NAMES = [
'spacy.syntax.ner', 'spacy.syntax.ner',
'spacy.symbols', 'spacy.symbols',
'spacy.vectors', 'spacy.vectors',
'spacy.syntax.iterators'] ]
COMPILE_OPTIONS = { COMPILE_OPTIONS = {

View File

@ -11,5 +11,5 @@ def test_issue704(EN):
text = '“Atticus said to Jem one day, “Id rather you shot at tin cans in the backyard, but I know youll go after birds. Shoot all the blue jays you want, if you can hit em, but remember its a sin to kill a mockingbird.”' text = '“Atticus said to Jem one day, “Id rather you shot at tin cans in the backyard, but I know youll go after birds. Shoot all the blue jays you want, if you can hit em, but remember its a sin to kill a mockingbird.”'
doc = EN(text) doc = EN(text)
sents = [sent for sent in doc.sents] sents = list([sent for sent in doc.sents])
assert len(sents) == 3 assert len(sents) == 3