Dataset Viewer
Auto-converted to Parquet Duplicate
surface
stringlengths
1
67
lexeme
stringlengths
5
15
strong
stringlengths
5
5
count
int32
1
6.03k
share
float32
0
1
hi_conf
float32
0
1
آئب
hbo:7725
H7725
1
1
0
آباء
hbo:0001
H0001
32
1
1
آباءك
hbo:0001
H0001
1
1
1
آباءكم
hbo:0001
H0001
16
1
0
آباءنا
hbo:0001
H0001
6
1
0
آباءهم
hbo:0001
H0001
8
1
1
آباؤك
hbo:0001
H0001
10
0.9091
1
آباؤك
hbo:7130
H7130
1
0.0909
1
آباؤكم
hbo:0001
H0001
17
1
0.9412
آباؤنا
hbo:0001
H0001
6
0.8571
1
آباؤنا
hbo:3427
H3427
1
0.1429
0
آباؤه
hbo:0001
H0001
6
1
1
آباؤهم
hbo:0001
H0001
9
0.9
0
آباؤهم
hbo:2450
H2450
1
0.1
0
آباؤهن
hbo:0001
H0001
1
1
0
آبائك
hbo:0001
H0001
15
0.9375
1
آبائك
hbo:8057
H8057
1
0.0625
1
آبائكم
hbo:0001
H0001
28
1
0
آبائنا
hbo:0001
H0001
18
1
0.5556
آبائه
hbo:0001
H0001
66
0.9429
1
آبائه
hbo:5650
H5650
2
0.0286
1
آبائه
hbo:1288
H1288
1
0.0143
1
آبائه
hbo:3101
H3101
1
0.0143
0
آبائهم
hbo:0001
H0001
95
0.9694
1
آبائهم
hbo:2553
H2553
1
0.0102
0
آبائهم
hbo:7586
H7586
1
0.0102
1
آبائهم
hbo:8430
H8430
1
0.0102
1
آبائهن
hbo:0001
H0001
1
1
1
آبائي
hbo:0001
H0001
12
0.8571
1
آبائي
hbo:0002
H0002
1
0.0714
0
آبائي
hbo:0120
H0120
1
0.0714
0
آبار
hbo:0875
H0875
2
0.6667
1
آبار
hbo:0885
H0885
1
0.3333
1
آبارا
hbo:0953
H0953
1
1
1
آبل
hbo:0059
H0059
2
1
1
آبل محولة
hbo:0065
H0065
3
1
1
آت
hbo:0935
H0935
18
0.9
1
آت
hbo:0314
H0314
1
0.05
1
آت
hbo:1369
H1369
1
0.05
0
آتون
hbo:0935
H0935
2
1
1
آتي
hbo:0935
H0935
28
0.9655
1
آتي
hbo:7307
H7307
1
0.0345
1
آتيا
hbo:0935
H0935
1
1
1
آتيا إلى
hbo:0935
H0935
1
1
0
آتيان
hbo:0935
H0935
1
1
1
آتية
hbo:0935
H0935
4
1
1
آتين
hbo:0935
H0935
1
1
1
آثار
hbo:6119
H6119
1
0.5
1
آثار
hbo:7227
H7227
1
0.5
1
آثام
hbo:5771
H5771
3
0.5
1
آثام
hbo:0819
H0819
1
0.1667
1
آثام
hbo:8085
H8085
1
0.1667
1
آثام
hbo:8605
H8605
1
0.1667
0
آثامك
hbo:5771
H5771
1
1
1
آثامكم
hbo:5771
H5771
6
1
1
آثامنا
hbo:5771
H5771
6
0.8571
0
آثامنا
hbo:0819
H0819
1
0.1429
0
آثامه
hbo:5771
H5771
2
1
1
آثامهم
hbo:5771
H5771
3
0.75
1
آثامهم
hbo:0817
H0817
1
0.25
1
آثامي
hbo:1320
H1320
1
0.5
0
آثامي
hbo:3835
H3835
1
0.5
0
آجالي نجني
hbo:0982
H0982
1
1
0
آجامهم
hbo:0098
H0098
1
1
1
آحاز
hbo:0271
H0271
34
1
1
آحود
hbo:0261
H0261
1
1
1
آخذ
hbo:3947
H3947
11
0.55
1
آخذ
hbo:5375
H5375
3
0.15
1
آخذ
hbo:0270
H0270
1
0.05
1
آخذ
hbo:3920
H3920
1
0.05
1
آخذ
hbo:6113
H6113
1
0.05
0
آخذ
hbo:6213
H6213
1
0.05
0
آخذ
hbo:7307
H7307
1
0.05
1
آخذ
hbo:8610
H8610
1
0.05
1
آخذك
hbo:3947
H3947
2
1
1
آخذون
hbo:0796
H0796
1
1
0
آخذون في
hbo:5927
H5927
1
1
0
آخر
hbo:0312
H0312
42
0.6
1
آخر
hbo:0319
H0319
14
0.2
1
آخر
hbo:7097
H7097
4
0.0571
1
آخر
hbo:0321
H0321
3
0.0429
1
آخر
hbo:0317
H0317
2
0.0286
0
آخر
hbo:7093
H7093
2
0.0286
1
آخر
hbo:2114b
H2114
1
0.0143
0
آخر
hbo:2583
H2583
1
0.0143
1
آخر
hbo:8622
H8622
1
0.0143
1
آخرة
hbo:0319
H0319
3
1
1
آخرتك
hbo:0319
H0319
2
0.6667
1
آخرتك
hbo:7093
H7093
1
0.3333
1
آخرتنا
hbo:0319
H0319
1
1
1
آخرته
hbo:0319
H0319
4
1
1
آخرتها
hbo:0319
H0319
4
1
1
آخرتهم
hbo:0319
H0319
3
1
1
آخرتي
hbo:0319
H0319
1
1
1
آخرها
hbo:0319
H0319
1
1
0
آخرون
hbo:0312
H0312
2
1
1
آخرين
hbo:0312
H0312
5
0.8333
1
آخرين
hbo:0314
H0314
1
0.1667
1
آخرين إرجاع
hbo:7725
H7725
1
1
0
آخي
hbo:0277
H0277
1
1
1
End of preview. Expand in Data Studio

