How the name spans of an imported public-domain work are placed. A span has a
committed rule that produced it; this file is that rule.
## Why
-`pd-annotation-model-then-attest`: a labelled model places the spans of a
public-domain work; the operator may attest them afterwards.
-`leak-owned-by-flow-and-scorer-3`: spans are fixed with the text at intake and
written by no loop writer. The offsets are derived from markup the annotator
writes, never typed by a model (inline marking, as in GPT-NER, Wang et al.
2023); `CorpusStore::add` judges range, grapheme boundary, form equality and
overlap.
The work file (`weksa corpus import <work>`) is a transcription of a work in
hand: provenance, cast forms, lines, scene groups and the speaker each speech
prefix names. It holds no distributor header, licence or trademark text, and the
binary fetches nothing.
## Rubric r1
You are given a work's cast: each member's entity id and the forms the work spells that member with. For each numbered line, copy the line exactly, character for character, and wrap each place where the line names a cast member by one of that member's listed forms as [[<entity id>|<form>]]. Mark a form only where it refers to that cast member; a listed form used as an ordinary word, or naming someone else, stays unmarked. Do not mark pronouns, titles or descriptions unless the exact text is a listed form. When a form is listed for two members, mark the one the line refers to; when you cannot tell, leave it unmarked. Answer one JSON line per input line, in the order given, and nothing else: {"line": N, "marked": "..."}.
## Procedure
- One fresh model agent per work. Its brief is rubric r1, the cast as
`<entity id>: <form>, <form>` lines and the work's lines as `<n><TAB><text>`;
nothing else (no store, no loop, no other answer).
- Import with `--model-family` and `--generator '<annotator model id> (name-span
rubric r1, docs/name-span-annotation.md)'`. An operator-written or
operator-reviewed answer imports with `--operator`.