spaCy/spacy/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 Drop Python 2.7 and 3.5 (#4828) 2019-12-22 01:53:56 +01:00
dependencymatcher.pyx unicode -> str consistency [ci skip] 2020-05-24 18:51:10 +02:00
matcher.pxd Option for returning only greedy matches (#5771) 2020-07-29 11:04:43 +02:00
matcher.pyx Option for returning only greedy matches (#5771) 2020-07-29 11:04:43 +02:00
phrasematcher.pxd Tidy up compiler flags and imports (#5071) 2020-03-02 11:48:10 +01:00
phrasematcher.pyx Remove dead and/or deprecated code (#5710) 2020-07-06 13:06:25 +02:00