mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
30cf9d6a05
* Improve typing hints for Matcher.__call__ * Add typing hints for DependencyMatcher * Add typing hints to underscore extensions * Update Doc.tensor type (requires numpy 1.21) * Fix typing hints for Language.component decorator * Use generic np.ndarray type in Doc to avoid numpy version update * Fix mypy errors * Fix cyclic import caused by Underscore typing hints * Use Literal type from spacy.compat * Update matcher.pyi import format Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
dependencymatcher.pyi | ||
dependencymatcher.pyx | ||
matcher.pxd | ||
matcher.pyi | ||
matcher.pyx | ||
phrasematcher.pxd | ||
phrasematcher.pyi | ||
phrasematcher.pyx |