mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Remove imports in /lang/__init__.py
This commit is contained in:
parent
86d9c29f30
commit
3c0f85de8e
|
@ -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
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user