mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-24 20:51:30 +03:00
* Implement new API for {Phrase}Matcher.add (backwards-compatible)
* Update docs
* Also update DependencyMatcher.add
* Update internals
* Rewrite tests to use new API
* Add basic check for common mistake
Raise error with suggestion if user likely passed in a pattern instead of a list of patterns
* Fix typo [ci skip]
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_matcher_api.py | ||
| test_matcher_logic.py | ||
| test_pattern_validation.py | ||
| test_phrase_matcher.py | ||