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!!
Mi Yodeya is a question and answer site for those who base their lives on Jewish law and tradition and anyone interested in learning more. It only takes a minute to sign up.
Sign up to join this communityI 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.