Translating the Aruch HaShulchan with AI: Method and Lessons

Translating the Aruch HaShulchan with AI: Method and Lessons[1]

Joshua Broyde (PhD)

Joshua Broyde is an AI/ML Healthcare & Life Sciences specialist at Google Cloud, where he works from strategy to implementation with enterprise medtech, healthcare, and biopharma companies to design, build, and deploy secure, production-grade AI and Generative AI systems. He has a PhD in the field of Computational Biology.

Abstract

I present a complete AI-written English translation of the Aruch HaShulchan — Rabbi Yechiel Michel Epstein’s comprehensive nineteenth-century code of Jewish law — covering all four sections of the Shulchan Aruch: Orach Chaim, Yoreh De’ah, Even HaEzer, and Choshen Mishpat. The translation was produced using Google’s Gemini 3 Flash model at its MINIMAL thinking level. Translation quality is consistently high for a first-pass working text, although it clearly sometimes makes mistakes. The full translation is freely available online at aruch-hashulchan-transla-53666.web.app, and the translation data and code are available at github.com/JoshB29/Texts_AI_Translations.

Introduction

The Aruch HaShulchan, by Rabbi Yechiel Michel Epstein (1829-1908) of Novardok, is one of the most authoritative and comprehensive codes of Jewish law in the modern era. Written in rabbinic Hebrew, it has remained largely inaccessible to English readers outside of a handful of translated sections.[2]

AI-driven translation represents a qualitative shift in what is possible for rabbinic literature. This does not fully replace careful human translation, but it creates an opportunity to scale massively: human scholars can now function primarily as editors, reviewing and refining AI-generated drafts rather than translating from scratch. A multi-year scholarly translation project can now be approximated in hours for a few dozen dollars.

Corpus

The Aruch HaShulchan comprises four sections (i.e. chelakim) corresponding to the four parts of the Shulchan Aruch: Orach Chaim, Yoreh De’ah, Even HaEzer and Choshen Mishpat. I first obtained the Hebrew source text from Sefaria[3]. In total, this corresponds to 1,507 Simanim (chapters) and comprises 24,161 seifim (subsections) and around 3,400,000 words.

Translation Method

Model and Thinking Level

I used Google’s Gemini 3 Flash (gemini-3-flash-preview) to create the translation[4]. Gemini Flash supports four “thinking levels” — MINIMAL, LOW, MEDIUM, HIGH — which trade computation budget against reasoning depth. I chose to use the MINIMAL setting, which created a good translation at a very low cost.

Each seif was passed as an isolated API call[5] with a fixed system prompt containing[6]:

  • A style guide specifying conventions for rabbinic titles (e.g., Rambam, Rema, Beit Yosef), standard formulaic phrases (e.g., עד כאן לשונו → “Thus far his words”), and transliteration conventions (siman, seif, seif katan).
  • Few-shot examples illustrating the original text and style of translation.
  • An instruction to preserve the paragraph and logical structure of the original.

In order to make the translations more consistent with each other, I applied a post-processing normalization to all translated seifim after translation was complete.

Choosing the Model Thinking Level to Use

In order to understand which model thinking level is best for rabbinic translations, I chose 5 randomly selected seifim from each chelek, and had Gemini Flash translate them at the different thinking levels. Below are the results:

I found the MINIMAL setting to produce translations of roughly equivalent quality[7] compared to the higher thinking models. The additional expense of higher thinking did not seem to create significantly better translations. You can see from the graph that the cost for each seif at the HIGH thinking level is around 5 cents, about 33 times the MINIMAL thinking level[8]. This would represent a total cost of about $1300, as opposed to only $40 I spent using the MINIMAL setting[9]. Most of this cost is due to the significant amount of thinking tokens used by the high model. These results would also suggest that Gemini’s larger model, Gemini-Pro, would be overkill for the project. However, I did not formally test Gemini Pro, or any other model family[10].

Post-Processing Results

One thing I noticed was inconsistency of the word *seif* and the names of certain rabbinic works. Specifically, *seif* was sometimes kept in transliteration and sometimes translated as “section.” To address this, I applied a post-processing step using regular expressions to standardize these renderings: *seif* was normalized to “section” and *seif katan* to “subsection.” I applied the same approach to certain rabbinic names — for example, the *Shach* was sometimes transliterated as “Shakh” — normalizing these to a single canonical spelling throughout the corpus. For future translations, this should be fixed with better prompting.

Despite the fact that each seif is translated separately, my overall impression is that the translations were reasonably good and consistent.

Translation Quality

To more systematically validate the translation quality, I selected 100 random seifim and had a separate model evaluate the translations[11]; specifically, I used OpenAI’s GPT-5.4 model with a low reasoning effort. Each of the 100 seifim was passed to the model together with its original Hebrew, and the model was asked to classify the translation into one of four categories: Good, StyleImprovementNeeded, Mistake, or EgregiousError.

The egregious error category was defined strictly: a translation qualifies as egregious if it fundamentally inverts or distorts the author’s meaning — even if the error itself is subtle. To illustrate this, the following example was included in the evaluation prompt:

Original Hebrew

OC 635:5:

ובוודאי אין זה רק זהירות בעלמא, דאיזה פסול יש בעשיית הגג קודם הדפנות? דאין זה דמיון לחוטט בגדיש, שאין על זה שם גג כלל. אבל הכא גג גמור הוא.

Hypothetical mistranslation:

And certainly this is not only a mere stringency, for what disqualification is there in making the roof before the walls? For this is not comparable to hollowing out a haystack, where it does not have the status of a roof at all. But here, it is a complete roof.

The Aruch HaShulchan is in fact saying the opposite – the Rema’s statement is only a mere stringency. The mistranslation — inserting the words “not only” — is superficially consistent with the Hebrew, but is inconsistent with the actual context of the text and completely inverts the intended meaning.[12]

