mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-27 00:19:48 +03:00
use relative imports
This commit is contained in:
parent
15da3da8b4
commit
1582656175
|
@ -1,7 +1,6 @@
|
|||
"""Exceptions for the faroese tokenizer - mainly abbreviations copied from CD-ORD ressources"""
|
||||
from spacy.lang.tokenizer_exceptions import BASE_EXCEPTIONS
|
||||
from spacy.util import update_exc
|
||||
from spacy.symbols import ORTH
|
||||
from ...symbols import ORTH
|
||||
from ...util import update_exc
|
||||
from ..tokenizer_exceptions import BASE_EXCEPTIONS
|
||||
|
||||
_exc = {}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from spacy.lang.char_classes import (
|
||||
from ..char_classes import (
|
||||
ALPHA,
|
||||
ALPHA_LOWER,
|
||||
ALPHA_UPPER,
|
||||
|
@ -12,7 +12,7 @@ from spacy.lang.char_classes import (
|
|||
PUNCT,
|
||||
UNITS,
|
||||
)
|
||||
from spacy.lang.punctuation import TOKENIZER_SUFFIXES
|
||||
from ..punctuation import TOKENIZER_SUFFIXES
|
||||
|
||||
_quotes = CONCAT_QUOTES.replace("'", "")
|
||||
_list_punct = [x for x in LIST_PUNCT if x != "#"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from spacy.symbols import NORM, ORTH
|
||||
from spacy.util import update_exc
|
||||
from spacy.lang.tokenizer_exceptions import BASE_EXCEPTIONS
|
||||
from ...symbols import NORM, ORTH
|
||||
from ...util import update_exc
|
||||
from ..tokenizer_exceptions import BASE_EXCEPTIONS
|
||||
|
||||
_exc = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user