@metaxia/scriptures-source-openscriptures-ohb 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,4 +1,9 @@
1
- MIT License
1
+ This package is dual-licensed:
2
+ - Code: MIT License (below)
3
+ - Data: CC BY 4.0 (the Hebrew text and morphology are not relicensed)
4
+
5
+ --------------------------------------------------------------------------------
6
+ MIT License (code)
2
7
 
3
8
  Copyright (c) 2025 Benjamin Plunkert
4
9
 
@@ -20,29 +25,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
26
  SOFTWARE.
22
27
 
23
- ---
28
+ --------------------------------------------------------------------------------
29
+ CC BY 4.0 (data)
24
30
 
25
- ATTRIBUTION (Required by upstream CC-BY-4.0 license):
31
+ The Hebrew text and morphology are from the Open Scriptures Hebrew Bible,
32
+ licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
26
33
 
27
- Scripture text: Open Scriptures Hebrew Bible (Morphological Hebrew Bible)
28
34
  Source: https://github.com/openscriptures/morphhb
29
- Original license: Creative Commons Attribution 4.0 International (CC-BY-4.0)
30
- Attribution: Open Scriptures Hebrew Bible Morphology Project
31
-
32
- The scripture data in this package is derived from the Open Scriptures Hebrew
33
- Bible project and is used in accordance with the CC-BY-4.0 license terms.
34
-
35
- ---
36
-
37
- MODIFICATIONS FROM ORIGINAL DATA
35
+ License: https://creativecommons.org/licenses/by/4.0/
38
36
 
39
- This package processes the original MorphHB data as follows:
40
- - Converted from OSIS XML to JSON format
41
- - Restructured into per-verse files organized by book/chapter
42
- - Standardized word structure with position, text, lemma, morph, strongs fields
43
- - Cantillation marks (Hebrew: טעמים) are preserved in the text
44
- - Qere/Ketiv textual variants are flagged with a `variant` field ('ketiv' or 'qere')
45
- - Strong's numbers extracted and normalized to array format (e.g., ["H1234"])
37
+ Required attribution: Open Scriptures Hebrew Bible, CC BY 4.0.
46
38
 