I had ran the analysis 3 times, and took a majority vote to determine the classification of the seif. If there was a 3 way-tie, the most serious category was taken. Here are the results:

Classification Percentage
Good 29%
StyleImprovementNeeded 54%
Mistake 17%
EgregiousError 0%

You can see that the GPT model thinks that the translations overall need to be improved in style, and found 17% of the translations had a mistake. Importantly though, there were no egregious errors found.

Most of the mistakes were mistranslations of specific words/phrases or incorrect abbreviation expansions; some of the mistakes are a bit humorous. Here are a few examples:

YD 187:63

[עח”ד סק”ה שכתב דדווקא ברואה מ”ת אמרינן כן משום די”ל שמש עכרן אבל בשלא מחמש (sic) תשמיש …]

Translation: [see Chavot Daat subsection 5 who wrote that specifically regarding one who sees from the Torah…]

However, מ”ת means “due to sexual intercourse”. The model seems to have incorrectly expanded this to “מן התורה׳”, despite that making no sense in context.[13]

CM 163:2

כל צרכי ציבור שאינם יכולים להשוות עצמן מפני שינוי דיעות יש להושיב כל הבע”ב הנותנים מס ויקבלו עליהם ברכה שכל אחד יאמר דעתו לש”ש וילכו אחר רוב דיעות

Translation: Regarding all communal needs where they are unable to reach an agreement due to a difference of opinions, they should seat all the householders who pay tax and they shall accept upon themselves a blessing that each one will state his opinion for the sake of Heaven, and they shall follow the majority of opinions.

This is flagged as a mistake by GPT- “blessing” is not the right translation in this context; admonition or a similar word would be better.

OC 471:4

ושתיית יין שרוף מעט – וודאי מגרר גריר.

Translation: And drinking a small amount of burnt wine – certainly stimulates.

“Burnt wine” is a clear mistake for distilled alcohol.

Here’s a few more examples that I found of clear mistakes or stylistic quirks:

  • In OC siman 475, seif 16, the abbreviation “עק”נ” is incorrectly rendered as “see Ketzot HaChoshen” — the correct translation should be “see Korban Netanel”.
  • In YD siman 19, seif 6, the word “poskekim” appears twice — a word that does not exist in Hebrew or in standard transliteration. It appears to be a model-generated corruption of poskim (the standard plural of posek, a halachic decisor). The model occasionally makes up this word a few times in its translation.
  • In EH, Siman 1 seif 2, האשה אינה מצווה על פריה ורביה is translated as “The woman is not commanded regarding pruz u-revu”. This should be “The woman is not commanded regarding pru-urevu” or even better would be “Women are not commanded in pru-urevu”.
  • CM 24:1 “רבותינו ז”ל אמרו [רפ”ה לב”ק] שאין נזקקין אלא לתובע תחלה “ “Our sages, of blessed memory, said [at the beginning of the eighth chapter of Bava Kamma]”. This should be “At the beginning of the fifth chapter”

My overall conclusion is that the translation overall avoided serious errors, but that it does occasionally mistranslate more complex words or phrases, and will sometimes incorrectly expand abbreviations. The model is also no Shakespeare in terms of prose, and is sometimes stylistically awkward. Still, it is mostly correct and I think it is a useful resource. Not bad for $40.73.

Conclusion and Lessons for Future Translations

Based on my experience on using AI to translate the Aruch HaShulchan, I offer the following recommendations for those undertaking similar large-scale AI translation projects in rabbinic or other specialized religious and legal literature.

Invest in the system prompt. The single highest-leverage action is writing a strong system prompt. The prompt should do two distinct things: (1) establish the content guidance — what the model is translating, from what tradition, at what level of expertise; and (2) establish stylistic guidance — how specific terms, titles, phrases, and citation styles should be rendered, consistently and unambiguously. The prompt I used included a style guide with explicit rules for rabbinic titles, standard formulaic phrases, and transliteration conventions.

Few-shot examples are highly effective. I found that including two or three worked examples in the prompt — a Hebrew passage followed by its correct English rendering — substantially improved consistency and register. The model learns from examples what it cannot fully internalize from rules alone, particularly for the tone and sentence structure expected in halachic prose. In the prompt I used, the few shots were not even entire seifim and were actually quasi-synthetic quotes; they were meant simply to show the style of source and target text.

Smaller, lightweight models are sufficient. There is no need to use the largest or most expensive models for this class of task. LLMs have essentially solved the problem of rabbinic Hebrew translation at the level of legal accuracy. Gemini 3 Flash at MINIMAL thinking — the smallest and cheapest configuration I tested — produced translations that were as good as those produced by higher thinking levels at 33 times the cost. The marginal quality improvement from more compute is real but small; the marginal cost increase is enormous.[14]

Prompt Iteration is essential. It took a few tries to get the model to translate in the way I wanted, and running the model on a few seifim, looking at the translation, and adjusting the prompt was very helpful. This was especially helpful for certain expressions I wanted translated consistently.

Context improves consistency, but potentially at significant cost. The primary weakness of this pipeline is that each seif is translated in complete isolation: the model has no memory of the spelling choices, transliteration decisions, or citation delimiter styles it used in prior seifim. Including previous seifim as context — either by passing the already-translated text of the current siman, or through a more dynamic agent-based RAG system — would improve within-siman consistency meaningfully. However, because halachic terminology and cross-references can reach back not just to the previous seif but to earlier simanim and even different sections of the work, the amount of context needed to capture these dependencies could quickly become expensive. For a first-pass translation, I found the isolated-call approach worked remarkably well. For a definitive scholarly edition, context-aware translation is the clear next step.

Conclusion

Translating the complete Aruch HaShulchan — approximately 24,000 seifim across four major sections — is technically feasible, inexpensive ($40.73), and fast (taking a few days on my personal Mac) using current AI technology. The resulting translation is of high quality for a working text, albeit with clear and addressable weaknesses that can be addressed in future iterations of the translation. The full translation is freely available at aruch-hashulchan-transla-53666.web.app.

Appendix A: Example Gemini translations at different thinking levels

# Orach Chaim 475:16 — Thinking Level Comparison

## Hebrew Source

וכתב רבינו הבית יוסף בסעיף ד: אכל מצה בלא כוונה, כגון שאנסוהו אנסים או לסטים לאכול – יצא ידי חובתו, כיון שהוא יודע שהלילה פסח, ושהוא חייב באכילת מצה. אבל אם היה סבור שהוא חול, או שאין זה מצה – לא יצא. עד כאן לשונו. סברא זו כתב כדי לתרץ דברי הרמב”ם, שכאן פסק דיצא ובפרק שני משופר פסק דבלא מתכוין – לא יצא, לחלק בין אכילה לשאר דבר. ומיהו גם באכילה, אם לא ידע שפסח היום או שזהו מצה – וודאי לא יצא, דמצות צריכות כוונה. ובאכילה כשידע, אף שנעשה באונס – הוה ככוונה. וסברא זו הוזכרה בתוספות פסחים (קטו א). אבל מדברי הרא”ש שם, והטור בכאן, לא משמע כן, עיין שם. (עק”נ שם אות ק’, שהאריך בזה.)

## Minimal Thinking

Our teacher, the Beit Yosef, wrote in section 4: If one ate matzah without intent, for example, if oppressors or bandits forced him to eat—he has fulfilled his obligation, since he knows that the night is Pesach and that he is obligated in the eating of matzah. But if he thought it was a weekday, or that this is not matzah—he has not fulfilled it. Thus far his words. He wrote this reasoning in order to reconcile the words of the Rambam, who ruled here that he has fulfilled it, yet in the second chapter of Shofar ruled that without intent—one has not fulfilled it, to distinguish between eating and other matters. However, even regarding eating, if he did not know that today is Pesach or that this is matzah—he certainly has not fulfilled it, for mitzvot require intent. And regarding eating, when he knew, even though it was done under duress—it is like intent. This reasoning was mentioned in the Tosafot in Pesachim (115a). But from the words of the Rosh there, and the Tur here, it does not appear so, see there. (See Ketzot HaChoshen there, letter 100, who elaborated on this.)

## Low Thinking

And our teacher, the Beit Yosef, wrote in section 4: If one ate matzah without intent, such as if oppressors or bandits coerced him to eat—he has fulfilled his obligation, since he knows that tonight is Pesach, and that he is obligated in the eating of matzah. But if he thought it was a weekday, or that this is not matzah—he has not fulfilled [his obligation]. Thus far his words. He wrote this reasoning in order to reconcile the words of the Rambam, for here he ruled that he has fulfilled [his obligation], and in the second chapter of Shofar he ruled that without intent—he has not fulfilled [it], to distinguish between eating and other things. However, even regarding eating, if he did not know that today is Pesach or that this is matzah—certainly he has not fulfilled [it], for mitzvot require intent. And regarding eating, when he knew, even though it was done under duress—it is like intent. And this reasoning was mentioned in Tosafot Pesachim (115a). But from the words of the Rosh there, and the Tur here, it does not appear so; see there. (See Korban Netanel there, letter 100, who elaborated on this.)

## Medium Thinking

Our teacher, the Beit Yosef, wrote in section 4: If one ate matzah without kavanah, such as if coercers or bandits forced him to eat—he has fulfilled his obligation, since he knows that tonight is Pesach and that he is obligated in the eating of matzah. But if he thought it was chol, or that this was not matzah—he has not fulfilled his obligation. Thus far his words. He wrote this reasoning in order to reconcile the words of the Rambam, for here he ruled that he has fulfilled his obligation, and in the second chapter of Shofar he ruled that without kavanah—he has not fulfilled his obligation, to distinguish between eating and other things. However, even regarding eating, if he did not know that today is Pesach or that this is matzah—certainly he has not fulfilled his obligation, for mitzvot require kavanah. And regarding eating, when he knew, even though it was done under coercion—it is like kavanah. And this reasoning was mentioned in Tosafot Pesachim (115a). But from the words of the Rosh, ibid., and the Tur here, it does not appear so; see there. (See Korban Netanel, ibid., letter 100, who elaborated on this.)

## High Thinking

And our teacher, the Beit Yosef, wrote in seif 4: If one ate matzah without intent, for example, if oppressors or bandits forced him to eat—he has fulfilled his obligation, since he knows that tonight is Pesach and that he is obligated in the eating of matzah. But if he thought it was a weekday, or that this is not matzah—he has not fulfilled. Thus far his words. He wrote this reasoning in order to reconcile the words of the Rambam, for here he ruled that he has fulfilled, and in the second chapter of Shofar he ruled that without intent—he has not fulfilled, to distinguish between eating and other matters. However, even regarding eating, if he did not know that today is Pesach or that this is matzah—certainly he has not fulfilled, for mitzvot require intent. And regarding eating, when he knows, even though it was done under duress—it is like intent. And this reasoning was mentioned in Tosafot Pesachim (115a). But from the words of the Rosh ibid., and the Tur here, it does not appear so; see there. (See Korban Netanel ibid., letter 100, who elaborated on this.)

These translations are substantially the same, but have a few differences:

The minimal thinking omits the initial “and”, which is technically an error but does not impact the meaning. The most glaring error is that the minimal translation expands עק”נ as Ketzot HaChoshen there, whereas the more advanced models correctly expand this to Korban Netanel.

Appendix B: Some Sample Translations

# Aruch HaShulchan — Translation Samples

## OC 67:2 — Doubt about Keriat Shema

**Hebrew**

