Skip to main content

Crate haqor_core

Crate haqor_core 

Source
Expand description

App-facing Bible access and Hebrew learning core.

Re-exports§

pub use haqor_morphology as morphology;

Modules§

bible
Utilities for interacting with Bible resources.
grammar
Grammar concepts and learner-facing teaching content. Grammar concepts taught by the tutor.
lexicon_overlay
Hand-maintained lexicon and learner-gloss overlays. Hand-maintained lexical data layered over the imported lexicons.
progress_sync
Safe snapshot and merge support for synchronising learner progress. Snapshot and merge support for a learner’s writable progress.db.
pronoun_suffix
Pronominal-ending inventory and stem/suffix splitting. Pronominal endings on function words, for the tutor’s suffix drill.
resolve
Build-time resolution of a surface to word info, searching the generation databases. gen-runtime precomputes its output into haqor.db. Resolving a surface — and a corpus token — to the word info the reader shows, by searching the generation databases’ candidate analyses.
romanize
Learner-facing romanization of pointed Hebrew. Learner-facing romanization of pointed Hebrew — the tutor’s “how it sounds”, ported from the app so cards arrive with their voicing attached and the app stays presentation-only.
transliterate
Lossless SEDRA-to-Hebrew and Hebrew-to-Syriac conversion. SEDRA transliteration and lossless NT Hebrew ↔ Syriac conversion.
tutor
Spaced-repetition reading tutor. Spaced-repetition reading tutor.
vocab_gloss
Curated learner glosses for high-frequency surfaces. Curated learner glosses for the most frequent OT surface forms.

Constants§

VERSION
Version of this crate, so an app can report which core it is running without hard-coding a number that drifts from Cargo.toml. Shown in the app’s About view alongside the data build from bible::Bible::data_version.

Functions§

normalize_surface
Reduce a raw token to the letters and niqqud consumed by the morphology parser. Cantillation and other marks are dropped, and combining marks are put in canonical order so equivalent source spellings share one key.