spaCy/spacy/tokens
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__.pxd * Break up tokens.pyx into tokens/doc.pyx, tokens/token.pyx, tokens/spans.pyx 2015-07-13 20:20:58 +02:00
__init__.py DocPallet -> DocBin 2019-09-18 15:15:37 +02:00
_retokenize.pyx prevent zero-length mem alloc (#4429) 2019-10-22 16:54:33 +02:00
_serialize.py Bugfix initializing DocBin with attributes (#4368) 2019-10-03 14:48:45 +02:00
doc.pxd cleanup 2019-07-11 13:09:22 +02:00
doc.pyx prevent zero-length mem alloc (#4429) 2019-10-22 16:54:33 +02:00
morphanalysis.pxd Add header for morphanalysis 2019-03-07 17:24:57 +01:00
morphanalysis.pyx Add more docstrings for MorphAnalysis 2019-09-12 16:48:30 +02:00
span.pxd annotate kb_id through ents in doc 2019-03-22 11:36:44 +01:00
span.pyx Allow copying of user_data in as_doc (#4282) 2019-09-12 17:08:14 +02:00
token.pxd ensure Span.as_doc keeps the entity links + unit test 2019-06-25 15:28:51 +02:00
token.pyx Merge changes to test_ner 2019-09-18 21:41:24 +02:00
underscore.py 💫 Improve introspection of custom extension attributes (#3729) 2019-05-12 00:53:11 +02:00