spaCy/spacy/tests/matcher
broaddeep ee159b8543
Support match alignments (#7321)
* Support match alignments

* change naming from match_alignments to with_alignments, add conditional flow if with_alignments is given, validate with_alignments, add related test case

* remove added errors, utilize bint type, cleanup whitespace

* fix no new line in end of file

* Minor formatting

* Skip alignments processing if as_spans is set

* Add with_alignments to Matcher API docs

* Update website/docs/api/matcher.md

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2021-04-08 18:10:14 +10:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_dependency_matcher.py Preserve user data for DependencyMatcher on spans (#7528) 2021-03-30 12:26:22 +02:00
test_matcher_api.py Update develop from master for v3.0.0rc5 (#6811) 2021-01-26 14:52:45 +11:00
test_matcher_logic.py Support match alignments (#7321) 2021-04-08 18:10:14 +10:00
test_pattern_validation.py Fix tests 2020-09-04 14:05:55 +02:00
test_phrase_matcher.py Tidy up and auto-format 2021-02-13 12:55:56 +11:00