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

View File

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