PolytonicGreek.jl

Rigorously defined orthographies for text in polytonic ancient Greek.

The PolytonicGreek package supports working with accented ancient Greek encoded in Unicode.

An abstract interface

GreekOrthography is an abstract type for functions that understand the phonology of ancient Greek as it is represented in specific orthographic systems, and can therefore:

  • sort Unicode Greek strings by the logic of the Greek alphabet
  • syllabify Greek strings
  • work with accents, including correct placement for recessive and persistent accent patterns, respecting morpheme boundaries in compound verbs
  • support reduplication and augment (both temporal and syllabic) of verbal stems
  • concatenate strings in a specified orthography with appropriate phonological adjustments, optionally including elision
  • implement the OrthographicSystem interface (from the HCMID Orthography package), with semantic tokenization of text in polytonic Greek

Concrete implementations

This package includes PolytonicGreek, an implementation of the GreekOrthography type for literary Greek as it appears in standard printed editions.

Other implementations are possible. Examples are:

  • ManuscriptOrthography (from the Homer Multitext project) for working with the orthography of polytonic Greek in medieval manuscripts
  • AtticGreek, an implementation for the epichoric alphabet used in Athens before 403 BCE

String manipulation

The OrthographicSystem interface