Custom tool for Latin text lemmatisation based on the CLTK latin Lemmata data
Project description
Latin Lemmatizer
Custom tool for Latin text lemmatisation. Uses an extracted copy of the CLTK Latin lemmata data, but does not explicitly depend on CLTK.
- GitHub | PyPI | Documentation
- Created by Mitchell G. Harris | GitHub @mitchopt | PyPI @mitchopt
- MIT License
Usage
An --input-parameters option pointing to a yaml file is necessary.
uv run latin_lemmatizer --input-parameters ./input_parameters.yaml
The input parameters yaml must specify text_path and output_path values
# ./input_parameters.yaml
text_path: "./data/test.txt"
output_path: "./outputs/test.csv"
Documentation
Documentation is built with Zensical and deployed to GitHub Pages.
- Live site: https://mitchopt.github.io/latin-lemmatizer/
- Preview locally:
just docs-serve(serves at http://localhost:8000) - Build:
just docs-build
API documentation is auto-generated from docstrings using mkdocstrings.
Docs deploy automatically on push to main via GitHub Actions. To enable this, go to your repo's Settings > Pages and set the source to GitHub Actions.
Development
To set up for local development:
# Clone your fork
git clone git@github.com:your_username/latin-lemmatizer.git
cd latin-lemmatizer
# Install in editable mode with live updates
uv tool install --editable .
This installs the CLI globally but with live updates - any changes you make to the source code are immediately available when you run latin_lemmatizer.
Run tests:
uv run pytest
Run quality checks (format, lint, type check, test):
just qa
Author
Latin Lemmatizer was created in 2026 by Mitchell G. Harris.
Built with Cookiecutter and the audreyfeldroy/cookiecutter-pypackage project template.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latin_lemmatizer-0.1.2.tar.gz.
File metadata
- Download URL: latin_lemmatizer-0.1.2.tar.gz
- Upload date:
- Size: 929.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a77628580706bbddb47d51250a60511d3e616395dee2f199bc4f5e8c3b580e95
|
|
| MD5 |
95fff2f2cf463964258467f75365ced5
|
|
| BLAKE2b-256 |
ed85a5896ff640c5c8c3118417feb367da8f8587ee399018baeaee72ae418d3c
|
Provenance
The following attestation bundles were made for latin_lemmatizer-0.1.2.tar.gz:
Publisher:
publish.yml on mitchopt/latin-lemmatizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
latin_lemmatizer-0.1.2.tar.gz -
Subject digest:
a77628580706bbddb47d51250a60511d3e616395dee2f199bc4f5e8c3b580e95 - Sigstore transparency entry: 1226667644
- Sigstore integration time:
-
Permalink:
mitchopt/latin-lemmatizer@a969c3e73dcd745e9625451e7fee164d92fed51e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mitchopt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a969c3e73dcd745e9625451e7fee164d92fed51e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file latin_lemmatizer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: latin_lemmatizer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 915.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aa28b06f1b78286811c586eba5010960cc6a062cbb616ca2d14ecca34e08b72
|
|
| MD5 |
578405042a859d950de8f3fff87a2d20
|
|
| BLAKE2b-256 |
f841b080ff214528da9345c3f1e4a0b368af4e35f720c01741c32abc8c6ce478
|
Provenance
The following attestation bundles were made for latin_lemmatizer-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on mitchopt/latin-lemmatizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
latin_lemmatizer-0.1.2-py3-none-any.whl -
Subject digest:
9aa28b06f1b78286811c586eba5010960cc6a062cbb616ca2d14ecca34e08b72 - Sigstore transparency entry: 1226667668
- Sigstore integration time:
-
Permalink:
mitchopt/latin-lemmatizer@a969c3e73dcd745e9625451e7fee164d92fed51e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mitchopt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a969c3e73dcd745e9625451e7fee164d92fed51e -
Trigger Event:
workflow_dispatch
-
Statement type: