aegean.scripts.linearb¶
linearb ¶
Linear B script plugin.
load_damos ¶
Load the DAMOS Linear B corpus as a Corpus (opt-in, fetched).
Fetches the damos-corpus release asset (a few MB JSON; sha256-pinned;
CC BY-NC-SA 4.0 — the NonCommercial obligation passes to you) on first
use, then loads offline from the cache. One Document per tablet, carrying
the DAMOS transliteration (verbatim in transcription) tokenised into
words / numerals / logograms, with the site, chronology, scribal hand
(meta.scribe, e.g. "117"), find context (meta.findspot), and
object class (meta.support: tablet / stirrup jar / nodule / label) in
the metadata — so corpus.filter(scribe="117") and scribal-hand keyness
work directly. Cite DAMOS in academic work (see NOTICE).
load_epidoc_corpus ¶
load_epidoc_corpus(source: str | Path) -> Corpus
Load a user-supplied EpiDoc Linear B corpus into a Corpus.
parse_epidoc ¶
parse_epidoc(source: str | Path) -> list[Document]
Parse a DAMOS-style EpiDoc file, or a directory of them, into Documents.
gloss ¶
A short English gloss for a Linear B word, or None if it is not in the lexicon.
greek_reading ¶
The Classical Greek (lemma, gloss) for a transliterated Linear B word, or None.
With the LSJ backend active (aegean.greek.use_lsj), pass the returned lemma to
aegean.greek.lookup for the full entry.
word_to_phonetic ¶
Convert a hyphenated Linear B word to its phonetic Latin form.
Unknown signs fall through lowercased. overrides lets a researcher test alternative
sign values.