mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Merge branch 'develop' into feature/cli-validate
This commit is contained in:
commit
9c6de3dcfa
|
@ -35,7 +35,7 @@ def parser(vocab):
|
|||
def test_no_sentences(parser):
|
||||
doc = Doc(parser.vocab, words=['a', 'b', 'c', 'd'])
|
||||
doc = parser(doc)
|
||||
assert len(list(doc.sents)) == 2
|
||||
assert len(list(doc.sents)) >= 1
|
||||
|
||||
|
||||
def test_sents_1(parser):
|
||||
|
|
Loading…
Reference in New Issue
Block a user