Skip to main content

Champollion-LYSS

Community language-validation plugins for the MT Eval Harness.

Part of Champollion — open-source infrastructure for trustworthy machine translation across every language, built with communities and never scraped from them. The infrastructure is open-source and singly stewarded; the test sets and the methods for a community's language belong to that community. LYSS is how a language community's own validation standard travels into the harness on its own terms. Explore the wider network at champollion.dev/docs/network.

LYSS plugins are the referee of MT evaluation: FST-gated linters and semantic validators that judge whether a translation is morphologically valid and meaning-preserving in the target language — signals that surface metrics (chrF++, BLEU) cannot see. They live with the language, not with any translation method, so they score every method fairly.

The harness stays strictly language-neutral: it ships no language-specific scorer code. Instead it fetches and loads the relevant LYSS plugin on demand, driven by a language card's evalMetrics / evalStandard declaration.

This repo is the home for all such plugins. Today:

Language Plugin module Metrics
Plains Cree (nêhiyawêwin) crk champollion_lyss.crk lyss-eq (variant-class equivalence linter), lyss-sem (FST-lemma + gloss + content-word overlap)

Install

pip install champollion-lyss            # core (linters)
pip install "champollion-lyss[crk]"     # + spaCy for the Cree semantic validator

The harness installs this automatically when an evaluation targets a language whose card declares a LYSS standard (mt-eval setup --lang crk).

Data sovereignty & responsible use

This package ships code only — it bundles no dictionary, gloss, lexicon, or corpus data. The Plains Cree validation standard and any Cree language data are treated as the property of the nêhiyaw (Plains Cree) language community and are offered for non-commercial, community-benefit use, aligned with Indigenous data sovereignty principles (OCAP®). Ownership is split deliberately: Champollion maintains at most the GENERIC evaluation methodology (the LYSS standard); the Cree instantiation — the linguistic knowledge it validates against — is not ours, and models or artifacts built for Cree are governed by the community (see the Derived-Artifacts Commitment on champollion.dev). Commercial use of the Cree standard is reserved pending community consent. The full statement is in the NOTICE file, which travels with every redistribution.

Language-specific resources are obtained at runtime — fetched, never scraped or bundled:

  • Glosses → itwêwina API. The Cree semantic validator fetches glosses per-lemma from the public itwêwina API (itwewina.altlab.app) and caches them under ~/.mt-eval/itwewina-cache/. The underlying dictionary content (Wolvengrey CW, Maskwacîs MD, AECD) is not openly licensed: the cache is for your own local use only — never commit, redistribute, publish, or bundle it.
  • IP acknowledgment. Before any gloss is fetched you are shown the terms and must acknowledge them. In automation set CHAMPOLLION_LYSS_ACCEPT_IP=1 (CI / harness auto-setup acknowledge automatically; the notice is always printed).
  • FST → downloaded, invoked as a separate tool. Morphological analysis uses a finite-state transducer (e.g. the GiellaLT/ALTLab Plains Cree FST, AGPL) that the harness fetches on demand to ~/.mt-eval/fsts/crk/. It is never bundled into or linked into this package.
  • Fail honestly. If the FST, the spaCy model, or the gloss API is unavailable (or IP terms are unacknowledged), the affected score is reported as unavailable — never fabricated or substituted with synthetic data (human-validated data only).
  • Inline grammar facts are cited, not extracted. The small hand-curated lists in the code (optional particles, lemma-synonym pairs, structural words) are widely-published, cross-referenced facts of Plains Cree grammar — citable to multiple published grammars and lexica, references to published fact, not bulk-extracted data.

License

Use by permission only (interim; SPDX LicenseRef-Champollion-Interim-Permission-Required, see LICENSE). The Plains Cree standard is built on ALTLab/GiellaLT infrastructure and published Cree scholarship, and it encodes decisions that properly belong with the nêhiyaw language community. Until those consultations have happened, we take the conservative posture: written permission is required for any use — and is ordinarily granted without charge for noncommercial research, education, and community-benefit use. No commercial permission is granted at all, pending community consent. Source-available, not OSI "open source", and deliberately so for now.

In code terms the package stays independent of the data it fetches and the tools it invokes: the GiellaLT/ALTLab Cree FST (AGPL) is invoked as a separate downloaded tool, never bundled or linked, and no licensed dictionary/corpus data is shipped. The permission requirement is a stance about authority over the standard, not a claim that this code embeds ALTLab's.

The MT-Eval Harness this plugs into is AGPL-3.0, and grants an additional permission under AGPL §7 allowing the harness to combine with separately-licensed eval-standard plugins like this one through its public plugin interface — so a permission-gated plugin and the AGPL harness compose cleanly.

Monorepo note

Development happens in the Champollion monorepo (lyss/). This standalone repository exists purely as a license boundary — the interim permission-only license must not blur into the monorepo's Apache/AGPL code — and receives deliberate snapshot updates from the monorepo (there is no automatic mirroring).

OCAP® is a registered trademark of the First Nations Information Governance Centre (FNIGC): https://fnigc.ca/ocap-training/

Metadata

Release files for champollion-lyss 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for champollion-lyss 0.1.1
File Size Uploaded
champollion_lyss-0.1.1.tar.gz 54.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for champollion-lyss 0.1.1
File Interpreter ABI Platform
champollion_lyss-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 105.2 kB

Release files / champollion_lyss-0.1.1.tar.gz

Download URL champollion_lyss-0.1.1.tar.gz
Size 54.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8b8b128c577c81be2e01bb544701b09ab39bd83b4a09bec5c0cf298094740287
BLAKE2b-256 checksum
How to use checksums
73ebd04df206ba9a07077a037ae8d47240d5adb072fd28799e790b601ba7c1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / champollion_lyss-0.1.1-py3-none-any.whl

Download URL champollion_lyss-0.1.1-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72044db90cdd68ba1ed1ddf9b386b8d921435cce69c6202e7182c806b8f0fc60
BLAKE2b-256 checksum
How to use checksums
135171ecf743838c01e69e65a3d61cde83ab4c6855b9057a32650852daa8d24f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page