mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
d1760ebe02
* `Matcher`: Better type checking of values in `SetPredicate` `SetPredicate`: Emit warning and return `False` on unexpected value types * Rename `value_type_mismatch` variable * Inline warning * Remove unexpected type warning from `_SetPredicate` * Ensure that `str` values are not interpreted as sequences Check elements of sequence values for convertibility to `str` or `int` * Add more `INTERSECT` and `IN` test cases * Test for inputs with multiple characters * Return `False` early instead of using a boolean flag * Remove superfluous `int` check, parentheses * Apply suggestions from code review Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * Appy suggestions from code review * Clarify test comment Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
dependencymatcher.pyi | ||
dependencymatcher.pyx | ||
matcher.pxd | ||
matcher.pyi | ||
matcher.pyx | ||
phrasematcher.pxd | ||
phrasematcher.pyi | ||
phrasematcher.pyx |