Datasets:
aligned_lex ind: 49478 rows (d0da875ce9d9)
Browse files
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Attested target renderings per lexeme sense
|
| 3 |
+
tags:
|
| 4 |
+
- bible
|
| 5 |
+
- word-sense
|
| 6 |
+
- lexeme
|
| 7 |
+
- hebrew
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: default
|
| 11 |
+
data_files:
|
| 12 |
+
- split: train
|
| 13 |
+
path: iso=*/data.parquet
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# senses_attested — attested target renderings per lexeme sense
|
| 17 |
+
|
| 18 |
+
The empirical **evidence** layer produced for shoresh (bcv-query data-contract): for a lexeme in a
|
| 19 |
+
disambiguated *(binyan, sense)*, which target-language words attest it, with counts. It is the *supply*
|
| 20 |
+
that fills shoresh's `senses_i18n/_gaps` demand and cross-checks the `llm_strongs_glosses` predictions —
|
| 21 |
+
it **does not replace** shoresh's curated `senses_i18n/<iso>.tsv`; consumed as an HF Parquet dataset.
|
| 22 |
+
|
| 23 |
+
## Schema (per row)
|
| 24 |
+
| column | meaning |
|
| 25 |
+
|---|---|
|
| 26 |
+
| `lexeme` | MACULA lexeme (the anchor), e.g. `hbo:0006` |
|
| 27 |
+
| `stem` | MACULA binyan (`qal/piel/hiphil/…`); empty for non-verbs |
|
| 28 |
+
| `sense` | sense **number** (ordinal) — see licensing |
|
| 29 |
+
| `surface` | attested target rendering (lowercased) |
|
| 30 |
+
| `count` | times this `(lexeme, stem, sense)` → surface was aligned |
|
| 31 |
+
| `share` | `count / Σ count for that (lexeme, stem, sense)` **within one `base_text`** |
|
| 32 |
+
| `method` | alignment method (`eflomal`) |
|
| 33 |
+
| `source_corpus` | the original Hebrew corpus (e.g. `WLC`) |
|
| 34 |
+
| `base_text` | the **target edition** attested (e.g. `ind_C01`) — the per-row provenance dimension |
|
| 35 |
+
|
| 36 |
+
Key: **`(lexeme, stem, sense)`** — MACULA lexeme (anchor; BHSA `lex` dropped) + MACULA binyan + sense
|
| 37 |
+
number, read inline from the enriched `lexeme-spine.db`. OT/Hebrew only (senses are Hebrew; Greek tokens
|
| 38 |
+
carry none).
|
| 39 |
+
|
| 40 |
+
**Multi-version:** `base_text` is per-row, so several translations of a language are **pooled into one
|
| 41 |
+
`iso=<lang>` partition** — a union of per-edition runs, each row tagged by edition; `share` stays
|
| 42 |
+
per-edition. **Cross-edition agreement** (how many `base_text`s attest a given `(lexeme,stem,sense)→
|
| 43 |
+
surface`) is the confidence signal, derivable directly from the rows. (Swedish `iso=swe` pools
|
| 44 |
+
`swe_fol` Folkbibeln + `swe_svk` Kärnbibeln.)
|
| 45 |
+
|
| 46 |
+
## Removal / takedown policy
|
| 47 |
+
Each row is a **per-edition attestation** carrying its `base_text`, so a rights-holder can request
|
| 48 |
+
removal and it is a **clean row-drop** + republish (the dataset is content-addressed via each
|
| 49 |
+
partition's `content_sha256`). Because most `(lexeme,stem,sense)→surface` facts are attested by
|
| 50 |
+
**more than one edition**, dropping one edition typically leaves the linguistic fact intact via the
|
| 51 |
+
others — properly attributed. Rows are **never** re-emitted with provenance stripped: a removed
|
| 52 |
+
attestation is removed, not anonymized.
|
| 53 |
+
|
| 54 |
+
Removals are driven by a committed, auditable config: **`data/senses_exclude.json`** (read
|
| 55 |
+
automatically on every build). A row is dropped if it matches any rule; a rule matches when all its
|
| 56 |
+
stated fields equal the row's — fields `lexeme, stem, sense, surface, base_text`, omit to wildcard:
|
| 57 |
+
|
| 58 |
+
```json
|
| 59 |
+
{"exclude": [
|
| 60 |
+
{"base_text": "swe_fol"}, // drop a whole edition
|
| 61 |
+
{"base_text": "swe_fol", "surface": "herren"} // drop one surface within an edition
|
| 62 |
+
]}
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
After exclusion, survivor `share`s **renormalise** (per edition), so a removed row leaves no residue;
|
| 66 |
+
the manifest records `excluded: {rules, rows_dropped}` for the audit trail. To action a takedown: add
|
| 67 |
+
a rule, re-run `senses_attested` for the affected language, republish.
|
| 68 |
+
|
| 69 |
+
## Licensing — CC-BY-4.0, deliberately label-free
|
| 70 |
+
The **key is MACULA-derived** (`lexeme` + binyan), so this dataset is **CC-BY-4.0** — attribute
|
| 71 |
+
Clear-Bible MACULA. We carry the sense **number** only and **no English sense label**: shoresh's sense
|
| 72 |
+
labels are UBS-MARBLE "used with permission" (not redistributable), so the payload is pure attestation
|
| 73 |
+
`(lexeme, stem, sense#, surface, count)` — CC-BY clean. Regenerate:
|
| 74 |
+
`python -m strongs_aligner.senses_attested --iso <iso> --method eflomal`.
|
| 75 |
+
Same git-ignored-Parquet + committed-`manifest.json` layout as `aligned_lex`.
|