mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
remove unnecessary dependency
This commit is contained in:
parent
c03394810b
commit
b189f25aaa
|
@ -8,7 +8,6 @@ requires = [
|
|||
"thinc>=8.1.0,<8.2.0",
|
||||
"pathy",
|
||||
"numpy>=1.15.0",
|
||||
"rapidfuzz>=2.4.0,<3.0.0",
|
||||
"rapidfuzz_capi>=1.0.5,<2.0.0",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -708,7 +708,7 @@ cdef int8_t get_is_match(PatternStateC state,
|
|||
for attr in spec.attrs[:spec.nr_attr]:
|
||||
token_attr_value = get_token_attr_for_matcher(token.c, attr.attr)
|
||||
if token_attr_value != attr.value:
|
||||
if fuzzy != 0: # and n_fuzzy_attrs > 0:
|
||||
if fuzzy:
|
||||
fuzzy_match = False
|
||||
for i in range(n_fuzzy_attrs):
|
||||
if attr.attr == fuzzy_attrs[i]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user