Pie Extended
Extension for Pie (through PaPie) to include taggers with their models and pre/postprocessors: normalization, tokenization, disambiguation, output formatting. The person who gets a model tags a text in one command and gets the output its authors intended.
Documentation: https://hipster-philology.github.io/nlp-pie-taggers/
Quick start
Python 3.12 or later is needed.
pip install pie-extended --extra-index-url https://download.pytorch.org/whl/cpu # the extra index: no GPU needed
pie-extended list # the available models
pie-extended download lasla # the files of a model
pie-extended install-addons lasla # what it needs besides, if anything
pie-extended tag lasla your_file.txt --tasks lemma,pos
The output is written next to the file (your_file-pie.txt): a TSV with one line per token.
token lemma pos SpaceAfter
Arma arma NOMcom _
uirumque uir NOMcom No
{uirumque} que CON _
cano cano ADJqua No
From Python:
from pie_extended.cli.utils import get_tagger, get_pipeline
tagger = get_tagger("lasla", tasks=["lemma", "pos"])
iterator, processor = get_pipeline("lasla", tagger)
print(tagger.tag_str("Arma uirumque cano", iterator=iterator, processor=processor))
Models
Latin, Ancient Greek, Old, Middle, Classical and Early Modern French, Middle Dutch, Occitan, Old Castilian (placeholder) and Eastern, Western and Classical Armenian. Some of them run through spaCy (GreCy). The documentation lists them, with what is specific to each.
If you trained models and want some help sharing them with Pie Extended, open an issue :)
Documentation
| Presentation | What Pie Extended does |
| Install | The package and the models |
| Tagger usage | Tag files from a terminal |
| API usage | Tag from Python, build a pipeline, add a model |
| API | Reference of the classes and functions |
| Citation | How to cite the software and the models |
To build it yourself: pip install -e ".[docs]", then make docs (the result is in docs/_build/html).
Cite as
@software{thibault_clerice_2020_3883590,
author = {Clérice, Thibault},
title = {Pie Extended, an extension for Pie with pre-processing and post-processing},
month = jun,
year = 2020,
publisher = {Zenodo},
doi = {10.5281/zenodo.3883589},
url = {https://doi.org/10.5281/zenodo.3883589}
}
Please also cite the models you use: see Citation.
Metadata
Release files for pie-extended 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pie_extended-1.0.0.tar.gz | 76.4 kB | With provenance | Details for pie_extended-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pie_extended-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pie_extended-1.0.0-py3-none-any.whl |
Total release size: 169.5 kB
Release files / pie_extended-1.0.0.tar.gz
| Download URL | pie_extended-1.0.0.tar.gz |
|---|---|
| Size | 76.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c7c4a9aacb65751b09003ac4048dce0b2963dcbc1e3adb3e46eec2c8337fb48
|
|
BLAKE2b-256 checksum How to use checksums |
d81af8f4b6fd3e6064d05befffcb0433987398ff2c67f308dedfc68722396906
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / pie_extended-1.0.0-py3-none-any.whl
| Download URL | pie_extended-1.0.0-py3-none-any.whl |
|---|---|
| Size | 93.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad37a0a25affe491d1aad9b0368dab171cafed2361524835353d003cbcabbc8e
|
|
BLAKE2b-256 checksum How to use checksums |
f46769bbadff93568f20bca8e24f0f5cd8464a7130cbc084de9f777e86356d93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for pie-extended 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pie_extended-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.