The Rohonc Codex

Using AI to extend and test the Király and Tokai dictionary

The programs

The programs behind every number on this site are runnable, and this page says where. Each test on the checked-results page names its program, and each program states its bar in its own first lines. The repository itself is not public; the programs are served here as plain text.

What they run on

Python 3.10.12 with numpy 2.2.6 and the standard library, from the repository root, as python3 harness/<program>.py. Every test program names its test number and states its bar in its first lines, before any result. Three inputs are not in this repository: the anonymous open transcription of 2014, latest.txt, recoverable from the Internet Archive at the address on the Sources page; Király and Tokai's dictionary, which is their published work and is not served here; and the reference corpora the folios are read against, all public-domain texts named under Sources and fetched from Project Gutenberg and archive.org. With those three in place every saved run below can be reproduced.

Which program made which number

Every test on the checked-results page names its program, and each program names its saved run. This table is read out of the tests document at build time.

testwhat it asksprogramsaved run
Test 1do the readings track their source where nobody looked?ktheldout.pyktheldout.txt
Test 2 and 2bpart of speech from context: the instrument is no goodktpos.py, ktpos2.pyktpos.txt, ktpos2.txt
Test 3the blindfold, run cleanktblind.pyblindfold_1790006519.txt, blindfold_1790006519_score.txt · BLINDFOLD.md
Test 4the illustrations: blockedktscanmap.py
Test 5external truth: sentences K&T translated wholektsentence.pyktsentence.txt
Test 6word order on held-out foliosktorder.pyktorder.txt
Test 7take K&T's words awayktrecover.pyktrecover.txt
Test 8from a random 30% of the words, can the rest be got back?ktbootstrap.pyktbootstrap.txt
Test 9the hidden 70% validated against the random 30% seedktseedcheck.pyktseedcheck.txt
Test 10, 10b, 10cthe search replayed on null booksktnullreplay.py, ktnullreplay2.py, ktnullreplay3.pyktnullreplay.txt, ktnullreplay2.txt, ktnullreplay3.txt
Test 11can the passage map be recovered from K&T's words alone?ktpassid.pyktpassid.txt
Test 12 and 12bTest 5 rescored under a strict rule, then two outside re-glossersktstrict.pyktstrict.txt, ktstrict_reglosser_gemini.txt, ktstrict_reglosser_grok.txt
Test 13the underdetermination censusktcensus.pyktcensus.txt
Test 14the blind rotated run, with an outside readerktblindfill.pyktblindfill.txt
Test 15passage identification by an outside readerktpassid2.pyktpassid2.txt
Test 16a second, independent transcriptionktopen.pyktopen.txt

The programs and every saved run are in the repository, with their history: github.com/styopr613/rohonc-codex. Nothing is served from here, so nothing on this page can point at a copy that has gone stale.

This rests on the Király and Tokai dictionary; their translation is unpublished; the readings here are this project's own.