47
- Gematria values are NOT pre-computed in the stored data; they are computed
48
- on-demand by the scriptures-core library when accessed.
39
+ Modifications: converted from the upstream OSIS/XML to JSON and restructured
40
+ into per-verse files; the Hebrew text and morphology are otherwise unchanged.
@@ -1,15 +1,23 @@
1
1
  {
2
- "text": "שְׁמַ֖ יִשְׂרָאֵ֑ל יְהוָ֥ה אֱלֹהֵ֖ינוּ יְהוָ֥ה אֶחָֽ",
2
+ "text": "שְׁמַ֖ע יִשְׂרָאֵ֑ל יְהוָ֥ה אֱלֹהֵ֖ינוּ יְהוָ֥ה אֶחָֽד",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
6
- "text": "שְׁמַ֖",
6
+ "text": "שְׁמַ֖ע",
7
7
  "lemma": "8085",
8
8
  "morph": "HVqv2ms",
9
9
  "strongs": [
10
10
  "H8085"
11
11
  ],
12
- "metadata": {},
12
+ "metadata": {
13
+ "specialLetters": [
14
+ {
15
+ "type": "large",
16
+ "char": "ע",
17
+ "index": 2
18
+ }
19
+ ]
20
+ },
13
21
  "source": {
14
22
  "lemma": "8085",
15
23
  "morph": "HVqv2ms"
@@ -73,13 +81,21 @@
73
81
  },
74
82
  {
75
83
  "position": 6,
76
- "text": "אֶחָֽ",
84
+ "text": "אֶחָֽד",
77
85
  "lemma": "259",
78
86
  "morph": "HAcmsa",
79
87
  "strongs": [
80
88
  "H259"
81
89
  ],
82
- "metadata": {},
90
+ "metadata": {
91
+ "specialLetters": [
92
+ {
93
+ "type": "large",
94
+ "char": "ד",
95
+ "index": 2
96
+ }
97
+ ]
98
+ },
83
99
  "source": {
84
100
  "lemma": "259",
85
101
  "morph": "HAcmsa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "לִכְרָת ל֣וֹ אֲרָזִ֔ים וַיִּקַּ֤ח תִּרְזָה֙ וְאַלּ֔וֹן וַיְאַמֶּץ ל֖וֹ בַּעֲצֵי יָ֑עַר נָטַ֥ע אֹ֖רֶ וְגֶ֥שֶׁם יְגַדֵּֽל",
2
+ "text": "לִכְרָת ל֣וֹ אֲרָזִ֔ים וַיִּקַּ֤ח תִּרְזָה֙ וְאַלּ֔וֹן וַיְאַמֶּץ ל֖וֹ בַּעֲצֵי יָ֑עַר נָטַ֥ע אֹ֖רֶן וְגֶ֥שֶׁם יְגַדֵּֽל",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -155,13 +155,21 @@
155
155
  },
156
156
  {
157
157
  "position": 12,
158
- "text": "אֹ֖רֶ",
158
+ "text": "אֹ֖רֶן",
159
159
  "lemma": "766",
160
160
  "morph": "HNcmsa",
161
161
  "strongs": [
162
162
  "H766"
163
163
  ],
164
- "metadata": {},
164
+ "metadata": {
165
+ "specialLetters": [
166
+ {
167
+ "type": "small",
168
+ "char": "ן",
169
+ "index": 2
170
+ }
171
+ ]
172
+ },
165
173
  "source": {
166
174
  "lemma": "766",
167
175
  "morph": "HNcmsa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "וַיִּשְׁלַ֞ח נְבֽוּזַרְאֲדָ֣ן רַב טַבָּחִ֗ים וּנְבֽוּשַׁזְבָּ רַב סָרִ֔יס וְנֵרְגַ֥ל שַׂר אֶ֖צֶר רַב מָ֑ג וְכֹ֖ל רַבֵּ֥י מֶֽלֶךְ בָּבֶֽל",
2
+ "text": "וַיִּשְׁלַ֞ח נְבֽוּזַרְאֲדָ֣ן רַב טַבָּחִ֗ים וּנְבֽוּשַׁזְבָּן֙ רַב סָרִ֔יס וְנֵרְגַ֥ל שַׂר אֶ֖צֶר רַב מָ֑ג וְכֹ֖ל רַבֵּ֥י מֶֽלֶךְ בָּבֶֽל",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -59,13 +59,21 @@
59
59
  },
60
60
  {
61
61
  "position": 5,
62
- "text": "וּנְבֽוּשַׁזְבָּ",
62
+ "text": "וּנְבֽוּשַׁזְבָּן֙",
63
63
  "lemma": "c/5021",
64
64
  "morph": "HC/Np",
65
65
  "strongs": [
66
66
  "H5021"
67
67
  ],
68
- "metadata": {},
68
+ "metadata": {
69
+ "specialLetters": [
70
+ {
71
+ "type": "small",
72
+ "char": "ן֙",
73
+ "index": 7
74
+ }
75
+ ]
76
+ },
69
77
  "source": {
70
78
  "lemma": "c/5021",
71
79
  "morph": "HC/Np"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "לֶ֭אֱחֹז בְּכַנְפ֣וֹת הָאָ֑רֶץ וְיִנָּעֲר֖וּ רְשָׁים מִמֶּֽנָּה",
2
+ "text": "לֶ֭אֱחֹז בְּכַנְפ֣וֹת הָאָ֑רֶץ וְיִנָּעֲר֖וּ רְשָׁעִ֣ים מִמֶּֽנָּה",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -59,13 +59,21 @@
59
59
  },
60
60
  {
61
61
  "position": 5,
62
- "text": "רְשָׁים",
62
+ "text": "רְשָׁעִ֣ים",
63
63
  "lemma": "7563",
64
64
  "morph": "HAampa",
65
65
  "strongs": [
66
66
  "H7563"
67
67
  ],
68
- "metadata": {},
68
+ "metadata": {
69
+ "specialLetters": [
70
+ {
71
+ "type": "suspended",
72
+ "char": "עִ֣",
73
+ "index": 2
74
+ }
75
+ ]
76
+ },
69
77
  "source": {
70
78
  "lemma": "7563",
71
79
  "morph": "HAampa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "וְיִמָּנַ֣ע מֵרְשָׁים אוֹרָ֑ם וּזְר֥וֹעַ רָ֝מָ֗ה תִּשָּׁבֵֽר",
2
+ "text": "וְיִמָּנַ֣ע מֵרְשָׁעִ֣ים אוֹרָ֑ם וּזְר֥וֹעַ רָ֝מָ֗ה תִּשָּׁבֵֽר",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -17,13 +17,21 @@
17
17
  },
18
18
  {
19
19
  "position": 2,
20
- "text": "מֵרְשָׁים",
20
+ "text": "מֵרְשָׁעִ֣ים",
21
21
  "lemma": "m/7563",
22
22
  "morph": "HR/Aampa",
23
23
  "strongs": [
24
24
  "H7563"
25
25
  ],
26
- "metadata": {},
26
+ "metadata": {
27
+ "specialLetters": [
28
+ {
29
+ "type": "suspended",
30
+ "char": "עִ֣",
31
+ "index": 3
32
+ }
33
+ ]
34
+ },
27
35
  "source": {
28
36
  "lemma": "m/7563",
29
37
  "morph": "HR/Aampa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "וַיָּקִ֧ימוּ לָהֶ֛ם בְּנֵי דָ֖ן אֶת הַפָּ֑סֶל וִ֠יהוֹנָתָן בֶּן גֵּרְשֹׁ֨ם בֶּן מְשֶּׁ֜ה ה֣וּא וּבָנָ֗יו הָי֤וּ כֹהֲנִים֙ לְשֵׁ֣בֶט הַדָּנִ֔י עַד י֖וֹם גְּל֥וֹת הָאָֽרֶץ",
2
+ "text": "וַיָּקִ֧ימוּ לָהֶ֛ם בְּנֵי דָ֖ן אֶת הַפָּ֑סֶל וִ֠יהוֹנָתָן בֶּן גֵּרְשֹׁ֨ם בֶּן מְנַשֶּׁ֜ה ה֣וּא וּבָנָ֗יו הָי֤וּ כֹהֲנִים֙ לְשֵׁ֣בֶט הַדָּנִ֔י עַד י֖וֹם גְּל֥וֹת הָאָֽרֶץ",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -142,13 +142,21 @@
142
142
  },
143
143
  {
144
144
  "position": 11,
145
- "text": "מְשֶּׁ֜ה",
145
+ "text": "מְנַשֶּׁ֜ה",
146
146
  "lemma": "4519",
147
147
  "morph": "HNp",
148
148
  "strongs": [
149
149
  "H4519"
150
150
  ],
151
- "metadata": {},
151
+ "metadata": {
152
+ "specialLetters": [
153
+ {
154
+ "type": "suspended",
155
+ "char": "נַ",
156
+ "index": 1
157
+ }
158
+ ]
159
+ },
152
160
  "source": {
153
161
  "lemma": "4519",
154
162
  "morph": "HNp"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "כֹּל֩ הוֹלֵ֨ךְ עַל גָּח֜ן וְכֹ֣ל הוֹלֵ֣ךְ עַל אַרְבַּ֗ע עַ֚ד כָּל מַרְבֵּ֣ה רַגְלַ֔יִם לְכָל הַשֶּׁ֖רֶץ הַשֹּׁרֵ֣ץ עַל הָאָ֑רֶץ לֹ֥א תֹאכְל֖וּם כִּי שֶׁ֥קֶץ הֵֽם",
2
+ "text": "כֹּל֩ הוֹלֵ֨ךְ עַל גָּח֜וֹן וְכֹ֣ל הוֹלֵ֣ךְ עַל אַרְבַּ֗ע עַ֚ד כָּל מַרְבֵּ֣ה רַגְלַ֔יִם לְכָל הַשֶּׁ֖רֶץ הַשֹּׁרֵ֣ץ עַל הָאָ֑רֶץ לֹ֥א תֹאכְל֖וּם כִּי שֶׁ֥קֶץ הֵֽם",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -45,13 +45,21 @@
45
45
  },
46
46
  {
47
47
  "position": 4,
48
- "text": "גָּח֜ן",
48
+ "text": "גָּח֜וֹן",
49
49
  "lemma": "1512",
50
50
  "morph": "HNcmsa",
51
51
  "strongs": [
52
52
  "H1512"
53
53
  ],
54
- "metadata": {},
54
+ "metadata": {
55
+ "specialLetters": [
56
+ {
57
+ "type": "large",
58
+ "char": "וֹ",
59
+ "index": 2
60
+ }
61
+ ]
62
+ },
55
63
  "source": {
56
64
  "lemma": "1512",
57
65
  "morph": "HNcmsa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "וַיַּקְרֵ֥ב מֹשֶׁ֛ה אֶת מִשְׁפָּטָ֖ לִפְנֵ֥י יְהוָֽה",
2
+ "text": "וַיַּקְרֵ֥ב מֹשֶׁ֛ה אֶת מִשְׁפָּטָ֖ן לִפְנֵ֥י יְהוָֽה",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -45,13 +45,21 @@
45
45
  },
46
46
  {
47
47
  "position": 4,
48
- "text": "מִשְׁפָּטָ֖",
48
+ "text": "מִשְׁפָּטָ֖ן",
49
49
  "lemma": "4941",
50
50
  "morph": "HNcmsc/Sp3fp",
51
51
  "strongs": [
52
52
  "H4941"
53
53
  ],
54
- "metadata": {},
54
+ "metadata": {
55
+ "specialLetters": [
56
+ {
57
+ "type": "large",
58
+ "char": "ן",
59
+ "index": 4
60
+ }
61
+ ]
62
+ },
55
63
  "source": {
56
64
  "lemma": "4941",
57
65
  "morph": "HNcmsc/Sp3fp"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "אִ֣ישׁ תַּ֭הְפֻּכוֹת יְשַׁלַּ֣ח מָד֑וֹן וְ֝נִרְגָּ֗ מַפְרִ֥יד אַלּֽוּף",
2
+ "text": "אִ֣ישׁ תַּ֭הְפֻּכוֹת יְשַׁלַּ֣ח מָד֑וֹן וְ֝נִרְגָּ֗ן מַפְרִ֥יד אַלּֽוּף",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -59,13 +59,21 @@
59
59
  },
60
60
  {
61
61
  "position": 5,
62
- "text": "וְ֝נִרְגָּ֗",
62
+ "text": "וְ֝נִרְגָּ֗ן",
63
63
  "lemma": "c/5372",
64
64
  "morph": "HC/VNrmsa",
65
65
  "strongs": [
66
66
  "H5372"
67
67
  ],
68
- "metadata": {},
68
+ "metadata": {
69
+ "specialLetters": [
70
+ {
71
+ "type": "small",
72
+ "char": "ן",
73
+ "index": 4
74
+ }
75
+ ]
76
+ },
69
77
  "source": {
70
78
  "lemma": "c/5372",
71
79
  "morph": "HC/VNrmsa"
@@ -1,5 +1,5 @@
1
1
  {
2
- "text": "יְכַרְסְמֶ֣נָּֽה חֲזִ֣יר מִיָּ֑ר וְזִ֖יז שָׂדַ֣י יִרְעֶֽנָּה",
2
+ "text": "יְכַרְסְמֶ֣נָּֽה חֲזִ֣יר מִיָּ֑עַר וְזִ֖יז שָׂדַ֣י יִרְעֶֽנָּה",
3
3
  "words": [
4
4
  {
5
5
  "position": 1,
@@ -31,13 +31,21 @@
31
31
  },
32
32
  {
33
33
  "position": 3,
34
- "text": "מִיָּ֑ר",
34
+ "text": "מִיָּ֑עַר",
35
35
  "lemma": "m/3293 a",
36
36
  "morph": "HR/Ncmsa",
37
37
  "strongs": [
38
38
  "H3293"
39
39
  ],
40
- "metadata": {},
40
+ "metadata": {
41
+ "specialLetters": [
42
+ {
43
+ "type": "suspended",
44
+ "char": "עַ",
45
+ "index": 2
46
+ }
47
+ ]
48
+ },
41
49
  "source": {
42
50
  "lemma": "m/3293 a",
43
51
  "morph": "HR/Ncmsa"
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@metaxia/scriptures-source-openscriptures-ohb",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Open Hebrew Bible (Hebrew) data for @metaxia/scriptures. Source: Open Scriptures Project.",
5
5
  "type": "module",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
6
9
  "main": "./dist/index.js",
7
10
  "module": "./dist/index.js",
8
11
  "types": "./dist/index.d.ts",
@@ -47,7 +50,7 @@
47
50
  "morphology"
48
51
  ],
49
52
  "author": "Benjamin Plunkert",
50
- "license": "MIT",
53
+ "license": "(MIT AND CC-BY-4.0)",
51
54
  "repository": {
52
55
  "type": "git",
53
56
  "url": "https://github.com/metaxiamultimedia/scriptures-js-source-openscriptures-ohb"