mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
7c98245c0c
Add a simple levenshtein distance function using the implementation from the polyleven library as `spacy.matcher.levenshtein`.
7 lines
232 B
Python
7 lines
232 B
Python
from .matcher import Matcher
|
|
from .phrasematcher import PhraseMatcher
|
|
from .dependencymatcher import DependencyMatcher
|
|
from .levenshtein import levenshtein
|
|
|
|
__all__ = ["Matcher", "PhraseMatcher", "DependencyMatcher", "levenshtein"]
|