mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-30 01:50:03 +03:00
Fix mypy issue
This commit is contained in:
parent
befacb589c
commit
5d3cdd6a2f
|
@ -1,5 +1,14 @@
|
|||
from typing import List, Optional
|
||||
from thinc.types import Ints2d
|
||||
from thinc.api import Model
|
||||
from ..tokens import Doc
|
||||
|
||||
def RichFeatureExtractor(
|
||||
*,
|
||||
case_sensitive: bool,
|
||||
pref_lengths: Optional[List[int]] = None,
|
||||
suff_lengths: Optional[List[int]] = None,
|
||||
) -> Model[List[Doc], List[Ints2d]]: ...
|
||||
def get_character_combination_hashes(
|
||||
*,
|
||||
doc: Doc,
|
||||
|
|
Loading…
Reference in New Issue
Block a user