spaCy/spacy
Matthew Honnibal a6317b3836
Fix allocation of non-transient strings in StringStore (#13713)
* Fix bug in memory-zone code when adding non-transient strings. The error could result in segmentation faults or other memory errors during memory zones if new labels were added to the model.
* Fix handling of new morphological labels within memory zones. Addresses second issue reported in Memory leak of MorphAnalysis object. #13684
2024-12-11 13:06:53 +01:00
..
cli
displacy
kb
lang
matcher
ml
pipeline
tests Fix allocation of non-transient strings in StringStore (#13713) 2024-12-11 13:06:53 +01:00
tokens
training
__init__.pxd
__init__.py
__main__.py
about.py Fix allocation of non-transient strings in StringStore (#13713) 2024-12-11 13:06:53 +01:00
attrs.pxd
attrs.pyx
compat.py
default_config.cfg
default_config_pretraining.cfg
errors.py
glossary.py
language.py
lexeme.pxd
lexeme.pyi
lexeme.pyx
lookups.py
morphology.pxd
morphology.pyx Fix allocation of non-transient strings in StringStore (#13713) 2024-12-11 13:06:53 +01:00
parts_of_speech.pxd
parts_of_speech.pyx
pipe_analysis.py
py.typed
schemas.py
scorer.py
strings.pxd
strings.pyi
strings.pyx Fix allocation of non-transient strings in StringStore (#13713) 2024-12-11 13:06:53 +01:00
structs.pxd
symbols.pxd
symbols.pyx
tokenizer.pxd
tokenizer.pyx
ty.py
typedefs.pxd
typedefs.pyx
util.py
vectors.pyx
vocab.pxd
vocab.pyi
vocab.pyx