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
File details
Details for the file spacy-legacy-3.0.12.tar.gz
.
File metadata
- Download URL: spacy-legacy-3.0.12.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b37d6e0c9b6e1d7ca1cf5bc7152ab64a4c4671f59c85adaf7a3fcb870357a774 |
|
MD5 | 53a509a9313c9828014740afccfd8e4a |
|
BLAKE2b-256 | d97991f9d7cc8db5642acad830dcc4b49ba65a7790152832c4eceb305e46d681 |
File details
Details for the file spacy_legacy-3.0.12-py2.py3-none-any.whl
.
File metadata
- Download URL: spacy_legacy-3.0.12-py2.py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476e3bd0d05f8c339ed60f40986c07387c0a71479245d6d0f4298dbd52cda55f |
|
MD5 | ce0d9956e650cc694b7321ca3a109564 |
|
BLAKE2b-256 | c35512e842c70ff8828e34e543a2c7176dac4da006ca6901c9e8b43efab8bc6b |