Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to map references in links to specific text fragment? #38

Open
rudolfovic opened this issue Jan 25, 2023 · 0 comments
Open

How to map references in links to specific text fragment? #38

rudolfovic opened this issue Jan 25, 2023 · 0 comments

Comments

@rudolfovic
Copy link

The link files contain citations in the following format:

"A New Israeli Commentary on Pirkei Avot 1:10:13" -> "Sanhedrin 4a"

The table also contains book names and these are easy to identify and find in the repo.

However, it is not clear how to easily find the fragments referred to in the citation columns without writing custom parsers.

For example, Sanhedrin 4a - there isn't anything (like an index) in the json (the same applies to the other formats) structure of the Sanhedrin file to find the text extract itself.

Moreover, even if I were to write custom parsers for these references, they only point to the beginning of the extract and not the end.

On the other hand, the Sefaria application successfully maps all references (and the websites too obviously). What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant