From 73dc63d3bfd75cc16a2dc136f1adba5c687ae6c9 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 24 Oct 2019 16:20:48 +0200 Subject: [PATCH] Tidy up and auto-format [ci skip] --- spacy/lang/en/tag_map.py | 2 +- spacy/tests/lang/sv/test_noun_chunks.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spacy/lang/en/tag_map.py b/spacy/lang/en/tag_map.py index c4282e355..ecb3103cc 100644 --- a/spacy/lang/en/tag_map.py +++ b/spacy/lang/en/tag_map.py @@ -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 = { diff --git a/spacy/tests/lang/sv/test_noun_chunks.py b/spacy/tests/lang/sv/test_noun_chunks.py index aafe69139..ac7c066ba 100644 --- a/spacy/tests/lang/sv/test_noun_chunks.py +++ b/spacy/tests/lang/sv/test_noun_chunks.py @@ -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] -