mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Auto-format
This commit is contained in:
parent
d7217513c9
commit
e359bdd0e3
|
@ -193,6 +193,7 @@ def test_tokens_sent(doc):
|
||||||
assert doc[1].sent.root.left_edge.text == "This"
|
assert doc[1].sent.root.left_edge.text == "This"
|
||||||
assert doc[7].sent.root.left_edge.text == "This"
|
assert doc[7].sent.root.left_edge.text == "This"
|
||||||
|
|
||||||
|
|
||||||
def test_token0_has_sent_start_true():
|
def test_token0_has_sent_start_true():
|
||||||
doc = Doc(Vocab(), words=["hello", "world"])
|
doc = Doc(Vocab(), words=["hello", "world"])
|
||||||
assert doc[0].is_sent_start is True
|
assert doc[0].is_sent_start is True
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import pytest
|
|
||||||
from spacy.matcher import Matcher
|
from spacy.matcher import Matcher
|
||||||
from spacy.tokens import Doc
|
from spacy.tokens import Doc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user