spaCy/spacy/tests/matcher
Sofie Van Landeghem 40c995b1be
Option for returning only greedy matches (#5771)
* add "greedy" option for match pattern

* distinction between greedy FIRST or LONGEST

* check for proper values, throw custom warning otherwise

* unxfail one more test

* add comment in docstring

* add test that LONGEST also prefers first match if equal length

* use c arrays for more efficient processing

* rename 'greediness' to 'greedy'
2020-07-29 11:04:43 +02:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_matcher_api.py Option for returning only greedy matches (#5771) 2020-07-29 11:04:43 +02:00
test_matcher_logic.py Option for returning only greedy matches (#5771) 2020-07-29 11:04:43 +02:00
test_pattern_validation.py Merge branch 'master' into tmp/sync 2020-03-26 13:38:14 +01:00
test_phrase_matcher.py Merge branch 'develop' into master-tmp 2020-06-20 15:52:00 +02:00