Project

General

Profile

Actions

Feature #2079

closed

Text annotation

Added by Alexander Watzinger over 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Backend
Target version:
Start date:
2024-12-23
Estimated time:

Description

Basically it's about linking entities (actors, places, ...) to specific parts of a source (and their texts), instead of just linking them to the whole source, like it is possible currently.
This is an experimental implementation (draft), see related issues about further improvements.

It is available for testing at the development demo: https://demo-dev.openatlas.eu/entity/221463


Related issues 8 (4 open4 closed)

Related to OpenAtlas - Feature #2369: Text annotation widgetClosedOlivia Reichl2024-10-16Actions
Precedes OpenAtlas - Feature #1925: Multi language support for data enteringAcknowledged2024-12-24Actions
Precedes OpenAtlas - Feature #2434: API: Text annotation for presentation viewClosedBernhard Koschiček-Krombholz2024-12-24Actions
Precedes OpenAtlas - Feature #2438: Text annotation: also provide unlinked entitiesAcknowledged2025-01-28Actions
Precedes OpenAtlas - Feature #2439: Text annotation: widget translationsAssignedOlivia Reichl2024-12-24Actions
Precedes OpenAtlas - Bug #2437: Text annotation: widget line break bugClosedOlivia Reichl2024-12-24Actions
Precedes OpenAtlas - Feature #2441: Additional text annotation viewsAcknowledged2024-12-24Actions
Precedes OpenAtlas - Feature #2442: Text annotation: show orphansClosedBernhard Koschiček-Krombholz2024-12-24Actions
Actions #1

Updated by Alexander Watzinger over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Alexander Watzinger over 1 year ago

  • Target version changed from Wishlist to 8.8.0
Actions #3

Updated by Alexander Watzinger over 1 year ago

  • Precedes Feature #1925: Multi language support for data entering added
Actions #4

Updated by Alexander Watzinger over 1 year ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Alexander Watzinger
Actions #5

Updated by Alexander Watzinger over 1 year ago

  • Status changed from Assigned to In Progress
Actions #6

Updated by Alexander Watzinger over 1 year ago

  • Description updated (diff)
Actions #7

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

A working backend prototype is now available in the feature/text_annotation branch and can be tested at the development demo
Be aware that it is just a prototype, e.g. text position have to be entered manually, no translations, no validation for overlapping annotations, ...

As soon as we have a widget for text annotation, we can finish the implementation in the backend.

Actions #8

Updated by Alexander Watzinger about 1 year ago

Actions #9

Updated by Alexander Watzinger about 1 year ago

  • Target version changed from 8.8.0 to 8.9.0
Actions #10

Updated by Alexander Watzinger about 1 year ago

I finished the backend implementation as far as I could. Now we have to wait for the widget to complete the functionality.
Here is a checklist that I want to go through once the widget is available:
  • Check line breaks
  • Check special chars in text for e.g. mouse over
  • Prevent submit without link or text (also for image annotation)
  • What about deleted entities of annotations (text and image) that have no text?
  • Join annotation functions?
  • Enable text annotation for other source texts
Actions #11

Updated by Alexander Watzinger about 1 year ago

Olivia finished the (standalone) text annotation widget prototype.
Next step will be the widget integration into the OpenAtlas application as form element.
Last step will be the transformation of the text delivered by the widget for the database and the other way round.

Sample output:

<p>Die vergleichende <mark meta="{"id":"1","description":""}">Märchenforschung</mark> wurde von den <mark meta="{"id":"2","description":"my description"}">begründet</mark> und von

My updated list for the backend integration:

Transformation - in both directions
  • Replace
    • Line breaks
    • Opening and closing paragraph tags
    • Transformed HTML characters, e.g. <>
  • Extract/add mark tags
Implementation
  • Prevent submit without link or text (also for image annotation)
  • What about deleted entities of annotations (text and image) that have no text?
  • Join annotation functions?
  • Enable text annotation for other source texts
Actions #12

Updated by Alexander Watzinger about 1 year ago

The text annotation widget from Olivia was integrated into OpenAtlas.

Updated to do list:

Transformation - in both directions
  • Replace
    • Line breaks
    • Opening and closing paragraph tags
    • Transformed HTML characters, e.g. <>
  • Extract/add mark tags
Implementation
  • Prevent submit without link or text (also for image annotation)
  • What about deleted entities of annotations (text and image) that have no text?
  • Join annotation functions?
  • Enable text annotation for other source texts
Widget
  • Remove CDNs
  • Show names in entity selection
  • Refine layout
Actions #13

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)
Actions #14

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

The integrated widget is now merged into the develop branch and can now be tested at the development demo, see: https://demo-dev.openatlas.eu/entity/221463

Actions #15

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

A new version with some fixes is available in develop and at online demo
For a better overview I keep an issue list in the description, also for the widget, until the release. The remaining issues at release will get their own tickets after the release.

Actions #16

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)
Actions #17

Updated by Alexander Watzinger about 1 year ago

  • Precedes Feature #2434: API: Text annotation for presentation view added
Actions #18

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

Annotations are now available for source texts too. Already in develop and on demo-dev.

Actions #19

Updated by Alexander Watzinger about 1 year ago

  • Start date changed from 2023-09-25 to 2024-12-23
  • Follows Bug #2437: Text annotation: widget line break bug added
Actions #20

Updated by Alexander Watzinger about 1 year ago

  • Precedes Feature #2438: Text annotation: also provide unlinked entities added
Actions #21

Updated by Alexander Watzinger about 1 year ago

  • Precedes Feature #2439: Text annotation: widget translations added
Actions #22

Updated by Alexander Watzinger about 1 year ago

  • Follows deleted (Bug #2437: Text annotation: widget line break bug)
Actions #23

Updated by Alexander Watzinger about 1 year ago

  • Precedes Bug #2437: Text annotation: widget line break bug added
Actions #24

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

Moved some remaining tasks to own issues for later implementation.

Actions #25

Updated by Alexander Watzinger about 1 year ago

Actions #26

Updated by Alexander Watzinger about 1 year ago

Actions #27

Updated by Alexander Watzinger about 1 year ago

  • Description updated (diff)

The last remaining issues are solved or got an own issue. Only thing remaining will be more testing and writing a manual entry.
So the first (experimental) version of text annotation looks good to be part of the New Years release.

Actions #28

Updated by Alexander Watzinger about 1 year ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF