Skip to content

Commit 7b43c7c

Browse files
committed
Add Tanakh and Vilna Shas versions; update tests
1 parent 072d877 commit 7b43c7c

File tree

120 files changed

+101422
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+101422
-89
lines changed

api_request_handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,10 +1046,10 @@ export abstract class AbstractApiRequestHandler {
10461046
const book = books.byCanonicalName[title];
10471047
if (book?.isBibleBook()) {
10481048
indexed.put("Tanakh", ref);
1049-
// indexed.put("TanakhKoren", ref);
1049+
indexed.put("TanakhKoren", ref);
10501050
} else if (book?.isTalmud()) {
10511051
indexed.put("Standard", ref);
1052-
// indexed.put("Vilna Shas", ref);
1052+
indexed.put("Vilna Shas", ref);
10531053
} else {
10541054
indexed.put("Standard", ref);
10551055
}

test_data/api_request_handler/Bava_Kamma.55a.expected-output.json

Lines changed: 806 additions & 0 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Bava_Kamma_55a@TanakhKoren_0.bulktext.input.json

Lines changed: 760 additions & 0 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Bava_Kamma_55a@Vilna_Shas_0.bulktext.input.json

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Bava_Kamma_55a@_Vilna_Shas.texts.input.json

Lines changed: 281 additions & 0 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Berakhot.2a.expected-output.json

Lines changed: 854 additions & 0 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Berakhot.34b.expected-output.json

Lines changed: 2307 additions & 5 deletions
Large diffs are not rendered by default.

test_data/api_request_handler/Berakhot_2a@TanakhKoren_0.bulktext.input.json

Lines changed: 326 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"Berakhot 11a:24": {
3+
"en": "<strong>MISHNA:</strong> From the laws of the recitation of <i>Shema</i> itself, the mishna proceeds to discuss the blessings recited in conjunction with <i>Shema</i>. Here, the order is established: <b>In</b> the <b>morning</b> when reciting <i>Shema</i>, <b>one recites two blessings beforehand,</b> the first on the radiant lights and the second the blessing on the love of Torah, <b>and one thereafter,</b> which begins with: True and Firm [<i>emet veyatziv</i>]. <b>And in the evening one recites two blessings beforehand,</b> on the radiant lights and on the love of God, <b>and two thereafter,</b> the blessing of redemption: True and Faithful [<i>emet ve’emuna</i>], and the blessing: Help us lie down. With regard to the blessing: True and Faithful, <b>whether</b> one recites it in its <b>long</b> formula <b>and whether</b> one recites it in its <b>short</b> formula, he fulfills his obligation (<i>Tosafot</i>).",
4+
"he": "<big><strong>מתני׳</strong></big> בשחר מברך שתים לפניה ואחת לאחריה ובערב מברך שתים לפניה ושתים לאחריה אחת ארוכה ואחת קצרה",
5+
"heRef": "ברכות י״א א:כ״ד",
6+
"lang": "en",
7+
"primary_category": "Talmud",
8+
"ref": "Berakhot 11a:24",
9+
"url": "Berakhot.11a.24"
10+
},
11+
"Berakhot 11a:24-25": {
12+
"en": [
13+
"<strong>MISHNA:</strong> From the laws of the recitation of <i>Shema</i> itself, the mishna proceeds to discuss the blessings recited in conjunction with <i>Shema</i>. Here, the order is established: <b>In</b> the <b>morning</b> when reciting <i>Shema</i>, <b>one recites two blessings beforehand,</b> the first on the radiant lights and the second the blessing on the love of Torah, <b>and one thereafter,</b> which begins with: True and Firm [<i>emet veyatziv</i>]. <b>And in the evening one recites two blessings beforehand,</b> on the radiant lights and on the love of God, <b>and two thereafter,</b> the blessing of redemption: True and Faithful [<i>emet ve’emuna</i>], and the blessing: Help us lie down. With regard to the blessing: True and Faithful, <b>whether</b> one recites it in its <b>long</b> formula <b>and whether</b> one recites it in its <b>short</b> formula, he fulfills his obligation (<i>Tosafot</i>).",
14+
"However, the general principle is: <b>Where</b> the Sages <b>said</b> to recite <b>a long</b> blessing, <b>one may not shorten it,</b> and so too, wherever they said to recite <b>a short</b> blessing, <b>one may not lengthen it.</b> Where the Sages said that a blessing <b>must conclude</b> with a second blessing at the end, <b>he may not fail to conclude</b> with that blessing. Similarly, if the Sages said that a blessing must <b>not conclude</b> with a second blessing, <b>one may not conclude</b> with a blessing."
15+
],
16+
"he": [
17+
"<big><strong>מתני׳</strong></big> בשחר מברך שתים לפניה ואחת לאחריה ובערב מברך שתים לפניה ושתים לאחריה אחת ארוכה ואחת קצרה",
18+
"מקום שאמרו להאריך אינו רשאי לקצר לקצר אינו רשאי להאריך לחתום אינו רשאי שלא לחתום שלא לחתום אינו רשאי לחתום:"
19+
],
20+
"heRef": "ברכות י״א א:כ״ד-כ״ה",
21+
"lang": "en",
22+
"primary_category": "Talmud",
23+
"ref": "Berakhot 11a:24-25",
24+
"url": "Berakhot.11a.24-25"
25+
},
26+
"Berakhot 11a:25": {
27+
"en": "However, the general principle is: <b>Where</b> the Sages <b>said</b> to recite <b>a long</b> blessing, <b>one may not shorten it,</b> and so too, wherever they said to recite <b>a short</b> blessing, <b>one may not lengthen it.</b> Where the Sages said that a blessing <b>must conclude</b> with a second blessing at the end, <b>he may not fail to conclude</b> with that blessing. Similarly, if the Sages said that a blessing must <b>not conclude</b> with a second blessing, <b>one may not conclude</b> with a blessing.",
28+
"he": "מקום שאמרו להאריך אינו רשאי לקצר לקצר אינו רשאי להאריך לחתום אינו רשאי שלא לחתום שלא לחתום אינו רשאי לחתום:",
29+
"heRef": "ברכות י״א א:כ״ה",
30+
"lang": "en",
31+
"primary_category": "Talmud",
32+
"ref": "Berakhot 11a:25",
33+
"url": "Berakhot.11a.25"
34+
},
35+
"Berakhot 13a:15": {
36+
"en": "May we return to thee : From what time.",
37+
"he": "<br/><br/><big><strong>הדרן עלך מאימתי</strong></big><br/><br/>",
38+
"heRef": "ברכות י״ג א:ט״ו",
39+
"lang": "en",
40+
"primary_category": "Talmud",
41+
"ref": "Berakhot 13a:15",
42+
"url": "Berakhot.13a.15"
43+
},
44+
"Berakhot 9a:10": {
45+
"en": "The Gemara explains that <b>this is what Rabban Gamliel said to his sons: Even according to the Rabbis, who say</b> that the mitzva may be performed only <b>until midnight,</b> the biblical obligation to perform <b>the mitzva</b> continues <b>until dawn, and that which they say</b> that it may only be recited <b>until midnight</b> is <b>in order to distance a person from transgression.</b>",
46+
"he": "הכי קאמר להו ר\"ג לבניה אפילו לרבנן דקאמרי עד חצות מצותה עד שיעלה עמוד השחר והאי דקא אמרי עד חצות כדי להרחיק אדם מן העבירה:",
47+
"heRef": "ברכות ט׳ א:י׳",
48+
"lang": "en",
49+
"primary_category": "Talmud",
50+
"ref": "Berakhot 9a:10",
51+
"url": "Berakhot.9a.10"
52+
},
53+
"Berakhot 9a:8": {
54+
"en": "We learned in the mishna that Rabban Gamliel told his sons: <b>And</b> that is <b>not only</b> with regard to the <i>halakha</i> of the recitation of <i>Shema</i>, <b>but, rather,</b> wherever the Rabbis say until midnight, the mitzva may be performed until dawn.",
55+
"he": "ולא זו בלבד אמרו אלא וכו':",
56+
"heRef": "ברכות ט׳ א:ח׳",
57+
"lang": "en",
58+
"primary_category": "Talmud",
59+
"ref": "Berakhot 9a:8",
60+
"url": "Berakhot.9a.8"
61+
},
62+
"Berakhot 9a:8-10": {
63+
"en": [
64+
"We learned in the mishna that Rabban Gamliel told his sons: <b>And</b> that is <b>not only</b> with regard to the <i>halakha</i> of the recitation of <i>Shema</i>, <b>but, rather,</b> wherever the Rabbis say until midnight, the mitzva may be performed until dawn.",
65+
"The Gemara questions the formulation of the mishna: <b>Does Rabban Gamliel say until midnight, that he teaches: And not only did they say?</b> Rabban Gamliel does not restrict the time for the recitation of <i>Shema</i> until midnight, so why does he say, and not only do they say, implying that he agrees with that stringency?",
66+
"The Gemara explains that <b>this is what Rabban Gamliel said to his sons: Even according to the Rabbis, who say</b> that the mitzva may be performed only <b>until midnight,</b> the biblical obligation to perform <b>the mitzva</b> continues <b>until dawn, and that which they say</b> that it may only be recited <b>until midnight</b> is <b>in order to distance a person from transgression.</b>"
67+
],
68+
"he": [
69+
"ולא זו בלבד אמרו אלא וכו':",
70+
"ור\"ג מי קאמר עד חצות דקתני ולא זו בלבד אמרו",
71+
"הכי קאמר להו ר\"ג לבניה אפילו לרבנן דקאמרי עד חצות מצותה עד שיעלה עמוד השחר והאי דקא אמרי עד חצות כדי להרחיק אדם מן העבירה:"
72+
],
73+
"heRef": "ברכות ט׳ א:ח׳-י׳",
74+
"lang": "en",
75+
"primary_category": "Talmud",
76+
"ref": "Berakhot 9a:8-10",
77+
"url": "Berakhot.9a.8-10"
78+
},
79+
"Berakhot 9a:9": {
80+
"en": "The Gemara questions the formulation of the mishna: <b>Does Rabban Gamliel say until midnight, that he teaches: And not only did they say?</b> Rabban Gamliel does not restrict the time for the recitation of <i>Shema</i> until midnight, so why does he say, and not only do they say, implying that he agrees with that stringency?",
81+
"he": "ור\"ג מי קאמר עד חצות דקתני ולא זו בלבד אמרו",
82+
"heRef": "ברכות ט׳ א:ט׳",
83+
"lang": "en",
84+
"primary_category": "Talmud",
85+
"ref": "Berakhot 9a:9",
86+
"url": "Berakhot.9a.9"
87+
}
88+
}

0 commit comments

Comments
 (0)