spacy-legacy 3.0.12


pip install spacy-legacy

  Latest version

Released: Jan 23, 2023

Project Links

Meta
Author: Explosion
Requires Python: >=3.6

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers
  • Science/Research

Topic
  • Scientific/Engineering
  • Scientific/Engineering :: Artificial Intelligence

License
  • OSI Approved :: MIT License

Operating System
  • POSIX :: Linux
  • MacOS :: MacOS X
  • Microsoft :: Windows

Programming Language
  • Python :: 3
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9

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.

Azure Pipelines pypi Version

How it works

Whenever a new backwards-incompatible version of a registered function is available, e.g. spacy.Tok2Vec.v1spacy.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.

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

No dependencies