spaCy/spacy/matcher
Sofie Van Landeghem 48886afc78 prevent zero-length mem alloc (#4429)
* raise specific error when removing a matcher rule that doesn't exist

* rephrasing

* goldparse init: allocate fields only if doc is not empty

* avoid zero length alloc in saving tokenizer cache

* avoid allocating zero length mem in matcher

* asserts to avoid allocating zero length mem

* fix zero-length allocation in matcher

* bump cymem version

* revert cymem version bump
2019-10-22 16:54:33 +02:00
..
__init__.py Dependency tree pattern matcher (#3465) 2019-06-16 13:25:32 +02:00
_schemas.py Alphanumeric -> alphabetic [ci skip] 2019-10-06 13:30:01 +02:00
dependencymatcher.pyx Dependency tree pattern matcher (#3465) 2019-06-16 13:25:32 +02:00
matcher.pxd adding double match for optional operator at the end (#4166) 2019-08-21 22:46:56 +02:00
matcher.pyx prevent zero-length mem alloc (#4429) 2019-10-22 16:54:33 +02:00
phrasematcher.pxd Replace Entity/MatchStruct with SpanC (#4459) 2019-10-18 11:01:47 +02:00
phrasematcher.pyx Replace Entity/MatchStruct with SpanC (#4459) 2019-10-18 11:01:47 +02:00