aligned_lex — published surface → Strong's lexicons

The attested target-word → Strong's mapping mined by the aligner, one language per partition, for consumption by bcv-commons (and downstream, the bcv-query monorepo as external resources/).

Card metadata note: the language: list above enumerates the published partitions (currently just ind); the authoritative list is always manifest.json. As languages are added this header should track it — a small export_lex follow-up can regenerate the front matter from the manifest so it never drifts.

Layout — why the data isn't in git

Per-language lexicons are regenerated whenever the method/model/spine/source improves. Committing them would bloat git history without bound at scale (thousands of languages × re-runs). So:

aligned_lex/
  README.md            # committed — this file
  manifest.json        # committed — per-language metadata + content hash (the durable record)
  iso=<iso>/           # GIT-IGNORED — the bulk data, published out-of-band
    data.parquet

The Parquet partitions are published to a data channel (a Hugging Face dataset or object storage), keyed by the manifest's content_sha256. manifest.json is git's small, diffable record of what exists and what it hashes to — it changes only when the data actually changes.

Schema (per row)

column type meaning
surface string target rendering, lowercased (content tokens; may be multi-word)
lexeme string the anchor — lexical id (MACULA lang+augmented-Strong's; <Strong's>|<lemma> until the lexeme spine lands)
strong string Strong's number (H#### OT / G#### NT) — the rollup of lexeme (many lexemes → one Strong's)
count int32 times this (surface → lexeme) pair was aligned
share float32 count / Σ count for that surface = P(lexeme | surface)which sense
hi_conf float32 fraction of this pair's alignments that were intersection-backed (both eflomal directions agreed, score ≥ 0.9) — how much to trust the alignment

