kirtis — Lithuanian Accentuation, Phonology & IPAkirtis running client-side via WebAssembly (Pyodide) + v0.1.0 benchmark suiteNote: This browser sandbox runs zero-dependency kirtis (phonology, syllabification, G2P-IPA, validation, heuristic accentuation). For the contextual dual-neural + 328k SQLite ensemble (measured results in the Benchmarks tab) and Wav2Vec2 CTC audio alignment, install pip install "kirtis[neural,audio]".
Token and sentence columns are agreement with the corpus's automatic stress marks (meldynamics/lt-stressed-corpus, rows ≥ 100,000), with Wilson 95% intervals. They are not accuracy against human-verified stress: the reference was produced by an automatic tool, the text is one genre, and the neural backbones were largely trained on it. Breakdowns and caveats are in the README.
| System | Token agreement | 95% CI | Whole sentences | 95% CI | Homographs | Not in lexicon | ECE |
|---|---|---|---|---|---|---|---|
| Lexicon-Only (328k SQLite, 0 ML) | 97.30% | 97.19–97.41 | 75.74% | 74.73–76.72 | 88.71% | 51.92% | 0.0514 |
| LitLat-BERT ONNX | 89.49% | 89.27–89.70 | 36.55% | 35.44–37.67 | 85.85% | 73.56% | 0.0701 |
| Banano-kirtis-v2 | 98.01% | 97.91–98.11 | 80.41% | 79.48–81.32 | 99.55% | 93.12% | 0.0169 |
| kirtis-v1 (standalone) | 99.61% | 99.56–99.65 | 95.83% | 95.34–96.27 | 99.62% | 93.36% | 0.0020 |
kirtis Ensemble (default) | 99.58% | 99.53–99.62 | 95.46% | 94.95–95.92 | 99.43% | 93.56% | 0.0061 |
kirtis Ensemble (kirtis-v1 backbone) | 99.66% | 99.62–99.70 | 96.27% | 95.81–96.69 | 99.44% | 93.72% | 0.0045 |
Curated regression suites (small, and written alongside the rules they test): default ensemble 204/204 tokens and 13/13 minimal pairs in Suite 1, 29/29 contrast pairs in Suite 5, 59/61 hard tokens in Suite 6. Audio stress detection has no measured accuracy yet.
pip install "kirtis[neural,audio]" kirtis corpus-build --download kirtis accent "Trečias namo aukštas švietė šiltai, kai grįžome namo." kirtis verify --audio clip.wav --text "Senos kalbos garsai skambėjo tyliai." --html report.html kirtis serve --mode auto
Full neural + Gradio UI server source is also available in space/app.py inside Algiras/kirtis.