You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Unified Distributional Grammar (Greek + Latin + Hebrew)

NuBerea/unified-grammar — the j-layer construction × function × source × era matrix, mirroring the shape of NuBerea/distributional-lexicon (lemma × sense × source × era) for grammar instead of lexicon: every grammatical claim scoped, counted, basis-carrying (see METRIC SEMANTICS below), and traceable to corpus instances, with traditional grammars (Smyth, Gesenius-Kautzsch-Cowley, Allen & Greenough) admitted only as witness prose, never as evidence. Full design: grammar/plans/DISTRIBUTIONAL_GRAMMAR_PLAN.v2.md.

This repo replaces the plan's placeholder name distributional-grammar — the owner-chosen repo name is unified-grammar throughout.

Config consolidation (2026-08-24, owner GO 2026-08-23): the per-language greek_* / latin_* / hebrew_* / nt_* / ot_* / lxx_* configs (30 total) were merged into 11 cross-language configs (construction_candidate, construction_gold, construction_judgment, construction_cell, construction_apparatus, grammar_claim, grammar_source_claim, parser_calibration, alignment_positions, projected_heads, latin_syntax_silver_merged), each carrying a lang (or, for latin_syntax_silver_merged, parser_id / calibration_version) column as the discriminator instead of a config-name prefix, built by scripts/build_consolidated.py. The 30 retired per-language config names are tombstoned (status: deprecated) in ontology/manifest/assets.yaml with successor pointers to the merged config; nothing was dropped -- see each merged config's manifest notes: for the exact per-source row counts and column-harmonization list (e.g. gold_definiteness, examples, calibration_version). construction_ontology, greek_syntax_silver, hebrew_gold_heads, hallmark_loci, and crosslang_construction_alignment were not part of the consolidation and are unchanged.

Namespaces

