Fix Linear B Wiktionary tr= extraction bug causing 5 wrong IPA values
Alvin
105ea5a
Root cause: re.search(r"|tr=([^|}]+)") matched the first tr= in the
entire wikitext, which for entries with {{quote-book}} templates was a
full tablet transliteration (e.g., "o-di-do-si du-ru-to-mo / ..."),
not the headword. This caused 5 entries (i-qo, ma-ra-tu-wo, o-do-ke,
o-di-do-si, wo-ro-ki-jo-ne-jo) to receive IPA from wrong Wiktionary
pages (po-ro, sa-sa-ma, a-re-pa, a-ko-so-ne, e-re-mo).
Fix: prefer unicode_to_translit(title) as primary transliteration,
only fall back to tr= from {{head|gmy|...}} templates. Removes 6
spurious entries created by wrong tr= extraction. Count: 2484 → 2478.
Add Linear B (Mycenaean Greek) dataset
Alvin
75d5ab7
Build structured Linear B dataset from 4 CC-BY-SA compatible sources:
- Unicode UCD: 211 signs (88 syllabograms + 123 ideograms)
- jhnwnstd/shannon: 2,272 words from Linear B Lexicon (MIT)
- Wiktionary gmy: 170 words with 46 expert IPA transcriptions
- IE-CoR: 42 words with expert IPA and Concepticon IDs
Output: 2,484 words with IPA, SCA encoding, glosses, source
attribution. Sign inventory with 74 Ventris grid IPA mappings.
IPA mapping follows Ventris & Chadwick (1973) and Hooker (1980).
Adversarial audit passed all 6 checks.
- Added 15th column 'Phono_Quality' (strong/moderate/weak/none/unscored)
based on SCA score thresholds to flag phonologically divergent cognates
- Downgraded 27,059 Robbeets cross-family pairs from certain to contested
- Fixed 2,906 Sino-Tibetan pairs from certain to doubtful (STEDT doubt markers)
- Rebuilt Parquet (31.3 MB) with new schema
- Added changelog entry 007 and flagging script