spaCy/spacy/matcher
Shen Qin be00db6645
Addition of min_max quantifier in matcher {n,m} (#10981)
* Min_max_operators
1. Modified API and Usage for spaCy website to include min_max operator
2. Modified matcher.pyx to include min_max function {n,m} and its variants
3. Modified schemas.py to include min_max validation error
4. Added test cases to test_matcher_api.py, test_matcher_logic.py and test_pattern_validation.py

* attempt to fix mypy/pydantic compat issue

* formatting

* Update spacy/tests/matcher/test_pattern_validation.py

Co-authored-by: Source-Shen <82353723+Source-Shen@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-06-30 11:01:58 +02:00
..
__init__.py Drop Python 2.7 and 3.5 (#4828) 2019-12-22 01:53:56 +01:00
dependencymatcher.pyi Update typing hints (#10109) 2022-01-28 16:59:54 +01:00
dependencymatcher.pyx Merge remote-tracking branch 'upstream/master' into chore/update-develop-from-master-v3.1-3 2021-10-14 09:41:46 +02:00
matcher.pxd Support match alignments (#7321) 2021-04-08 18:10:14 +10:00
matcher.pyi Update typing hints (#10109) 2022-01-28 16:59:54 +01:00
matcher.pyx Addition of min_max quantifier in matcher {n,m} (#10981) 2022-06-30 11:01:58 +02:00
phrasematcher.pxd Run PhraseMatcher on Spans (#6918) 2021-02-10 23:43:32 +11:00
phrasematcher.pyi fix(phrasematcher.pyi): change type annotation of docs in add() to List[Doc] (#10235) 2022-02-08 13:37:27 +01:00
phrasematcher.pyx Fix PhraseMatcher remove overlapping terms (#10734) 2022-05-12 12:23:52 +02:00