Configs are namespaced greek_ / latin_ / hebrew_, plus unprefixed crosslang_ for the one cross-language config — exactly NAMING_CONTRACT.md rule 1 from the lexicon family (a config that ships to another repo keeps that repo's own real name, never a lang-prefixed alias; construction_ontology itself is also unprefixed, since it is the shared language-neutral inventory both arms key against).

Config table

config namespace status k builder
construction_ontology shared, unprefixed live-candidate curated scripts/build_ontology.py
greek_construction_candidate greek planned computed scripts/build_greek.py
greek_construction_gold greek planned computed scripts/build_greek.py
greek_construction_judgment greek planned computed scripts/build_greek.py
greek_construction_cell greek planned computed scripts/build_greek.py
greek_construction_apparatus greek planned computed scripts/build_greek.py
greek_construction_dist_by_source greek planned computed scripts/build_greek.py
greek_construction_dist_by_era greek planned computed scripts/build_greek.py
greek_construction_drift_ranking greek planned computed scripts/build_greek.py
greek_grammar_claim greek planned computed scripts/build_greek.py
greek_grammar_source_claim greek planned computed scripts/build_greek.py
greek_parser_calibration greek planned computed scripts/build_greek.py
latin_construction_candidatelatin_parser_calibration latin planned computed scripts/build_latin.py
hebrew_construction_candidatehebrew_parser_calibration hebrew planned computed scripts/build_hebrew.py
crosslang_construction_alignment shared, unprefixed planned computed scripts/build_hebrew.py (crosslang-owner precedent)

Only construction_ontology is real today; every other row is a routing stub that exits NOT_IMPLEMENTED: <config> (rc=3) rather than emit fabricated data — see build.py's module docstring and VERIFY.md.

Upstreams

Live, already-on-platform (no new intake needed for Phase 0): macula-greek, macula-sblgnt-syntax, macula-hebrew, macula-hebrew-syntax, septuagint-lxx, vulgate-clementina, features/grc_syntax, features/lat_syntax, classical-greek/grc_segments, distributional-lexicon (lexical-class covariate).

Planned t0 repos (owner-gated creation, per-repo confirmation — see plan v2 §2, §8): papygreek-treebank, agdt-treebank, pedalion-treebank (Greek gold treebanks, Phase 2), latin-llct-treebank, latin-udante-treebank, latin-circse-treebank (Latin gold treebanks, Phase 3), allen-greenough-grammar (Latin grammar witness, DCC re-edition, CC BY-SA 3.0, Phase 1), gesenius-kautzsch-grammar (Hebrew grammar witness, Wikisource, CC BY-SA 4.0, flagged incomplete, Phase 1).

smyth-grammarUNBLOCKED 2026-08-23 (owner ruling): Smyth 1920 is public domain; the Perseus/ Alpheios CC BY-NC-SA claim attaches to their encoding, which is not redistributed. NuBerea/smyth-grammar (k=public-domain, 3,261 sections §1–§3048 + 213 dialect paragraphs, 658-row TOC; built from the Perseus-derived neelsmith/smyth TEI, Beta Code → Unicode) is the Greek grammar witness; greek_grammar_claim / greek_grammar_source_claim can now be implemented against it (plan v2 §8 D6 superseded).

k / licensing

  • construction_ontology: k: curated — the owner-ratified 20-construction seed table, hand-authored, language-neutral, holding grammar_crosswalk section-NUMBER pointers only (never grammar prose).
  • Every derived {lang}_* and crosslang_* config: k: computed once implemented — t = max(upstream t) + 1.
  • {lang}_grammar_prose (not yet a config in this repo's CONFIGS_BY_LANG — ships from the individual grammar-witness t0 repos per plan v2 §3) carries the true source-license province via the license-home exception, mirroring greek_lexica_prose.

k_firewall (applies to every {lang}_parser_calibration config, present and future): "Ships construction ids, counts, scores, confidence and section-number pointers only — no treebank tokens or grammar prose redistributed or reconstructible." This mirrors the estate's edition_delta / greek_lexica_prose firewall pattern (samaritan-pentateuch-gall / dss-levy precedent): NC-licensed treebanks and benchmarks (Gorman, UD-Perseus, UD-PROIEL, GLAUx's NC layer, UD_Latin-ITTB/Perseus-LDT/PROIEL, LASLA, ETCBC BHSA, UD_Ancient_Hebrew-PTNK) are registered as NC-LICENSED t0 (never-wired) instruments — private, never tenant-wireable, never public or gated-public, never in any config's upstreams: list. Enforced by scripts/grammar_never_anchor_guard.py in build.py --verify: FAIL = no publish.

The witness guard

scripts/grammar_never_anchor_guard.py (transplant of distributional-lexicon's scripts/hebrew/never_anchor_guard.py, which keeps SDBH's CC BY-SA domains from leaking into the CC BY lexicon) asserts:

  1. No *_construction_cell / *_construction_apparatus / *_grammar_claim parquet carries a section_id / grammar-work-key column, named or disguised.
  2. Every *_grammar_source_claim row has evidence_status == 'grammar-author-claim'.
  3. grammar_crosswalk pointers live ONLY on construction_ontology — no other config may carry that column.

Traditional-grammar prose is witness, never evidence: a grammar_explanation tool answer may cite that a construction's function reading is consistent with Smyth §2054 or GKC §116, but no published cell, apparatus, or claim row may be keyed on, or derived from, a section id.

NAMING_CONTRACT policy (plan v2 §4, condensed)

The estate's edition_delta (samaritan-pentateuch-gall / dss-levy) precedent applies verbatim to any future NC-benchmark instrument read in this repo: an exception: {class: instrument-read, reason: ...} block on the manifest node, a k_firewall string stating exactly what ships and asserting non-reconstructibility, k staying the shipping side's true class (never inherited from the NC upstream), and the NC source itself registered as a quarantined instrument — never wired, never an upstreams: entry, never public. construction_id naming is language-neutral by construction (SS5.1/SS5.4 lint in build_ontology.py): no GREEK/LATIN/HEBREW/GRC/LAT/HBO token may appear in a construction id, so the ontology scales across languages without ever encoding a language into the join key itself.

Hard rules honored by this repo

No Hugging Face operations, no git commit/push, no repo creation performed by any script here. No LLM calls inside any builder (stage-prompts-only rule) — the ontology seed is hand-curated, not model-generated. No embedding work, no OCR, anywhere in this repo's scope. assets.yaml and ontology/manifest/schema.py are read-only references for this repo, never edited by it.

METRIC SEMANTICS (2026-08-24)

There is no per-instance confidence in this dataset, and the column names say so. nb_posterior (apparatus) / mean_nb_posterior (cell) is a per-construction naive-Bayes posterior whose only features are genre + the extractor's variables; 16.4% of matched candidates carry no variables at all, so it is a construction+genre base rate — hbo GEN.NN takes 6 distinct values across its 54,260 silver rows (all layers together show 14, because proxy rows carry a re-pointed per-row posterior), hbo CL.PURP exactly one. predominance_share (claims) is a descriptive share of the model's OWN output distribution and is therefore circular as a truth signal.

The measured trust signal is holdout_agreement — leave-one-source-out top-1 agreement — now carried on apparatus and cell rows, not just claims. Read it with n_train_labels/n_train_classes: n_train_classes == 1 means a constant model whose posterior is 1.0 by construction (10 of 47 construction-language pairs), and 5 claims rest on a single training label. hbo INF.ART averages posterior 0.804 across 5,474 rows at a hold-out of 0.1.

On a layer='proxy' row the label came from the adjudicated panel, so a LOW nb_posterior marks model-vs-human disagreement, not doubt — those are the best-evidenced rows here.

Downloads last month
44