-
Notifications
You must be signed in to change notification settings - Fork 0
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
Repair defective CTS hierarchies #2
Comments
This should mostly be adding empty divs with sub-references into the parent (node) elements, and updating the children's filenames. |
The most complex issue is actually identifying citationMappings, because they appear to be missing altogether. @simonastoyanova - is there a list of sensible rules to build hierarchies from a flat list of textpart-elements, or a set of written-down rules from which to construct that list? I want to be able to run through an ordered list of elements and be able to decide whether I should add an element as a child to the previous element. |
I am considering whether this should be outsourced into a d3.js app based on the dendrogram:
|
This mostly involves moving CTS sub-hierarchies into their parent elements in the TEI to recover non-degenerated XML trees. This way an Xpath query will yield the full subtree.
This happens in parallel to #1 and fbaumgardt/perseus-citology#3.
The text was updated successfully, but these errors were encountered: