Restore lost Russian dict sources & drop OpenCorpora abbreviations #3
Reference in New Issue
Block a user
Delete Branch "feature/restore-russian-sources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two related changes to the Russian word-list pipeline.
1. Restore lost source files (
5b7a741)The repo split dropped three primary sources the analysis pipeline needs; recovered byte-identically from scrabble-solver history (tag v1.0.0):
tools/orfo_dict_2025.pdf— РАН orthographic dictionary (primary source)sources/scrabble_ru/orfo_dict_2025.txt— pdftotext output (source of truth)sources/scrabble_ru/all.txt— Stage-1 baseUn-ignored them in
.gitignoreand fixed the contradictory README note.2. Filter OpenCorpora abbreviations & proper nouns (
6b8b176)OpenCorpora tags indeclinable abbreviations as common nouns (
Abbr+Fixd), so the seed leaked non-words: ндс, ст, ср, кпд, чп, гибдд, днк, …ru_stage2.pynow dropsAbbr+Fixdnouns from the seed and defers to the orthographic note: lowercase РАН headwords that are nouns are kept (сельпо, под, ска, роно, врио, тв, фио, суперэвм); function words (зато) and OpenCorpora inflected forms (ан) are dropped.--trace WORDgives a detailed per-signal audit;tools/README.mddocuments the rule and the reproducible method.Net: −179 words in
scrabble.txt(83385→83206) anderudit.txt(83343→83164); verified to remove exactly those 179 and add none. DAWGs rebuild clean (CI gate).