Legacy registered functions for spaCy backwards compatibility
Project description
spacy-legacy: Legacy functions and architectures for backwards compatibility
This package includes outdated registered functions for spaCy v3.x, for example model architectures, pipeline components and utilities. It's installed automatically as a dependency of spaCy, and allows us to provide backwards compatibility, while keeping the core library tidy and up to date. All of this happens under the hood, so you typically shouldn't have to care about this package.
How it works
Whenever a new backwards-incompatible version of a registered function is available, e.g. spacy.Tok2Vec.v1
→ spacy.Tok2Vec.v2
, the legacy version is moved to spacy-legacy
, and exposed via entry points. This means that it will still be available if your config files use it, even though the core library only includes the latest version.
Legacy functions are exposed with the prefix spacy-legacy
, e.g. spacy-legacy.Tok2Vec.v1
. When spaCy resolves your config and a function is not available in the core library, e.g. spacy.Tok2Vec.v1
, it will check if there's a legacy function available and fall back to that. You can also explicitly refer to legacy functions in your config, to indicate that a newer version is available.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spacy_legacy-3.0.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8526a54d178dee9b7f218d43e5c21362c59056c5da23380b319b56043e9211f3 |
|
MD5 | 82df294ce61656c91fb21e348862110a |
|
BLAKE2b-256 | 9f3d5024f88696db0ef37e3a3a0ddde60d9a43932e0ed68c2387cd966acf776d |