larsgson commited on
Commit
797e20c
·
verified ·
1 Parent(s): 3bbbe83

hebrew-commentary-terms v0.1 (code e1e3cb4)

Browse files
Files changed (7) hide show
  1. README.md +82 -0
  2. SHA256SUMS +6 -0
  3. build.json +49 -0
  4. data/statements.parquet +3 -0
  5. data/terms.parquet +3 -0
  6. lists.tsv +6 -0
  7. witnesses.tsv +11 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ language:
4
+ - hbo
5
+ pretty_name: Hebrew commentary terms
6
+ tags:
7
+ - bible
8
+ - hebrew
9
+ - tanakh
10
+ - rabbinic
11
+ - commentary
12
+ ---
13
+
14
+ # hebrew-commentary-terms v0.1
15
+
16
+ What the classical Hebrew commentators say about words and passages of the Tanakh, **in their own Hebrew terms**, as
17
+ statements on MACULA word keys. One row is one witness saying one thing about one stretch of text. Every statement here
18
+ comes from a fixed Hebrew formula in the commentary (rules); readings by a model are in the separate
19
+ [hebrew-commentary-terms-model](https://huggingface.co/datasets/bcv-commons/hebrew-commentary-terms-model).
20
+
21
+ A statement is a reading, not a fact of the text: each witness stands on its own, and witnesses may disagree.
22
+
23
+ ## Tables
24
+
25
+ `data/statements.parquet` (15,095 rows):
26
+
27
+ | column | |
28
+ |---|---|
29
+ | `id` | statement id |
30
+ | `subject_first`, `subject_last` | MACULA word keys of the word or passage spoken about (a word: its parts; a psalm: the whole psalm) |
31
+ | `says` | `sense` (ענין X: the matter the word belongs to), `expression` (לשון X), `from_word` (מלשון X: the word it comes from), `gloss` (the comment opens with one Hebrew word that explains it), `kind` (what a psalm is: תפלה, שבח, הודאה …), `voice` (who says it: דוד, the exile …), `occasion` (the passage of the event it was said on) |
32
+ | `term` | the commentator's own Hebrew term, consonants as written (a leading ו dropped), or null for an occasion |
33
+ | `object_first`, `object_last` | for `occasion`: MACULA keys of the verse the commentator cites |
34
+ | `witness`, `locus` | the work (`witnesses.tsv`) and the Sefaria reference of the comment |
35
+ | `formula` | the Hebrew formula the rule matched (ענין, לשון, מלשון; for psalms the opening words "המזמור הזה … אמרו") |
36
+ | `register` | peshat, or derash where the sentence names a midrash or the sages |
37
+ | `anchor` | rule: the commentary's head word found in its verse by consonants, prefixes, lemma or full spelling |
38
+ | `citation` | the parenthesised verse reference as printed, for `occasion` |
39
+ | `licence` | of the commentary text the row comes from |
40
+
41
+ `data/terms.parquet` (4,297 terms): each term, how often each statement kind uses it, the biblical lemma it spells where that
42
+ is unambiguous (`lemma_strong`), and the sages' lists it is on.
43
+
44
+ `lists.tsv`: the sages' own lists of words, keyed by hand with their locus: ten words for joy (Avot de-Rabbi Natan 34), for
45
+ prayer (Sifrei Devarim 26), the ten kinds of praise in Psalms (Pesachim 117a), ten names for a prophet and for the holy
46
+ spirit (Avot de-Rabbi Natan 34).
47
+
48
+ `witnesses.tsv`: each work with its Hebrew title, author, century, the edition used and its licence.
49
+
50
+ ## Counts
51
+
52
+ | witness | says | rows |
53
+ |---|---|---|
54
+ | ibn_ezra | voice | 5 |
55
+ | malbim | voice | 1 |
56
+ | meiri | kind | 4 |
57
+ | meiri | occasion | 5 |
58
+ | meiri | voice | 12 |
59
+ | metzudat_zion | expression | 94 |
60
+ | metzudat_zion | from_word | 2,846 |
61
+ | metzudat_zion | gloss | 5,485 |
62
+ | metzudat_zion | sense | 6,606 |
63
+ | radak | kind | 4 |
64
+ | radak | occasion | 2 |
65
+ | radak | voice | 27 |
66
+ | rashi | occasion | 2 |
67
+ | rashi | voice | 2 |
68
+
69
+ Psalms with at least one opening statement by rule: 42.
70
+
71
+ ## Sources and licence
72
+
73
+ Hebrew texts from Sefaria (https://www.sefaria.org), the open-licence version of each work: Metzudat Zion and Metzudat David
74
+ ("On Your Way"), Radak on Psalms, Ibn Ezra on Psalms (Daat), Rashi (Sefaria Vocalized Edition, CC0, or On Your Way), Meiri on
75
+ Psalms (Jerusalem 1936), Malbim (On Your Way), Avot de-Rabbi Natan (Vilna 1883), Sifrei Devarim: Public Domain or CC0. The
76
+ Talmud list (Pesachim 117a) is from the Wikisource Talmud Bavli, CC BY-SA; for that row this dataset is CC BY-SA 4.0, and so
77
+ is the whole as published. Word keys: MACULA Hebrew (CC BY 4.0). The `licence` column gives each row's text licence.
78
+
79
+ ## Provenance
80
+
81
+ Code e1e3cb4: `shoresh/macula/build_commentary_terms.py`, `hebrew_refs.py`, `release_commentary_terms.py`; Sefaria snapshot
82
+ 2026-11-18 (`fetch_sefaria_psalms.py`; Metzudat Zion from the earlier cache of `build_metzudat_zion.py`).
SHA256SUMS ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ bce79daf23d1ea54278dbf65a5656161cf5b2cca0213ff7342d0434538f259c3 README.md
2
+ ad3b3473d67998ad4c1744da23c23514508fd65faca2446a1921a6a8f55f6371 build.json
3
+ ecd2a14d70a1e311c4d4509086d8ebdb1ebcdd01adeb0502231017ed8d2308d8 data/statements.parquet
4
+ d244b2b7980dd58a87c58f4384260999f0ef90be28069657df29df2ea0bc8865 data/terms.parquet
5
+ c9598467279b7be551d5bbe92b6865d031578a7def49d2b66045bfe37ca17c03 lists.tsv
6
+ 29bc71fdf4022b57c97473e5c1eb588aa47af905c8900b75b0872c6264647fed witnesses.tsv
build.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "statements": 15095,
3
+ "model_anchored": 65,
4
+ "terms": 4297,
5
+ "by_says": {
6
+ "sense": 6606,
7
+ "gloss": 5485,
8
+ "from_word": 2846,
9
+ "expression": 94,
10
+ "occasion": 9,
11
+ "voice": 47,
12
+ "kind": 8
13
+ },
14
+ "extract": {
15
+ "comments": 17995,
16
+ "('sense', 'rule')": 6606,
17
+ "('gloss', 'rule')": 5485,
18
+ "('from_word', 'rule')": 2846,
19
+ "('gloss', 'model')": 20,
20
+ "not_anchored": 12,
21
+ "('expression', 'rule')": 94,
22
+ "('from_word', 'model')": 16,
23
+ "('sense', 'model')": 27,
24
+ "('expression', 'model')": 2,
25
+ "('radak', 'psalms')": 150,
26
+ "('radak', 'with_opening')": 67,
27
+ "('meiri', 'psalms')": 150,
28
+ "('meiri', 'with_opening')": 36,
29
+ "('ibn_ezra', 'psalms')": 150,
30
+ "('ibn_ezra', 'with_opening')": 17,
31
+ "('rashi', 'psalms')": 149,
32
+ "('rashi', 'with_opening')": 6,
33
+ "('metzudat_david', 'psalms')": 150,
34
+ "('metzudat_david', 'with_opening')": 4,
35
+ "('malbim', 'psalms')": 150,
36
+ "('malbim', 'with_opening')": 16,
37
+ "('radak', 'occasion')": 2,
38
+ "('radak', 'voice')": 27,
39
+ "('radak', 'kind')": 4,
40
+ "('meiri', 'voice')": 12,
41
+ "('meiri', 'occasion')": 5,
42
+ "('meiri', 'kind')": 4,
43
+ "('ibn_ezra', 'voice')": 5,
44
+ "('rashi', 'voice')": 2,
45
+ "('rashi', 'occasion')": 2,
46
+ "('malbim', 'voice')": 1
47
+ },
48
+ "code": "e1e3cb4"
49
+ }
data/statements.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd2a14d70a1e311c4d4509086d8ebdb1ebcdd01adeb0502231017ed8d2308d8
3
+ size 286908
data/terms.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d244b2b7980dd58a87c58f4384260999f0ef90be28069657df29df2ea0bc8865
3
+ size 36202
lists.tsv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ list_id witness locus formula members licence
2
+ simchah_10 avot_drn Avot DeRabbi Natan 34 עשרה שמות נקרא שמחה ששון|שמחה|גילה|רינה|דיצה|צהלה|עליזה|חדוה|תפארת|עליצה Public Domain
3
+ tefillah_10 sifrei_devarim Sifrei Devarim 26 י׳ לשונות נקראת תפלה זעקה|שועה|נאקה|צרה|רנה|פגיעה|נפול|פלול|עתירה|עמידה|חילול|חנון Public Domain
4
+ shevach_tehillim_10 bavli Pesachim 117a בעשרה מאמרות של שבח נאמר ספר תהלים ניצוח|נגון|משכיל|מזמור|שיר|אשרי|תהלה|תפלה|הודאה|הללויה CC BY-SA
5
+ navi_10 avot_drn Avot DeRabbi Natan 34 עשרה שמות נקרא נביא ציר|נאמן|עבד|שליח|חוזה|צופה|רואה|חולם|נביא|איש האלהים Public Domain
6
+ ruach_hakodesh_10 avot_drn Avot DeRabbi Natan 34 עשרה שמות נקרא רוח הקדש משל|מליצה|חידה|דיבור|אמירה|תפארת|ציווי|משא|נבואה|חזיון Public Domain
witnesses.tsv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ witness title_he author_he century edition licence sefaria_index
2
+ metzudat_zion מצודת ציון דוד והלל אלטשולר 18 On Your Way Public Domain Metzudat Zion
3
+ metzudat_david מצודת דוד דוד והלל אלטשולר 18 On Your Way Public Domain Metzudat David
4
+ radak רד״ק רבי דוד קמחי 12-13 The Psalms with Qimchi's Longer Commentary Public Domain Radak on Psalms
5
+ ibn_ezra אבן עזרא רבי אברהם אבן עזרא 12 Ibn Ezra on Psalms -- Daat Public Domain Ibn Ezra on Psalms
6
+ rashi רש״י רבי שלמה יצחקי 11 Sefaria Vocalized Edition / On Your Way CC0 / Public Domain Rashi on Psalms
7
+ meiri המאירי רבי מנחם המאירי 13-14 Jerusalem, 1936 Public Domain Meiri on Psalms
8
+ malbim מלבי״ם רבי מאיר לייבוש וייזר 19 Wikisource Public Domain Malbim
9
+ avot_drn אבות דרבי נתן 3-9 Talmud Bavli, Vilna 1883 ed. Public Domain Avot DeRabbi Natan
10
+ sifrei_devarim ספרי דברים 3 Sifrei Devarim, Hebrew Public Domain Sifrei Devarim
11
+ bavli תלמוד בבלי 3-6 Wikisource Talmud Bavli CC BY-SA Talmud Bavli