Tidy up and auto-format [ci skip]

This commit is contained in:
Ines Montani 2019-10-24 16:20:48 +02:00
parent 6dd2832438
commit 73dc63d3bf
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
from __future__ import unicode_literals
from ...symbols import POS, PUNCT, SYM, ADJ, CCONJ, NUM, DET, ADV, ADP, X, VERB
from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX
from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON
TAG_MAP = {

View File

@ -2,9 +2,9 @@
from __future__ import unicode_literals
import pytest
from spacy.lang.sv.syntax_iterators import SYNTAX_ITERATORS
from ...util import get_doc
SV_NP_TEST_EXAMPLES = [
(
"En student läste en bok", # A student read a book
@ -45,4 +45,3 @@ def test_sv_noun_chunks(sv_tokenizer, text, pos, deps, heads, expected_noun_chun
assert len(noun_chunks) == len(expected_noun_chunks)
for i, np in enumerate(noun_chunks):
assert np.text == expected_noun_chunks[i]