Skip to content

Commit

Permalink
Remove imports in /lang/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ines committed May 8, 2017
1 parent 86d9c29 commit 3c0f85d
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions spacy/lang/__init__.py
@@ -1,4 +0,0 @@
from .punctuation import *
from .tag_map import TAG_MAP
from .entity_rules import ENTITY_RULES
from .tokenizer_exceptions import BASE_EXCEPTIONS, TOKEN_MATCH
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions spacy/tests/regression/test_issue768.py
Expand Up @@ -3,9 +3,10 @@

from ...language import Language
from ...attrs import LANG
from ...fr.stop_words import STOP_WORDS
from ...fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language_data.punctuation import TOKENIZER_INFIXES, ALPHA
from ...lang.fr.stop_words import STOP_WORDS
from ...lang.fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...lang.punctuation import TOKENIZER_INFIXES
from ...lang.char_classes import ALPHA
from ...util import update_exc

import pytest
Expand Down
2 changes: 1 addition & 1 deletion spacy/tests/regression/test_issue910.py
Expand Up @@ -12,7 +12,7 @@
import pathlib
from ...gold import GoldParse
from ...pipeline import EntityRecognizer
from ...en import English
from ...lang.en import English

try:
unicode
Expand Down

0 comments on commit 3c0f85d

Please sign in to comment.