Citation linker for Sefaria from Girsa

Paste citations, get Sefaria links

Write citations the way people write them in English (Berachos 5a, S"A O"C 271:1, Hilchos Eidus 4:1), one per line. Each becomes a link to Sefaria. If a citation could mean more than one place, it stays unlinked, and the page says why.

    How it works

    For each citation the tool proposes many possible spellings (Ashkenazi and academic transliterations, abbreviations, Hebrew book names, "chapter 2, ¶ 3"), and Sefaria says which one is a real reference. Then it checks the answer: an answer that dropped a word, added one, swapped two, or filled in something the citation never said (which side of a Talmud page, which section of the Shulchan Arukh) is rejected.

    Why some stay unlinked

    Strict also declines three readings that Sefaria makes by convention: a bare Shulchan Arukh section (YD 289, which some writers mean for the Tur), a tractate with chapter:mishnah (Kilayim 9:3, read as the Mishnah), and two- or three-letter abbreviations (Ber 9).

    How accurate is it?

    On about 600 real citations that Sefaria can't read as written, taken from links people made on Mi Yodeya and Wikipedia: about two thirds are linked to the right place or to the chapter containing it, about 1% are linked somewhere else (mostly where the writer's own link disagreed with their text), and the rest stay unlinked.

    The code, the test data and the method are open: github.com/esafern/sefaria-citation-normalizer.