spaCy/spacy/tokens
Sofie Van Landeghem de025beb5f
Warn and document spangroup.doc weakref (#8980)
* test for error after Doc has been garbage collected

* warn about using a SpanGroup when the Doc has been garbage collected

* add warning to the docs

* rephrase slightly

* raise error instead of warning

* update

* move warning to doc property
2021-08-20 11:06:19 +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 Fix SpanGroup import (#7182) 2021-02-24 21:06:16 +11:00
_dict_proxies.py Fix spans weak ref in doc copy (#7225) 2021-02-28 12:32:48 +11:00
_retokenize.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
_retokenize.pyx Fix tensor retokenization for non-numpy ops (#7527) 2021-03-29 22:34:48 +11:00
_serialize.py Custom warning if the doc_bin is too large (#8069) 2021-05-17 15:48:40 +02:00
doc.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
doc.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
doc.pyx Various fixes for spans in Docs.from_docs (#8487) 2021-06-23 15:51:35 +02:00
graph.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
graph.pyx Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
morphanalysis.pxd Modify morphology to support arbitrary features (#4932) 2020-01-23 22:01:54 +01:00
morphanalysis.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
morphanalysis.pyx Minor refactor for Morphology and MorphAnalysis (#5804) 2020-07-24 09:28:06 +02:00
span_group.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
span_group.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
span_group.pyx Warn and document spangroup.doc weakref (#8980) 2021-08-20 11:06:19 +02:00
span.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
span.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
span.pyx Allow passing in array vars for speedup (#8882) 2021-08-10 15:13:53 +02:00
token.pxd cleanup 2021-01-13 14:20:05 +01:00
token.pyi Add stub files for main cython classes (#8427) 2021-08-07 12:30:03 +02:00
token.pyx fix 's typo's across code base (#8384) 2021-06-15 10:57:08 +02:00
underscore.py Remove object subclassing 2020-07-12 14:03:23 +02:00