spaCy/spacy/tests/matcher
Adriane Boyd cae4589f5a
Replace EntityRuler with SpanRuler implementation (#11320)
* Replace EntityRuler with SpanRuler implementation

Remove `EntityRuler` and rename the `SpanRuler`-based
`future_entity_ruler` to `entity_ruler`.

Main changes:

* It is no longer possible to load patterns on init as with
`EntityRuler(patterns=)`.
* The older serialization formats (`patterns.jsonl`) are no longer
supported and the related tests are removed.
* The config settings are only stored in the config, not in the
serialized component (in particular the `phrase_matcher_attr` and
overwrite settings).

* Add migration guide to EntityRuler API docs

* docs update

* Minor edit

Co-authored-by: svlandeg <svlandeg@github.com>
2022-10-24 09:11:35 +02:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_dependency_matcher.py add additional REL_OP (#10371) 2022-07-27 13:16:44 +02:00
test_levenshtein.py Auto-format code with black (#11513) 2022-09-16 11:50:19 +02:00
test_matcher_api.py Merge branch 'develop' into merge-develop-into-v4 2022-09-07 11:35:47 +02:00
test_matcher_logic.py Addition of min_max quantifier in matcher {n,m} (#10981) 2022-06-30 11:01:58 +02:00
test_pattern_validation.py Addition of min_max quantifier in matcher {n,m} (#10981) 2022-06-30 11:01:58 +02:00
test_phrase_matcher.py Replace EntityRuler with SpanRuler implementation (#11320) 2022-10-24 09:11:35 +02:00