I am writing a tool in python to analyze the Talmud (e.g. word counts, how many times a specific phrase is used etc.) and I need a free downloadable text file of the Gemara, preferably with Rashi and Tosafos.
Thanks for all your help!!
I am writing a tool in python to analyze the Talmud (e.g. word counts, how many times a specific phrase is used etc.) and I need a free downloadable text file of the Gemara, preferably with Rashi and Tosafos.
Thanks for all your help!!
Sefaria has all these texts available for free. The easiest way to download them is to go to the Sefaria-Export github repository here. You can download the entire repository as a ZIP by clicking on the green Code button at the top-right, and then choosing "Download ZIP". The files you're looking for will be in the txt
folder, then the Talmud
folder, then the Bavli
folder. If you just want to download the Bavli folder, you might try one of the solutions here.
I provide the exact Python code how to this, here: How To Download Sefaria's Entire Talmud At Once