Sort pages by their number, drop repeated photos, mark uncertain words
The model now wraps words it isn't sure of in {word} or {word|other}; the
reader shows the first reading. Pages are ordered by the number on each
photo and a page photographed twice is kept once (fewer uncertain words,
then more text). meta.photos records which photo goes with which page.
New POST /images/:n/transcribe re-reads a single photo for the editor.
Seeded plays get an img/ folder on their first photo.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVRDXpoukzgMFumoJt
This commit is contained in:
parent
3f2cf95f1d
commit
ab842a1d73
8 changed files with 187 additions and 43 deletions
|
|
@ -149,7 +149,7 @@ async function loadPlay(id) {
|
|||
$("edit-link").href = `edit.html?id=${encodeURIComponent(play.id)}`;
|
||||
$("edit-link").hidden = false;
|
||||
}
|
||||
pages = parsePlay(await api(`plays/${encodeURIComponent(id)}/text`));
|
||||
pages = parsePlay(await api(`plays/${encodeURIComponent(id)}/text`), { plain: true });
|
||||
fillRoles();
|
||||
renderScript();
|
||||
save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue