Skip to main content

Custom tool for Latin text lemmatisation based on the CLTK latin Lemmata data

Project description

Latin Lemmatizer

PyPI version

Custom tool for Latin text lemmatisation. Uses an extracted copy of the CLTK Latin lemmata data, but does not explicitly depend on CLTK.

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latin_lemmatizer-0.1.2.tar.gz (929.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latin_lemmatizer-0.1.2-py3-none-any.whl (915.1 kB view details)

Uploaded Python 3

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

Hashes for latin_lemmatizer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a77628580706bbddb47d51250a60511d3e616395dee2f199bc4f5e8c3b580e95
MD5 95fff2f2cf463964258467f75365ced5
BLAKE2b-256 ed85a5896ff640c5c8c3118417feb367da8f8587ee399018baeaee72ae418d3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for latin_lemmatizer-0.1.2.tar.gz:

Publisher: publish.yml on mitchopt/latin-lemmatizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file latin_lemmatizer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for latin_lemmatizer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9aa28b06f1b78286811c586eba5010960cc6a062cbb616ca2d14ecca34e08b72
MD5 578405042a859d950de8f3fff87a2d20
BLAKE2b-256 f841b080ff214528da9345c3f1e4a0b368af4e35f720c01741c32abc8c6ce478

See more details on using hashes here.

Provenance

The following attestation bundles were made for latin_lemmatizer-0.1.2-py3-none-any.whl:

Publisher: publish.yml on mitchopt/latin-lemmatizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page