feat(ru): drop abbreviations from the Russian noun list #6
Reference in New Issue
Block a user
Delete Branch "feature/drop-abbreviations"
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?
Fixes the ОГВЗ report: abbreviations leaked into ru_scrabble / ru_erudit.
Root cause. OpenCorpora tags ОГВЗ
NOUN, Abbrand inflects it through a full case paradigm with noFixd, so theAbbr+Fixdseed filter (built for indeclinable НДС/КПД) never caught it; and the РАН «(сокр.)» words (вуз, нэп, колхоз, …) were kept on purpose by the previous policy.Fix (generator). A final pass in
ru_stage2.pydrops a word when the orthographic note marks it(сокр.)(is_abbrev_note) or when every OpenCorpora noun reading carriesAbbr(oc_abbr_only— the generalisation ofoc_abbr_fixd_onlypastFixd, catching the declinable огвз/заз). Homographs that also have a plain-noun reading survive (ваза «ВАЗ», рис).Policy. Abbreviations are no longer Scrabble words; lexicalised exceptions are rescued in
manual_confirm.txt(колхоз, совхоз, рация, спецназ, эсминец, линкор, дзот, дот, прораб, токамак, тэн, морпех, старпом, юннат, твэл, научпоп, каско + the 10 borderline + под), and the bound prefixгосis vetoed inmanual_reject.txt.Result. 108 words removed from ru_scrabble / ru_erudit (en_sowpods unchanged); diff is removal-only. A full rebuild with libmorph reproduces the committed list minus exactly these 108 (added=0) — the earlier rebuild drift was a missing-libmorph artefact, now documented as a release prerequisite.
For a v1.3.0 release.