Skip to content

Global lemmatizer

The lemmatizer is the tool that turns occurrences into attestations. It is where a token in a text acquires its lexical or onomastic entry, and therefore where the Lexicon and the Named entities register are actually built.

It depends on the type of account, not on a module permission

The lemmatizer is open to Advanced users and Administrators only. An account holding permission to edit named entities but without editorial status cannot open it — this is the most frequent reason for "I have the rights and it still refuses me".

Global lemmatizer

Global lemmatizer


1. Five sets of tokens, one tab each

Each tab is a filter on the class of the token, and each writes to its own target:

Tab Tokens it lists Assigns
Lemmata tokens with no class, plus TOP and WN a LAD entry; the related eBL lemma follows by itself
Personal Names (PN/PNF) PN, PNF a name form
Divine Names (DN) DN a name form
Geographic Names (GN) GN a name form
Month Names (MN) MN a name form

A sixth tab, Lemmata (eBL, deprecated), greyed out, lists the same tokens as Lemmata and assigns an eBL lemma directly. It is kept for checks: LAD is the reference (why), and an eBL lemma chosen there brings its LAD entry only when the relation between the two is unambiguous.

In Lemmata a form counts as still to do when it has no LAD entry. That includes the occurrences of an eBL lemma that LAD divides in two (eBL ṣēru: LAD "back" and "steppe"): they already have the eBL lemma, and the choice between the two LAD entries is yours.

The tabs are not a preference: they are the two planes of the model made operational. A token appears in exactly one of them, and cannot be assigned an entry from the other side.

If a word is in the wrong tab, the transliteration is what needs fixing

The class comes from the marker prefixes written in the transliteration. A personal name that was never marked will show up among the ordinary words and will never reach the onomastic tabs. Correct the marker in Edit tablet, then come back.


2. The working cycle

  1. Search a written form. The query is normalised exactly as in the search engine: you may type sz for š, h for ḫ, digits for indices.
  2. Read the groups. Occurrences come back grouped by written form, across the whole corpus — every tablet in which that spelling occurs, not one text at a time. This is the point of the tool: an editorial decision taken once is applied to the corpus.
  3. Restrict by site if you are working on a single archive.
  4. Select the occurrences that share one interpretation. This is the editorial act, and it is deliberately manual — see §3.
  5. Choose the entry from the dictionary field and submit. Every selected occurrence receives it in a single operation.

By default the list shows only occurrences that have not yet been assigned. Tick include already lemmatized occurrences to see the assigned ones as well: that is how you revise an earlier decision, or reassign a form that was attached to the wrong entry.

Working cycle

Global lemmatizer


3. Three things the tool does not do

It does not create entries. The lemmatizer assigns existing ones, and what to do when the entry you need is missing depends on which plane you are working in:

  • a name form is created here, with New Named Entity — create it, then come back;
  • a lexical entry is not created at all. The lexicon comes from LAD and eBL (why). Check the headword in LAD: if it is there and missing from DAPCA, it is an alignment problem; if it is missing there too, that is where it should be reported. Creating it locally is discouraged and, as things stand, not properly set up.

Grouping by written form is not analysis. Two occurrences of the same spelling may require different entries: the same graphic sequence can be a lexeme in one line and a proper name in another, and homographic lexemes are common. The grouping saves you the labour of finding the occurrences; deciding which of them belong together is your statement, which is why the selection is not pre-ticked.

It does not touch the text. Assigning an entry does not modify the transliteration, and correcting the transliteration afterwards does not update the assignment (nothing propagates backwards).


4. FK audit / cleanup

/lemmatizer/fk-audit — Administrators only.

A maintenance report over assignments that are inconsistent with the class of the token they sit on. Such rows exist for historical reasons: past defects in the token-splitting code, and automatic linking applied to tokens with no written form. The page lists them in three disjoint categories:

Category What it finds
Empty notation with an assignment tokens with no written form that nevertheless carry an entry — breaks and empty tokens, which cannot legitimately have one
Lexical lemma on a name token a token classified as a proper name carrying a lexical entry
Name form on a non-name token a token that is not classified as a name carrying an onomastic entry

Cleanup

Global lemmatizer

Read it as a report, not as a to-do list

The page opens as a read-only report, and this is deliberate: the mismatch categories mix genuine artefacts with legitimate editorial decisions. A logographic writing such as KA₂ classified as a geographic name but linked to the lexeme bābu, or DUMU linked to māru, is a considered choice, not a defect.

Each row links to the token in the editing view. Reviewing them one at a time is the normal procedure; applying a category in bulk is the exception, and it is irreversible from within the page.

A detached token is not lost: it keeps its class and reappears in the appropriate tab of the lemmatizer, to be reassigned.


5. One token from the tablet view

The lemmatizer works on forms across the corpus; sometimes one occurrence needs its own decision. In the tablet view, click the word: the word-level panel opens, and for editorial accounts the pencil beside Lemma Information opens Lemmatize token.

The page shows the token in its line, its current LAD entry and eBL lemma, and a field to choose the LAD entry. Before you save, it shows the eBL lemma that will be linked with that entry: if there are several, you pick one; if there is none, the token gets the LAD entry alone (LAD only). Remove clears the assignment. After saving you are taken back to the tablet.

The page respects your account's perimeter, and it is for lexical tokens only: on a name, the pencil opens the editor of named entities instead.


6. eBL ↔ LAD relations

eBL ↔ LAD relations (menu of the lemmatizer) — editorial accounts.

The page where the relation between the two dictionaries is reviewed. Each row is a pair — an eBL lemma and a LAD entry — with its status:

Status Meaning
ok the right pair: an occurrence with one of the two receives the other
proposed to review; the note says why (the glosses disagree, the headwords differ, eBL lumps a derived form, candidate found by headword)
rejected the wrong pair; never proposed again

The list opens on the proposed rows, ordered by how often the eBL lemma is attested in the corpus, and can be filtered by note, origin, use in the corpus, or a search. Each choice in a menu shows how many rows it holds: one number, or subtotal / total when the other filters narrow it (meaning differs (4 / 840): 4 under the current filters, 840 in all). For each row you can confirm it, reject it, put it back in the queue, or change one side: relate the eBL lemma to another LAD entry (or the reverse), either replacing the row — which is then rejected — or adding a second pair. The also column shows the other pairs of the same lemma and of the same entry.

A decision taken here is recorded with your name and is never overwritten by a later update from LAD. Confirming a pair fills, at once, the LAD entry of the occurrences that have that eBL lemma and no LAD entry yet.

After an update from LAD two queues, chosen from the first menu of the filters (LAD entry deleted, LAD entry changed), show what needs a look. Nothing is ever removed or re-linked automatically:

  • LAD entry deleted — LAD deletes entries from time to time and names no successor. The entry stays here, with its relations and occurrences, marked deleted; if a live entry has the same headword it is proposed beside it;
  • LAD entry changed — confirmed pairs whose LAD entry was revised; the row shows what it was, and the double tick confirms that the pair still holds.

A box at the top lists the occurrences still linked to a deleted LAD entry, to re-link by hand if a live entry fits.

At the top, To disambiguate lists the eBL lemmata with two or more confirmed LAD entries and their occurrences without a LAD entry: those are assigned one by one, in Lemmata or from the tablet view (§5).

Number and links

The LAD number of each row opens the entry page on this site; the icon beside it opens the entry on the LAD website.

Comments