Text annotation¶
Text annotation (#2079) is about linking entities (actors, places, ...) to specific parts of a text. See manual
Current scope¶
- It is used at Source (E33) and their texts
- Only already linked entities are offered
- Only one entity can be linked per annotation
- No overlapping annotations
- An annotation needs at least a linked entity or a text
Information storing¶
Information is saved in the database table model.annotation_text, similar to web.annotation_image. Fields:
- id (int, required) generic internal database identifier
- source_id (int, required)
- entity_id - (int, required) the entity is linked in the annotation, e.g. actor, place, artifact, ...
- link_start (int, required)
- link_end - (int, required) or maybe the length?
- text - (text, not required) a kind of description field for text information, maybe think about the name, e.g. annotation, description, text, ...
- created - timestamp of creation (set automatically at creation)
- modified - timestamp of modification (triggered automatically on change)
Ideas for future versions¶
- Also offer entities that aren't already linked to the source (#2438)
- Offer links to external reference systems (e.g. GeoNames) which we would use to create new entities on the fly (using available meta information, creating links to reference system, ...). Interesting but a lot of work.
- A tool to find possible annotation candidates (at already entered data) providing a result list to annotate multiple occurrences in one go