Remove imports in /lang/__init__.py

This commit is contained in:
ines 2017-05-08 23:58:07 +02:00
parent 86d9c29f30
commit 3c0f85de8e
11 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -3,9 +3,10 @@ from __future__ import unicode_literals
from ...language import Language from ...language import Language
from ...attrs import LANG from ...attrs import LANG
from ...fr.stop_words import STOP_WORDS from ...lang.fr.stop_words import STOP_WORDS
from ...fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS from ...lang.fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language_data.punctuation import TOKENIZER_INFIXES, ALPHA from ...lang.punctuation import TOKENIZER_INFIXES
from ...lang.char_classes import ALPHA
from ...util import update_exc from ...util import update_exc
import pytest import pytest

View File

@ -12,7 +12,7 @@ from pathlib import Path
import pathlib import pathlib
from ...gold import GoldParse from ...gold import GoldParse
from ...pipeline import EntityRecognizer from ...pipeline import EntityRecognizer
from ...en import English from ...lang.en import English
try: try:
unicode unicode