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

Prevent ibid for categories and books #2061

Open
wants to merge 13 commits into
base: fix-sefer-hachinukh-linker
Choose a base branch
from

Conversation

nsantacruz
Copy link
Contributor

Description

Prevents categories and books from being caught using ibid context

Code Changes

  • adds match_templates to categories so they can be caught independently
  • add CategoryResolver class to match categories
  • use CategoryResolver on Linker to first find categories and only then look for citations.
  • refactor out methods relating to match templates from TitledTreeNode into interface HasMatchTemplates so it can be reused for any object that has match templates
  • pull out with_failures variable from RefResolver so all logic is in Linker. This helps Linker use failed categories to still search for refs.

Notes

Any additional notes go here

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

Successfully merging this pull request may close these issues.

1 participant