Cantillation engine
Loading the verse…
Genesis 40:23
Predicted reading
Off by default: received pointing may already reflect the accents.
✓ Match≠ DifferenceEtnaḥta / SilluqSecondary
Select a word to change its accent.
Reading key
Fill compares each word’s accents with MAM. Borders mark the proposed breaks. The tally counts every accent, including two on the same word. Missing or extra accents count as mismatches. Repeated positional copies of one accent count once.
A dot marks your fixed choices. Select a word for its rule or prediction.
Suggested breaks
Rules behind this reading
Browse the rules and preferences used by the engine. Citations identify documented accounts; they do not establish who first proposed a rule.
Detailed search and scores
Reconstruct the MAM reading Minimum choices
Rules, results & sources Accuracy and method
Look for counterexamples.
What is supplied, and what is predicted?
The input is the pointed text, maqqef groups, paseq strokes, word stress, vocal-sheva annotations from Phonetic MAM, morphology from the Open Scriptures Hebrew Bible, and phrase types, grammatical functions and clause membership from ETCBC / BHSA 2021. These pronunciation and grammatical annotations are supplied; they are not inferred from bare consonants. Pausal forms can reflect the received accentuation. The importer excludes source accent labels and BHSA’s half-verse objects.
The main-break candidates use completed grammatical constructions, word and syllable counts, grammatical functions, stress and possible pausal vowel forms. Clause attachment is followed until the parent construction includes its dependents. Missing alignments make no new completion claim. Pausal contrasts are compared with differently pointed forms in the other four books; a possible pausal form does not automatically require Etnaḥta.
The independent Phrasing view builds a nested grammatical hierarchy without consulting reference accents, an accent model, stress or syllable counts. Grammatical attachment links keep relatives, infinitives and appositions with their heads. A two-word clause is distinguished from a lexical pair. Accent choices cannot rewrite this analysis. The predictor then compares permitted musical realizations. Documented rules and grammatical evidence are distinguished from learned estimates; agreement with the reference does not by itself justify a new rule.
The existing accent mapping ranks every possible Etnaḥta location and its absence. The next stage proposes strong secondary boundaries using grammar and group lengths. Zaqef, Segol and Shalshelet remain interchangeable until the ending-selection stage. That stage retains the distance to Etnaḥta: a short local group can still lie far from it. Finally, each group’s internal pattern is predicted relative to its proposed ending, with the entire reading checked against the permitted sequences and stress-spacing rules.
These are learned preferences expressed as conditional branches, not a claim that every branch is a linguistic law. The models exclude the tested book. Their settings and the hand-written grammar were developed against the Torah corpus, so the measurements are developmental. The interface shows other leading main-break candidates and allows every accent choice that the strict constraints permit. A user’s choices trigger a fresh cascade; preferences can change when a proposed boundary changes.
“Follows from proposed breaks” means a unique consequence of the proposed main and complete strong-secondary plan. “Required by rules” uses only your supplied choices and the operational constraints. The inspector describes neighbouring signs in the completed candidate reading; those neighbours are never supplied as reference accents or used to invent the input break plan.
“Finish the plan” fixes the displayed boundaries and adds one global decision: all other words lack Etnaḥta, Zaqef, Segol and Shalshelet. This supplies negative information about every unmarked position. Reopening the plan removes that global restriction while retaining your individual choices.
BHSA is a scholarly syntactic analysis, not an independently blinded semantic annotation. Clause boundaries need not be cantillation boundaries. The relative importance of completed constructions, ambiguous attachments and closer internal divisions can still require a reading decision. Bare Tipḥa and Pashta are not automatically treated as independently perceived pauses.
What do the linchpins prove?
The planner explicitly consults MAM as its target. It searches for any different reading allowed by the rules, including readings that a frequency model would rank last. It then finds a smallest set of supplied accents that excludes all competitors. The final Silluq is given; an explicit “no Etnaḥta” counts as one decision. Every unsupplied accent must be uniquely determined. This proves a minimum for the implemented constraints and exact-accent decisions, not for every imaginable grammar or kind of semantic decision.
Remove a choice to see an actual surviving alternative. A lower bound is shown if the search has not proved a minimum. The Results panel separately measures ranked predictions: a successful guess there does not count as a logically forced accent here.
Five conservative pronunciation constraints refine the sequence grammar. They use stress, vowel nuclei and candidate neighbours, without reference signs or frequency tables. For example, a wide interval before Tevir requires Darga; a short interval retains both Darga and Merkha because transmitted exceptions exist. The stronger two-way proposals and their exceptions are measured separately. Construct relations are supplied grammatical evidence, not a blanket prohibition: the corpus also contains strong accents inside some recognized construct chains.
Relations can work in either direction.
Choosing Merkha constrains what follows; choosing the following sign constrains its predecessors. These relations do not settle the direction of semantic or musical dependence. Nor does a compulsory Tipḥa establish an independently perceived pause. The model keeps those questions separate.
Sources
Wickes and Price supply testable proposals, not unquestioned axioms. Goerwitz’s checker motivates checking complete sequences. This engine is an independent implementation; it does not copy the Goerwitz or Denckla program. Revia’s continuation and the complete conjunctive runs are audited against every supported Torah verse. New rules retain the received readings; mismatches in pronunciation rules are recorded as counterexamples.
Morphology adapted and aligned to MAM from OSHB, revision 3d15126, under CC BY 4.0. Original work of the Open Scriptures Hebrew Bible available at https://github.com/openscriptures/morphhb. Grammatical annotations adapted and aligned from ETCBC / BHSA, version 2021, revision b112c16, under CC BY-NC 4.0. The break proposals and cantillation rules are this project’s hypotheses.
