[spaCy](https://spacy.io/) is a [[natural language processing]] library for [[Python]].
## installation
```bash
uv add spacy
uv add https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0.tar.gz
```
Add the appropriate language model (see [spacy-models](https://github.com/explosion/spacy-models) repo) for your language and use case.
Add the spaCy VSCode Extension to [[VS Code]].
## quickstart
```python
import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("This is a sentence")
```