Skip to content

Add Modern Hebrew — second Semitic engine (Verified) - #152

Merged
v4nn4 merged 1 commit into
mainfrom
rf/hebrew-engine
Aug 23, 2026
Merged

Add Modern Hebrew — second Semitic engine (Verified)#152
v4nn4 merged 1 commit into
mainfrom
rf/hebrew-engine

Conversation

@v4nn4

@v4nn4 v4nn4 commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

The second engine in the Semitic push (after Arabic #151), reusing the same principal-parts + affixation + mined-override architecture.

Approach

Hebrew verbs are triconsonantal across seven binyanim, cited by the unvoweled ktiv-male 3sg-masc past (שמר). The engine resolves each lemma to four mined principal parts (past/future 3sg-masc, present participle, infinitive) and derives the paradigm by regular affixation:

  • past suffixes, future person-prefix + stem + suffix with the mater-reduction rule (ישמור→ישמרו), present participle gender/number
  • weak roots: ל״ה final-ה, ע״ו hollow, פ״נ, gutturals, hifil hireq-yod, final-ת/נ merger

A 124-cell mined-override layer (38 lemmas) patches the irregular residue.

Verification

Two independent oracles — UniMorph ∩ a kaikki.org extraction with niqqud stripped (Hebrew Wiktionary points the forms; UniMorph doesn't). The residual ktiv-male vs chaser split is excluded by the harness, leaving a 22,762-cell gold across 1,013 lemmas.

Golden gate: forms 22762/22762 (100.00%), lemma coverage 1013/1013 (100.00%). 99.46% rule-derived, 0.54% overridden.

Registration

Lang::Heb, from_code he/heb/hebrew, Conjugation::Heb + build dispatch, reverse index, a 5-group serde Table (past/present/future/imperative/infinitive), PyO3 + wasm, Cargo includes, correctness.py, CI two-oracle gate. All green: 335 lib tests, clippy -D warnings, fmt, --features python/--features wasm.

Next in the family: Amharic (Beta), then Syriac/Egyptian.

🤖 Generated with Claude Code

Hebrew verbs are built on triconsonantal roots across seven binyanim, cited by
the unvoweled ktiv-male 3sg-masc past. The engine resolves each lemma to four
mined principal parts (past/future 3sg-masc, present participle, infinitive;
data/heb/parts.tsv) and derives the paradigm by regular affixation — past
suffixes, future person-prefix + stem + suffix with the mater-reduction rule
(ישמור→ישמרו), and present-participle gender/number — plus weak-root handling
(ל״ה final-ה, ע״ו hollow, פ״נ, gutturals, hifil hireq-yod, final-ת/נ merger).
A small mined-override layer (data/heb/overrides.tsv, 124 cells across 38
lemmas) patches the irregular residue.

Verified against the agreement of two independent oracles — UniMorph and a
kaikki.org (Wiktextract) extraction with niqqud stripped (Hebrew Wiktionary
points the forms; UniMorph does not). The residual ktiv-male-vs-chaser split is
excluded by the harness, leaving a 22,762-cell gold across 1,013 lemmas.

Golden gate: forms 22762/22762 (100.00%), lemma coverage 1013/1013 (100.00%),
99.46% rule-derived / 0.54% overridden. Full registration: Lang::Heb, from_code
he/heb/hebrew, Conjugation + build dispatch, reverse index, a 5-group serde
Table (past/present/future/imperative/infinitive), PyO3 + wasm bindings, Cargo
includes, correctness.py, and the CI two-oracle gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@v4nn4
v4nn4 merged commit 0ab1a29 into main Aug 23, 2026
2 checks passed
@v4nn4
v4nn4 deleted the rf/hebrew-engine branch August 23, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant