Open CharterMap opened 4 months ago
This might be possible by having a single "base" layer, with every Object type having its own layer on top of that (e.g. a layer for language, a layer for person, a layer for script, for scribe, place, and so on). The fundamental concept is that no two tags within a single layer should have any possibility of overlapping at any point.
How to achieve this, practically? The biggest difficulty I see is in recording where a tag starts and stops in the text:
If we did position the tags around text based on start and end places in the list of characters, we could mitigate issues arising from changing the base text like this:
It needs to be possible to mark up a document with various overlapping attributes. Attributes can exist down to the character level, up to a single attribute spanning across the entire document. They will overlap, and they will overlap in messy ways.
For instance, one attribute might state that a section is in Latin, another might link a personal name in the document to an instance of a Person object, and another might link to an instance of a Diplomatic Phrase object.
This is probably going to be a core requirement for marking up the charters at the beginning and in the long term for the project.