ופשוט הוא דמיירי שיש כאן ספק על הכל: על הקריאת שמע ועל הברכות. אבל אם הספק הוא רק על קריאת שמע, והברכות וודאי קרא – פשיטא שאומר הקריאת שמע ולא הברכות, דהברכות אינם שייכים לקריאת שמע כמו שכתבתי בסימן נ”ט. אך דיש לומר דאם פשיטא ליה דאמר “אמת ויציב” – גם קריאת שמע אינו חוזר וקורא, דוודאי קרא גם קריאת שמע דסירכיה נקיט ואתי. כמו שכתבתי בסימן ס”ד, דכשפתח “למען ירבו” אמרינן דוודאי אמר “והיה אם שמע” דסרכיה נקיט, עיין שם. והכא נמי כן הוא. ואם ברי לו שברכות שלפני קריאת שמע אמר, והספק הוא מקריאת שמע והברכות שלאחריהן – קורא קריאת שמע והברכות שלאחריהן.

**Translation**
And it is simple that this refers to a case where there is a doubt regarding everything: regarding the Keriat Shema and regarding the blessings. But if the doubt is only regarding the Keriat Shema, and the blessings he certainly recited—it is simple that he recites the Keriat Shema and not the blessings, for the blessings are not connected to the Keriat Shema, as I wrote in siman 59. However, one could say that if it is certain to him that he recited “Emet VeYatziv”—he also does not return and recite Keriat Shema, for he certainly also recited Keriat Shema, as he follows his habit. As I wrote in siman 64, that when he began “Lema’an Yirbu” we say that he certainly recited “VeHayah Im Shamoa” because he follows his habit, see there. And here too it is so. And if it is clear to him that he recited the blessings before Keriat Shema, and the doubt is regarding the Keriat Shema and the blessings after them—he recites Keriat Shema and the blessings after them.

<## OC 292:1 — Mincha on Shabbat: Ashrei and Va’ani Tefilati
**Hebrew**

אומרים ‘אשרי’ ‘ובא לציון’, דבכל יום אומרים אותו בשחרית, ובשבת שבלאו הכי יש אריכות בשחרית – הניחוהו למנחה. ואומרים חצי קדיש. ואחר כך אומרים פסוק ‘ואני תפלתי’, על פי המדרש שמקודם כתיב: ‘ישיחו בי יושבי שער ונגינות שותי שכר’, אמר דוד לפני הקב”ה: אף על פי ששתינו – ואני תפלתי לך ד’. כלומר דשארי בני אדם שותים ומשתכרים ועוסקים בהוללות, ואני כשאשתה – עוסק אני אחר כך בתורה ותפ(י)לה. ולכן ביום טוב דליכא קריאת התורה – אין אומרים אותו, ועוד דעת רצון הוא רק בשבת במנחה, ונקרא בזוהר (שמות דף פ”ח:) ‘רעוא דרעוין’, וזהו רק בשבת כידוע. ולכן בשבת אף כשמתפלל ביחידות או במקום שאין ספר תורה – מכל מקום אומרים אותו (עיין מג”א סק”א), וכן הוא בזוהר תרומה.

**Translation**

We say ‘Ashrei’ and ‘Uva LeTziyon’, for on every day we say them in Shacharit, and on Shabbat, since in any case there is length in Shacharit—they left it for Mincha. And we say a half Kaddish. And afterwards we say the verse ‘Va’ani Tefilati’, based on the Midrash that previously it is written: ‘Those who sit in the gate talk about me, and I am the song of drunkards,’ David said before the Holy One, Blessed be He: Even though we have drunk—’as for me, may my prayer be unto You, Hashem.’ That is to say, that other people drink and become intoxicated and engage in revelry, but I, when I drink—I engage afterwards in Torah and prayer. Therefore, on Yom Tov, when there is no reading of the Torah—we do not say it; and furthermore, the time of favor is only on Shabbat at Mincha, and it is called in the Zohar (Shemot page 88b) ‘the favor of favors’, and this is only on Shabbat as is known. Therefore, on Shabbat, even when one prays in private or in a place where there is no Sefer Torah—nevertheless we say it (see Magen Avraham subsection 1), and so it is in Zohar Terumah.

## OC 615:1 — Marital Relations on Yom Kippur

**Hebrew**

יום הכיפורים אסור בתשמיש המטה, וגם זה בכלל “ועניתם”, דמניעת תשמיש מקרי “עינוי”. ובגמרא (עז ב) יליף זה מקרא, עיין שם. ואפילו במקום שאין טובלין לקרי – אסור התשמיש (טור), כלומר: דלא תימא דהאיסור הוא משום הטבילה שאחר כך, מפני איסור רחיצה, אלא התשמיש עצמו אסור. ולכן יתרחק אדם מאשתו כל יום זה כמנידה. והיינו: שלא יישן עמה במיטה אחת, ולא יגע בה בלילה. אבל ביום אין חשש כמובן (ט”ז). ויש שאוסר גם ביום (מגן אברהם), וכמדומה שאין המנהג כן. ולא ירבה לדבר עמה (שם).

**Translation**

Yom Kippur is forbidden for tashmish hamitah, and this too is included in “and you shall afflict yourselves,” for the withholding of tashmish is called “affliction.” And in the Gemara (77b) this is derived from a verse, see there. And even in a place where they do not immerse for keri—tashmish is forbidden (Tur), that is to say: so that you should not say that the prohibition is because of the immersion that follows, due to the prohibition of washing, but rather the tashmish itself is forbidden. Therefore, a man should distance himself from his wife all this day as if she were a niddah. And that is: that he should not sleep with her in one bed, and he should not touch her at night. But during the day there is no concern, of course (Taz). And there is one who forbids even during the day (Magen Avraham), and it seems that the custom is not so. And he should not speak extensively with her (ibid.).

## YD 38:13 — The Appearance of a Lung

**Hebrew**

ולפע”ד היה נראה להשוות הדיעות במקצת דבאמת אמראה בשר קשה מאד הרי זו אדום ולכן כתב אחד מהגדולים שצריך להבחין באדמימות אם אינה נוטה למראה בשר [שמ”ח סעי’ ד’] אבל מי הוא האיש החכם ויבן את זאת ולכן נראה דזה שכתבו כמראה בשר לאו משום המראה של אדמימות אלא גם על המראה העצמיות שלה דידוע דריאה היא חלקה מאד ולהיפך מזה הבשר אינו חלק כלל שהרי נמשכת לחוטים דקים ולכן אם הרואה לעינים לא יאמר עליה שזו היא ריאה אלא בשר היא טרפה ואם יאמר הרואה שזהו כבד כשרה וה”ה אם יאמר עליה שזהו טחול ג”כ כשר ולפ”ז זה שאמרו כמראה בשר טרפה לאו משום המראה אדמומית אלא משום מראה העצם שגשמיותה נראית כבשר [ומתורץ בזה קושית המאור למה לא אמר הש”ס כעין בישרא ע”ש]:

**Translation**

In my humble opinion, it would seem possible to reconcile the opinions somewhat, for indeed, regarding the appearance of meat, it is very difficult, as this is red. Therefore, one of the great authorities wrote that one must discern in the redness if it does not lean toward the appearance of meat [Siman 38, section 4]. But who is the wise man who can understand this? Therefore, it seems that what they wrote, “like the appearance of meat,” is not because of the appearance of redness, but also regarding its essential appearance. For it is known that a lung is very smooth, and conversely, meat is not smooth at all, as it is drawn into thin fibers. Therefore, if the observer would not say of it that this is a lung, but rather that it is meat, it is terefah. But if the observer would say that this is liver, it is kosher; and the same law applies if he would say of it that this is a spleen, it is also kosher. According to this, that which they said, “like the appearance of meat is terefah,” is not because of the appearance of redness, but because of the appearance of the substance, that its physical essence appears like meat [and with this, the difficulty of the Maor is resolved as to why the Shas did not say “like meat,” see there].

## CM 378:13 — Both Parties With or Without Permission

**Hebrew**

ומה נקרא שניהם ברשות כגון חצר השותפים או שנתן הבעה”ב רשות לשניהם ליכנס לחצרו או שהניזק נתן רשות למזיק ליכנס לחצרו או המזיק לניזק וכן כששניהם הלכו ברה”ר או בסימטא מקרי שניהם ברשות דהלא לשניהם יש רשות להלוך אבל כשרצים ברה”ר ובסימטא מקרי שניהם שלא ברשות דאין רשות לאדם לרוץ במקום הילוך רבים ושלא במקום הילוך רבים כמו בשדה ובקעה מקרי ברשות גם כשרצים [נ”ל] וכן בחצר שאינו של שניהם ובעל החצר לא נתן להם רשות מקרי שלא ברשות אבל כשלאחד נתן רשות ולא להשני הוי לזה שנתן רשות כחצרו:

**Translation**

And what is called “both are with permission”? For example, a partners’ courtyard, or where the homeowner gave permission to both of them to enter his courtyard, or where the injured party gave permission to the damager to enter his courtyard, or the damager to the injured party. And similarly, when both were walking in a public domain or in a side-alley, it is called “both are with permission,” for behold, both have permission to walk. But when they are running in a public domain or in a side-alley, it is called “both are without permission,” for a person does not have permission to run in a place where many walk. And in a place that is not a place where many walk, such as in a field or a valley, it is called “with permission” even when they run [it appears to me]. And similarly, in a courtyard that does not belong to both of them and the owner of the courtyard did not give them permission, it is called “without permission.” But when he gave permission to one and not to the other, it is for the one to whom he gave permission like his own courtyard.

 

 

  1. Special thanks to Emory University’s Law and Religion Center, which funded the model calls for this project. I want to thank my father, Rabbi Michael Broyde, for his thoughts on this piece and general helpful discussions when engaging in this project. His work on the Aruch Hashulchan is what inspired this project in the first place. I thank him also for all the Torah he has taught me and continues to teach me. Thank you also to Sefaria for publishing the original Hebrew text.
  2. My father, Rabbi Michael Broyde, undertook a scholarly translation of the Hilchos Shabbos chapters of the *Aruch HaShulchan* (*Orach Chaim* 242–292, see here). Aryeh Press is separately producing AI-assisted translations of the Aruch HaShulchan that integrates commentary from the Mishneh Brurah and the Shulchan Aruch HaRav — a more ambitious and editorially intensive project targeting the same text.
  3. For Yoreh Deah, I had to combine two different files from Sefaria: Arukh HaShulchan – he – Arukh HaShulchan, Yoreh De’ah — Wikisource.json and Arukh HaShulchan – he – Aruch HaShulchan, Vilna 1923-29.json
  4. Previously, in September 2024, I used GPT-4o to translate the Aruch HaShulchan, covering Orach Chaim, Yoreh De’ah, and Even HaEzer. You can find that older translation here. I found that it also produced translations of good quality. I have since updated the translation using Gemini 3 Flash, and extended coverage to all four sections of the Shulchan Aruch.
  5. All translation pipeline code — including the API client, the translation script, the thinking-level experiment, the post-processing normalization pass, and the code powering the website — was written with Claude Code (Anthropic’s AI coding assistant). Claude Code also assisted with some qualitative analysis of the translations and assisted drafting this article.
  6. You can find the code for creating the translation, including prompts for the model, here. All model API calls had a temperature of .4.
  7. See appendix for an example. You can see the full results of the experiment here.
  8. In the translation, I found that the MINIMAL setting never did any thinking. However, this is not guaranteed, and the minimal thinking setting sometimes can engage in thinking.
  9. Even this higher rate remains significantly lower than professional human translation, which typically ranges from $0.05 to $0.20 per word. Even at the lower estimate of $0.05 per word, a professional translation of the Aruch HaShulchan would cost approximately $170,000, making the AI-driven alternative a fraction of the market rate.
  10. That being said, my impression with informally testing with Anthropic’s Claude model and OpenAI’s ChatGPT are that they generated similarly reasonable translations. As I stated above, even the older GPT4o model did a solid job of translating sections of the Aruch Hashulchan.
  11. I chose a totally different model to avoid any potential bias of Gemini both creating the translations and also evaluating. However, in principle, LLMs of the same family can be used to evaluate their own responses.
  12. The actual Gemini generated translation correctly translates this phrase as “And certainly this is only a mere stringency”. I want to thank Claude Code for accidentally surfacing this nice example. Claude Code originally flagged this correct translation as being incorrect and I had to fight with it to persuade it that in fact the original translation was correct(!)
  13. My impression is that about a third or a half of all mistakes are incorrectly expanded abbreviations.
  14. For true publication quality translations, I think more work needs to be done to test whether smaller models can be used, especially if those translations will incorporate auto-generated commentaries and cross-references.

 




