Skip to content

Getting started

You can install spacy-cleaner with pip or using poetry.

Installation

with pip recommended

spacy-cleaner is published as a Python package and can be installed with pip, ideally by using a virtual environment. If not, scroll down and expand the help box. Install with:

pip install spacy-cleaner
pip install spacy-cleaner=="3.*" # (1)!
  1. spacy-cleaner uses semantic versioning, which is why it's a good idea to limit upgrades to the current major version.

This will automatically install compatible versions of all dependencies: spaCy, spaCy Lookups, and tqdm. We always strive to support the latest versions, so there's no need to install those packages separately.


with Poetry

You can install spacy-cleaner using Poetry:

poetry add spacy-cleaner