feat(db): provision verified Ingglish phonetic lexicon and AQ attractor corpus
- Provision 872 verified Ingglish phonetic entries (253 Tier-1 lexicon/bridge items + 619 Tier-2 multi-scale 333/666/777/Numogram equations) formatted with native `[Ingglish: <English Gloss>]` comment brackets. - Guard short Ingglish syllables (`di`, `li`, `mi`, `vi`, `iv`) against Roman-numeral false positives in `tools/normalize_caps.py`. - Add newcomer onboarding documentation (`docs/ONBOARDING-INGGLISH-AQ.md`). - Bump `databaseVersion` in `config.default.js` to cache-bust precomputed JSON. - Verified 100% pass rate across all 4 CI gates (0 normalize mutations, 100.0% classify_candidates keep rate, 0 comment-strip/AQ mismatches).
This commit is contained in:
1 parent
d025c7e810
commit
8c35752d9d
4 files changed
+980
-8
No files matched your search
@@ -32,8 +32,11 @@ DICT = load_dict()
|
||||
ROMAN = re.compile(r"M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})", re.I)
|
||||
|
||||
|
||||
INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi"}
|
||||
|
||||
|
||||
def is_roman(s):
|
||||
return bool(s) and ROMAN.fullmatch(s) is not None
|
||||
return bool(s) and s.lower() not in INGGLISH_NON_ROMAN and ROMAN.fullmatch(s) is not None
|
||||
|
||||
|
||||
def xform_word(w):
|
||||
|
||||
Reference in new issue
Block a user