AI, Digital Archives and Digital Humanities
AI can now read historical documents (OCR of handwritten and printed text), transcribe recordings, and extract people, places and dates. For digital archives and the humanities, the question is how to publish the results so that they can be checked, cited and reused, and how to keep the work affordable for small projects. My recent work brings what I have learned from IIIF, TEI and digital preservation into one platform.
ArchiveBase
ArchiveBase is a hosting platform for publishing and running digital archives and libraries. One installation hosts many projects, each with IIIF images, transcribed texts in TEI/XML, full-text search and a DTS API. Everything can be registered through a REST API with an API key, so a library can be filled from the command line, or by an AI agent, without an admin screen. One example is the Historical Audio search, which makes recordings from the NDL’s Rekion collection searchable through Whisper transcripts linked to IIIF.
KotenOCR
KotenOCR is an app that turns photos of classical Japanese books, written in cursive kuzushiji, and of printed texts from the Meiji period onward into text. It uses the OCR models of the National Diet Library (NDL Koten OCR-Lite and NDL OCR-Lite), and all reading happens on the device, so images never leave it. It is available for iPhone and iPad; an Android version is in testing.
Local OCR
Local OCR reads text from images on your own computer (macOS and Windows) or iPhone. It offers several OCR engines (kuzushiji, modern Japanese and multilingual print) with downloadable models, takes images from IIIF, and writes the results as TEI/XML, so that they can go straight into the TEI tools above (GitHub).
Digital Literary Map of Japan (experimental)
The Digital Literary Map — Experimental is a set of experimental tools for the Digital Literary Map of Japan: placing literary works and materials on a map, and searching them with AI through retrieval-augmented generation (RAG), which answers questions from the project’s own documents and cites them.