An (almost) Unknown Halakhic Work by Rabbi Shneur Zalman of Liadi and an attempt to answer the question: who punctuated the first edition of the Shulhan Arukh?

An (almost) Unknown Halakhic Work by Rabbi Shneur Zalman of
Liadi and an attempt to answer the question: who punctuated the first edition
of the Shulhan Arukh?

 by Chaim Katz

Chaim Katz is a
database computer programmer in Montreal Quebec. He graduated from McGill
University and studied in Lubavitch Yeshivoth in Israel and New York.

In 1980, the late Rabbi Yehoshua Mondshine
published a manuscript, which was a list of chapters and paragraphs (halakhot  and se’fim), selected by Rabbi Shneur
Zalman of Liadi (RSZ), from the Shulhan Arukh (SA) of Rabbi Yosef Karo.[1]
(RYK)

Figure 1: Part of the list of halakhot prepared by Rabbi
Shneur Zalman and the preliminary and concluding notes written by R. Isakhar
Ber.
R.
Isakhar Ber, who copied the original manuscript, explained the purpose of the
list in a preliminary remark:

A concise study method
of essential laws from the beginning of Shulhan Arukh  Orah Hayim until the end of the Shabbat laws – to know them
fluently  by heart, from Admur  (our master, teacher and Rebbe), our teacher
Zalman of Liozna.
R.
Isakhar also added an epilogue:
I copied all of the
above, from the beginning until the laws of Pesah, but I didn’t check it
completely to verify that I copied everything correctly and G-d willing when
there’s time I will check it. Prepared and researched by the Rabbi and Gaon,
the great light, the G-dly and holy, our teacher, Shneur Zalman, may his lamp
be bright and shine, to know it clearly and concisely, even for those people who
are occupied in business. Therefore I thought I won’t withhold good from the
good.  Isakhar Ber, son of my father and
master … Katz, may his lamp be bright, of the holy community of Shumilina and
currently in Beshankovichy.
The
manuscript was probably composed (or at least copied), between the years
1790-1801, when RSZ lived in Liozna. The existence of this list isn’t
acknowledged in any source that Rabbi Mondshine was aware of, and obviously the
list was never published in book form, either because RSZ
decided not to publicize it or because the list was simply put aside and
forgotten.
RSZ
wasn’t the first who envisioned a popular digest of the SA. Rabbi Yehuda Leib
Maimon lists four works that preceded the famous Kitzur Shulhan Arukh.[2]
They preceded RSZ’s work as well and are all quite similar although they also
have their differences.


Figure 2: First edition of Shulhan Tahor by Rabbi Joseph Pardo (from
Hebrewbooks.org). The page summarizes three and a half chapters of the original
Shulhan arukh. Note how the author sometimes combines the words of RYK with the
words of Rema (line 11).
Shulhan Tahor covers Orakh Hayim and Yore Deah.
Others have a narrower scope and cover only Orah Hayim. RSZ covers even less.
Some collections are abbreviated extensively; others include more details.[3]
There are variations in the language and content; some quote opinions of later
authorities, some quote Kabbalah, some re-cast the language of the SA and some
retain the language as much as possible.


Figure 3: Pardes Rimonim by Rabbi Yehudah Yudil Berlin, (from
Hebrewbooks.org), composed in 1784. Note the author quotes Ateret Zekenim, (R.
MM Auerbach, published in 1702). The additions in parenthesis are by the
publisher of the 1879 edition.
The authors of each of these works possibly had
two goals in mind. One of the goals was to make the basic rules and practices
of the SA more accessible. To this end, certain subjects or details were left
out because they were too technical for the chosen audience. Other rules were
omitted because the situations to which they applied happened only infrequently
(בדיעבד). Many regulations
were left out because daily life and its circumstances had changed so much
since the sixteenth century.

The other goal,
and arguably the primary goal, was to provide a text of law that could be
memorized. In the introduction to Shulhan Tahor, the author’s son writes:
“every man will be familiar and fluent in these laws (שגורים בפי כל האדם)”. Likewise, the
author of Pardes Rimonim defines the purpose of his work: “so that the reader
will be fluent in these rules (שגורים
בפיו)
and will review them each month”.  In
the introduction to the Shulhan Shlomo, the author writes: “Put these words to
your heart and you won’t forget them”, and the motive of R. Shneur Zalman’s
work is:  “to know [these laws] fluently by heart”.

