mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-03 11:23:12 +03:00
isort
This commit is contained in:
parent
3c86cc669a
commit
6a90330ff4
|
@ -1,8 +1,9 @@
|
||||||
# cython: infer_types=True
|
# cython: infer_types=True
|
||||||
# cython: profile=False
|
# cython: profile=False
|
||||||
cimport cython
|
cimport cython
|
||||||
from typing import Iterable, Iterator, List, Optional, Tuple, Union
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
from typing import Iterable, Iterator, List, Optional, Tuple, Union
|
||||||
|
|
||||||
from libc.stdint cimport uint32_t
|
from libc.stdint cimport uint32_t
|
||||||
from libc.string cimport memcpy
|
from libc.string cimport memcpy
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
from contextlib import contextmanager
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Union
|
from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Union
|
||||||
from contextlib import contextmanager
|
|
||||||
|
|
||||||
from thinc.types import Floats1d, FloatsXd
|
|
||||||
from cymem.cymem import Pool
|
from cymem.cymem import Pool
|
||||||
|
from thinc.types import Floats1d, FloatsXd
|
||||||
|
|
||||||
from . import Language
|
from . import Language
|
||||||
from .lexeme import Lexeme
|
from .lexeme import Lexeme
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import functools
|
import functools
|
||||||
|
from contextlib import ExitStack, contextmanager
|
||||||
|
from typing import Iterator, Optional
|
||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
import srsly
|
import srsly
|
||||||
from thinc.api import get_array_module, get_current_ops
|
from thinc.api import get_array_module, get_current_ops
|
||||||
from contextlib import contextmanager, ExitStack
|
|
||||||
from typing import Iterator, Optional
|
|
||||||
|
|
||||||
from .attrs cimport LANG, ORTH
|
from .attrs cimport LANG, ORTH
|
||||||
from .lexeme cimport EMPTY_LEXEME, OOV_RANK, Lexeme
|
from .lexeme cimport EMPTY_LEXEME, OOV_RANK, Lexeme
|
||||||
|
|
Loading…
Reference in New Issue
Block a user