iso is recovered from the Hive partition path (iso=<iso>/), so a dataset read yields it as a column for free. Two orthogonal confidence axes: share = which Strong's; hi_conf = alignment reliability. Rows are grouped by surface, strongest sense first. A consumer picks the argmax-share Strong's and can threshold on hi_conf/count to trade coverage for precision.

Authentication (one-time)

The push reads a cached Hugging Face login, so you authenticate once and every future --publish (any language, any change) reuses it — no token to pass each run:

python3 -c "from huggingface_hub import login; login()"   # prompts once → ~/.cache/huggingface/token
python3 -c "from huggingface_hub import HfApi; print(HfApi().whoami()['name'])"   # verify

Use a fine-grained token (huggingface.co/settings/tokens) scoped to write on just the target dataset/org — same convenience, minimal blast radius. Prefer this to export HF_TOKEN=… in your shell profile: same persistence, but the token isn't injected into every process's environment. Re-run login() only if you rotate/revoke the token.

Regenerate / add a language

# 1. align (produces out/align_eflomal_<iso>_*.jsonl)
python3 -m strongs_aligner.run_pilot --method eflomal --ot --usj-dir <usj> --iso <iso>
# 2. export → aligned_lex/iso=<iso>/data.parquet  +  update manifest.json   (needs the [publish] extra)
python3 -m strongs_aligner.export_lex --iso <iso> --method eflomal --lang-name <Name>
# 3. publish the partition + manifest + this card to a HF dataset (auth: see above)
python3 -m strongs_aligner.export_lex --iso <iso> --publish bcv-commons/aligned-lex --create
#    (append --dry-run to preview the upload without pushing)

pip install -e '.[publish]' for the Parquet writer + HF uploader (pyarrow, huggingface_hub). Use --format tsv for a plain-text partition instead. Publishing thousands of languages: keep each folder < 10k files and squash history on the data channel (see the Hugging Face storage limits). The push uploads only this language's partition plus the shared manifest.json/README.md — other languages are untouched.

Provenance & quality

Per-language provenance (method, min_count, testament, row/surface/Strong's counts, hi_conf_ge_0.9, spine tags, content hash) lives in manifest.json. Quality basis: promoted after the gold benchmark passed — eflomal scores 91.8% (fra) / 95.6% (hau) token-weighted top-1 vs Clear-Bible manual alignments (docs/benchmark.md). ind has no manual gold; it inherits trust from the method's cross-language validation. These are raw aligned counts, not hand-checked — use share/hi_conf to threshold.

Reproducibility (content-addressed)

The statistical aligner (eflomal) seeds from /dev/urandom, so it is non-deterministic by design — regenerating a language varies ~1% run-to-run. We therefore treat this as a content-addressed release, not a reproduce-from-scratch guarantee:

  • the inputs are pinned — original spine (uhb/ugnt tags) + each source text's sha256 (data/pins/);
  • each published partition is fixed by its content_sha256 in manifest.json — that hash is the identity of what was released. A re-run produces a new, equally-valid partition with a new hash.

Consume a specific release by its content_sha256; don't expect a rebuild to match it byte-for-byte.

License

This catalogue is CC0-1.0 (public-domain dedication). It is derived, factual data — Strong's numbers, alignment counts, share/hi_conf statistics, and a de-arranged, type-level list of word forms. It does not reproduce the running text of any translation (no verse refs, no word order), so the copyrightable expression of the sources is not present here.

Each surface is nonetheless an individual word form drawn from a source translation, and those translations keep their own licenses. We do not restate those terms — that information stays with the source. Instead every language's manifest.json entry carries a source pointer:

"source": { "provider": "…", "edition": "…", "license_url": "https://…" }

Follow license_url for the authoritative, current licensing of that translation (maintained by data/sources.json). Note that pointing to a source does not by itself grant permission to derive from it — for any source whose terms restrict derivatives, obtain that separately.

Downloads last month
40