Figure 4: Introduction of Rabbi Yosef Karo – from the first edition
of the Shulhan Arukh, published in Venice in 1565 where memorization is
emphasized (from the scanned books at the website of the National Library of
Israel, (formerly the Jewish National and University Library.)
The
tradition of memorizing practical laws goes back to RYK himself, and probably
goes back even earlier.[4]
RYK writes in the introduction to his Shulhan Arukh:
I thought in my heart
that it is fitting to gather the flowers of the gems of the discussions [of the
Beit Yosef] in a shorter way, in a clear comprehensive pretty and pleasant
style, so that the perfect Torah of G-d will be recited fluently by each man of
Israel. When a scholar is queried about a law, he won’t answer vaguely.
Instead, he will answer:  “say to wisdom
you are my sister”. As he knows his sister is forbidden to him, so he knows the
practical resolution of every legal question that he is asked because he is
fluent in this book…  Moreover, the
young (rabbinical?) students will occupy themselves with it constantly and
recite its text by heart…
I’m
working on a phone version of RSZ’s work using the first print of
RYK’s SA for that portion of the text. However, (aside from the difficulty of
text justification in an EPUB), there is one typesetting decision that I’m
wondering about.  The first edition of
the SA is punctuated with elevated periods and colons.  The colons always separate each halakha, but
infrequently colons appear in the middle of a halakha. Sometimes followed by a
new line and sometimes not. The periods may appear in the middle of a halakha,
sometimes followed by horizontal white space and sometimes not.
Hebrew printing (of holy books) hasn’t changed all that
much in the past 450 years; the colons at the end of each paragraph are present
in most current editions of the Shulan Arukh, but the periods, colons and white
space in the middle of the paragraphs have largely been ignored in subsequent
prints.[5]
Do I try and duplicate this punctuation or not? Here are two examples where I
replaced the elevated period and colons with modern periods, but tried to keep
the original layout.

Figure 5: Note the raised periods and colons in the first print
(from the National Library of Israel web site).

Figure 6: Screenshot of a digital version of R. Shneur Zalman’s
composition. Note periods and line feeds.

Figure 7: Facsimile of the first print of Shulhan Arukh – beginning
of chapter 11. See the colons in in the fourth halakha.

Figure 8: Screenshot of my smart phone version of R. Shneur Zalman’s
list – chapter 11

I think it’s possible that
the punctuation of the first edition of the SA was copied from RYK’s manuscript. Prof.
Raz-Krakozkin writes: He (Karo) insisted on personally supervising its
publication and made sure that the editors followed his instructions[6]. On
the other hand, I can’t explain why the punctuation marks occur so rarely.

To help decide if RYK
punctuated his manuscript before sending it to the printers, we can compare
other manuscripts that were printed then. For example, the Yerushalmi was first
printed in Venice (1523) from a manuscript, which is still extant today.

Figure 9: Facsimile of the first print of the Jerusalem Talmud
(Berakhot 1:1), with raised periods to separate word groups from the scanned
books at the website of the National Library of Israel, (formerly the Jewish
National and University Library.)

The printed version of the
Yerushalmi has elevated periods that delineate groups of words. These markings
are already found in the source manuscript in the exact same places.

Figure 10: Facsimile of Leiden manuscript of the Jerusalem Talmud
(1289 CE), Brakhot 1:1 from the Rabbinic Manuscripts on line at the National
Library of Israel web site, (formerly the Jewish National and University
Library).

Prof. Yaakov Sussmann[7]
speaks of two possibilities concerning the origin of the
Talmud Yerushalmi’s punctuation. The punctuation may be relatively recent – the
scribe punctuated the text or the punctuation existed in the manuscript that
the scribe copied from.  Alternatively,
the punctuation might be a reduction or simplification of cantillation marks
that were common in much older rabbinic manuscripts. Either way, the printers
didn’t invent the punctuation.

Our editions of the Gemara (the Babylonian Talmud) have colons (“two
dots”) in strategic places.[8]
These colons already exist in one of the first Talmud editions – the Bomberg
Talmud (Venice 1523).

Figure 11: Facsimile of a page of Bomberg Talmud (Betza 21a) showing
colons. (The horizontal lines near the colons are either blemishes, or markings
by hand.) Note the horizontal white space after the colons.

Most volumes of the Bomberg
edition were not printed from manuscript, but were copied from the Talmud
printed by Joshua Moses Soncino in 1484[9].
In the Soncino Talmud, we find separators in the exact places as the colons of
the Bomberg edition. The Soncino Talmud had two types of
punctuation: a top comma (or single quote mark) that marks off groups of words
(like the Yerushalmi has) and a double top comma (double quote mark). When
Bomberg printed his edition (40 years later), his printers replaced the double
commas with colons (and dropped the single commas).

Figure 12: The bottom of a page in Soncino, coresponding to the same
page (21a) in Betza. Note the two elevated commas, where we have a colon and
the subsequent horizontal white space. (The Soncino Talmud does not have the
same pagination as us). From the National Library of Israel web site.

Figure 13: Top of the next page in the Soncino edition, corresponding
to our Betza 21a. Note again 2 commas where we have a colon.

It would be difficult to trace the origins of the colons much further.
We don’t know which manuscripts were used by the printers of the Babylonian
Talmud, and in any case the many Talmud burnings in the 1550’s in Italy
destroyed most of the manuscripts that were there. Nevertheless, there is at
least one old manuscript that has punctuation marks similar to what we find in
the Soncino Talmud.

Figure 14: Snippet from Gottingen University Library Talmud
manuscript showing the upper double comma separator for the same page – Betza
21a (From the Rabbinic Manuscripts on line at the National Library of Israel
web site, (formerly the Jewish National and University Library).)

The Gottingen manuscript is a Spanish
manuscript from the early thirteenth century[10] – almost three hundred years older than the Talmud printed
in Soncino. It doesn’t have the upper single commas that Soncino edition has,
but it does have the same double comma in the same places that the Soncino
print has.  Just to repeat: the pauses
represented by colons, that we see in our Talmud are at least 800 years old!
It’s at least possible (likely?) that RYK’s own SA manuscript was
punctuated just as the Talmudic manuscripts that he studied from were.
Summary
I introduced RSZ’s
abbreviated (Kitzur) SA, and discussed it in the context of other similar
works. I mentioned that the authors aimed at producing collections of relevant laws
that could be memorized. I noted that the first edition of the SA was punctuated
differently from following versions. I suggested (based on comparisons with
early printed Talmuds) that the punctuation was probably the work of RYK and
not the work of the printers.

[1] Mondshine, Y. (Ed.).
(1984).  Migdal Oz (Hebrew), Kfar Habad:  Machon Lubavitch , pp.  419-421. Dedicated to the memory of Rabbi
Azriel Zelig Slonim ob”m. Essays on Torah and Hassidut by our holy Rabbis, the
leaders of Habad and their students, collected from manuscripts and authentic
sources and assembled with the help of the Almighty.
[2] Maimon, Rabbi Yehuda
Leib, The history of the Kitzur Shulhan Arukh (Hebrew), published in Rabbi Shlomo
Ganzfried, Kitzur Shulhan Arukh, Mossad Harav Kook Jerusalem Israel 1949. The
earlier works mentioned are: Shulan Tahor by R. Joseph Pardo,edited/financed by
his son David Pardo, Amsterdam 1686. Shulan Arukh of R. Eliezer Hakatan  by Eliezer Laizer Revitz printed by his
son-in-law R. Menahem Azaria Katz, Furth 
1697. Shulhan Shlomo by Rabbi Shlomo Zalman Mirkes printed in Frankfort
(Oder) 1771. Pardes Rimonim by R. Yehuda Yidel Berlin, composed in 1784 and
printed for the first time in Lemberg (Leviv) 1879. 
[3] RSZ’s digest from the
beginning until the end of chapter 156 contains 18,000 words while the same
portion of the big Shulhan Arukh contains approximately 40,000 words. A word is
loosely defined as a group of characters separated by a space or by spaces.
[4] In the introduction to
the Mishne Torah, Maimonides writes: “I divided this composition into legal
areas by subject, and divided the legal areas into chapters, and divided each
chapter into smaller legal paragraphs so that all of it can be memorized.”  See: Studies in the Mishne Torah, Book of
Knowledge Mossad Harav Kook, Jerusalem (Heb.) by Rabbi José Faur for a
discussion and explanation of the study methods of Middle Eastern Jews (page 46
and following pages, especially footnote 60).
[5] The National Library of
Israel, (formerly the Jewish National and University Library) has the edition
of the Shulhan Arukh printed in Krakow in 1580. This is the second version with
the notes of the Rema (which was first printed in 1570) and it doesn’t have the
original punctuation marks.
[6]  “From Safed
to Venice: The Shulhan ‘Arukh and the Censor” (in: Chanita Goldblatt, Howard
Kreisel (eds.), Tradition, Heterodoxy and Religious Culture, Ben
Gurion University of the Negev  (2007)
91-115). 
A.M. Haberman, The First Editions of the Shulhan Arukh
(Heb.) on the daat.ac.il web
site, (from the journal Mahanaim # 97 1965 p 31-34.) suggests that the
editor/corrector of the first edition, Menahem Porto Hacohen
Ashenazi created its table of contents.
See also the discussion about who created the chapter headings, (a
pre-requisite for the table of contents), in Gates in Halakha (Heb.), Rabbi
Moshe Shlita, Jerusalem 1983, page 100. He argues that the chapter headings of
the Shulhan Arukh could not be the work of Rav Yosef Karo. 
[7] Talmud Yerushalmi
According to Ms Or 4720 of the Leiden University Library, Academy of the Hebrew
Language Jerusalem 2001 Introduction by Yaakov Sussmann.
[8] Cf. Rashi in the
beginning of Leviticus “What is the purpose of the horizontal white-space (in
the text of the Torah)? It gives Moshe some space to contemplate between a
section and the next section, between a topic and the next topic.  (Rashi Lev. 1:1 s.v. vayikra el Moshe (2nd)
from the Sifra.
[9] Raphael Nathan Nata
Rabbinovicz. Essay on the printing of the Talmud  (Hebrew).
[10]  M. Krupp in The Literature of the Sages,
Oral Torah, Halakha, Mishna, Tosefta, Talmud, External Tractates (Compendia
Rerum Iudaicarum Ad Novum Testamentum)
 Fortress Pr; 1987 Part 1 Shmuel Safarai ed,  p 352. 



Rabbinic Portraits

There is a discussion on the always-wonderful-blog On The Main Line regarding a portrait attributed to Rashi. Someone MENACHEM BUTLER raised the well-known collection of famous Rabbinic personalities which appeared on an edition of the Shulhan Arukh. The edition to which they are referring to is the Shulhan Arukh printed in Mantua in 1721-23. This edition includes the standard commentaries as well as the commentary of R. Gur Areyeh Finzi (d. 1753). On the title page Finzi (or the printer) included Rabbis in the Shulhan Arukh, R. Karo, R. Isserles, and Rabbis whose works form the basis of the Shulhan Arukh (although not all) – Rashi, Rambam, and Maharil, as well as R. Finzi’s portrait. As you can see below these are not the most flattering portraits done (that of course doesn’t speak to whether they are correct, although it is unlikely that one could produce a portait in some cases hundred of years after the death of a person) it appears some were offended at the way in which they were depicted. Thus, these appear only on the title page for Orah Hayyim but not the other volumes. The same background was used, the gate, just the portraits are absent. Additionally, it is worth pointing out that some focus on the depiction of the Rambam for whether he had peyos as it seems in this portrait he may have (either that or long hair).

Title page of the Shulhan Arukh with the Commentary of the Gur Areyeh, Mantau, 1721