Skip to content

Annotate text

/tablet/<id>/annotate — Advanced users and Administrators only.

An annotation in DAPCA is always anchored to a stretch of text: you select one or more tokens in the left column and the annotation is attached to exactly those occurrences, not to a line number or a page. That is what allows the reading view to highlight the passage an observation refers to, and the translation to align with the transliteration rather than sit beside it.

Annotation interphace

document main sample


1. Making an annotation

  1. Select the words in the text. The selection is by token, so it snaps to word boundaries; it may run across lines.
  2. Token selection can also be non-contiguous. This means you can select a portion of text and then click on other words, even ones that are far apart.
  3. The order of selection matters. For example, when marking kinship relations, the child must be selected before the parent (PN1 DUMU PN2) — otherwise the relationship would be reversed.
  4. Choose the type in the form on the right. The form changes accordingly — each type asks only for the fields it needs.
  5. Fill in and submit. The annotated stretch is marked in the text.

To revise an annotation, open it from the Translation or Notes tab.

Reset button clears the form without saving.

2. The five types

Type What it records Fields it asks for
Translation The English rendering of the selected passage structure, translation, comment, reference
Alternative reading A different reading of the same signs notation, translation, comment, reference
Simple annotation A philological or historical observation comment, reference
Editorial notes A working note for internal use — not part of the published edition comment, reference
Alternative hierarchy A different structural division of the text structure, comment

Two notes on the fields:

  • Alternative reading takes the reading in diplomatic notation. Use // to mark a line boundary inside it.
  • Every type except Alternative hierarchy can carry a bibliographic reference with page range, taken from the project bibliography. An observation that comes from the literature should carry it: it is what distinguishes an editorial decision from a citation.

Editorial notes are not shown to the public

Use this type for working remarks — things to check, doubts, reminders. Visitors who are not logged in (and reader accounts) never see them, neither in the tablet view nor in the cross-references of the entities they cite; registered project members do. Everything else is part of the edition and is displayed to readers.

3. Writing a translation

Choosing the type Translation adds a set of helpers around the translation box. None of them writes anything on its own: every change to the text waits for a click or a key.

Names

Proper names in a translation are not plain text: each one is a tag that points to its entity in the onomasticon, so that the English rendering stays tied to the person, god or place it names.

Typing & followed by two or more characters opens a list of normalised forms, from every class (personal, divine, geographic, month names), each with its class beside it — which is what tells a personal name from a homophonous place name. You may type in ASCII: &Ahi finds Aḫī-Dagān. Restrict suggestions to the selected tokens narrows the list to the entities actually attested in the passage you selected.

The tag always shows the entity's current form: if the normalised form is later corrected in the onomasticon, the translation follows.

& is for names, @ for the bibliography

@ cites a work from the project bibliography: it is not a name marker.

Names in the selection

Below the box, one chip for each named entity in the selected tokens, in text order and in the colour of its class. A name that occurs more than once has one chip with ×N; a ✓ marks the names already in the translation.

  • Click a chip, or press Alt+1…9, to insert the name at the cursor. If some text is selected in the box, the name replaces it: double-click Dagan-talih, then Alt+3.
  • A grey chip with a warning is a token marked as a name but not linked to any entity: a lemmatisation gap to fix in the lemmatizer, not in the translation.

Pasting and recognising names

When you paste a translation, the square brackets are removed and their content kept (the [field] of [X] becomes the field of X). The names in the pasted text are then matched against the entities of the selection and shown in a preview: unambiguous matches are ticked, ambiguous ones never are. Enter applies the ticked replacements, Esc leaves the text as it was pasted.

Recognize names runs the same check on the whole text — useful for older translations written before names were tagged.

Lemmata in the selection

Under the names, one chip for each dictionary (LAD) lemma of the selected tokens. Hovering a chip shows the lemma and its meaning; clicking inserts the lemma in italics, linked to its LAD entry, without the homonym number (asû I is inserted as asû). Use it for terms left untranslated, such as ḫuḫinnu or iku.

Witnesses and seals

Select a witness list or a seal area and press Witnesses / seals: DAPCA proposes the formulaic English — Witness: X, son of Y; Witness: Z, scribe — with the names already tagged. It works from the lemmata, not the spelling (IGI and ši-bu both open a witness):

  • the father comes from the recorded family relations (see Mark genealogies) or, failing that, from DUMU + name in the text, with a warning;
  • after a name, ŠEŠ-šu gives his brother, ŠEŠ-šu-ma also his brother, DUMU-šu his son;
  • whatever is not recognised stays between [ ], with a warning, for you to translate.

Enter inserts the proposal at the cursor and sets the status to Proposal validated; Esc discards it.

Check on saving

On saving, the names are checked once more. The warning does not block anything — Save anyway saves — but it lists:

  • names of the selection not cited in the translation;
  • names cited in the translation but not among the selected tokens (legitimate, e.g. a name restored in a gap — it only asks you to confirm);
  • name tokens not linked to an entity;
  • a source other than DAPCA translation without a reference.

Readable view

In the box, tags are displayed as labels with the name only. Double-click a label to see and edit the underlying tag; Show markup switches to the raw text. What is saved is the same in both views.

Source and reference

  • Source: DAPCA translation (made by the project), Adapted from or Quoted from a published translation; Status: Human, Proposal validated, Proposal corrected, Draft, not reviewed.
  • Reference: the editions and studies already linked to the tablet appear as chips — one click fills the reference. A source chosen from the full bibliography below that is not yet linked to the tablet is linked to it on saving.

4. The Translation and Notes tabs

The two tabs beside the form list what already exists on this tablet: Translation gathers the translation annotations, Notes the alternative readings, observations and editorial notes. A tab that is greyed out simply means there is nothing of that kind yet.

Both panes scroll in step with the text: the annotation you are reading and the passage it belongs to stay side by side.

5. The backup file

Every change to the annotations rewrites a backup file for the tablet, <id>_annotations.json, kept on the server. It holds the annotations together with the list of lemmata and name forms attached to the text.

This file is not a convenience: it is the only record that survives the deletion of a tablet, and it is read back when the text is re-imported — see Adding a new tablet. It is written after every annotation is saved, so it is always current with respect to this layer.

Lemma assignments are not written to the file at every click

Attaching lemmata is a high-frequency operation in the Lemmatizer, and the file is not rewritten each time. It is brought up to date whenever an annotation is saved, and always immediately before a tablet is deleted — which is the moment that matters.

Comments