← Latest papers
💬 NLP

Automatic Annotation of Ancient Greek Vowel Length

This paper introduces the first general-purpose, rule-based macronizer for Ancient Greek that automatically annotates vowel length in the dichrona letters using morphological context, and demonstrates that its output effectively trains a character-level transformer to achieve high accuracy on both verse and prose while improving downstream prosodical tasks.

Original authors: Albin Thörn Cleland, Eric Cullhed

Published 2026-08-04
📖 6 min read🧠 Deep dive

Original authors: Albin Thörn Cleland, Eric Cullhed

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery written in a code that has been lost for two thousand years. This code is Ancient Greek, a language that once gave us philosophy, drama, and the very foundations of Western science. But here's the twist: the ancient scribes who wrote these texts didn't use a full alphabet of sounds. They had a "short" and a "long" version of three specific letters—alpha, iota, and ypsilon—but they didn't write them differently on the page. It's like if English had two versions of the letter "a" (one short like in "cat," one long like in "father"), but we just wrote "a" for both. To make sense of the poetry, the grammar, and the meaning, you have to figure out which "a" was intended. This isn't just a spelling bee; in Ancient Greek, getting the length wrong can change a word from a verb to a noun, or turn a question into a command. For decades, computers trying to read these texts have been stuck because they can't tell the difference. Without knowing the length, the computer is like a musician trying to play a song without knowing which notes are held long and which are short.

This is where the story of "Automatic Annotation of Ancient Greek Vowel Length" begins. The authors, Albin Thörn Cleland and Eric Cullhed, are tackling a problem called "macronizing." Think of macronizing as adding little musical marks (like a long dash or a tiny hat) above the letters to tell the computer, "Hold this sound," or "Say this quickly." The challenge is massive: there are millions of word forms, and the rule for which letter is long or short depends on a dizzying mix of factors—what the word means, how it's built, the dialect, the time period, and even the rhythm of the poem it's in. It's a "long-tail problem," meaning there are so many rare, weird cases that a simple list of rules can't cover them all. The researchers wanted to know: Can we build a computer program that does this automatically? And if we do, does it actually help computers understand Greek better?

The Detective's Toolkit: Rules and Recursion

The team started by building a "rule-based macronizer." Imagine this as a very strict, very knowledgeable librarian who has memorized thousands of grammar books and dictionaries. This librarian follows a specific set of instructions: "If the word looks like this and ends in that, the vowel must be long." If the librarian isn't 100% sure, they leave the letter blank rather than guessing.

They fed this librarian a massive library of Ancient Greek texts containing 40 million words. The librarian was surprisingly good, successfully figuring out the length for about 69% of the tricky letters. But the librarian had a weakness: they were too cautious. If a word was rare or didn't fit their perfect rulebook, they would just give up and leave it blank. They couldn't "guess" in the way a human might, using context clues to fill in the gaps.

The Student Who Learns to Guess

To fix the librarian's hesitation, the authors tried something clever. They took the librarian's work—the 69% of words the librarian was sure about—and used it as a "textbook" to train a new student: a small artificial intelligence called a "character-level transformer."

Think of the AI student as a brilliant apprentice who watches the librarian work. The apprentice learns from the librarian's correct answers but is also trained to look at the letters themselves, one by one, to spot patterns the librarian missed. The key trick here is that the apprentice was told to ignore the parts where the librarian was unsure. This prevented the apprentice from learning the librarian's doubts; instead, the apprentice learned to generalize, to look at the shape of a word and say, "I bet this one is long," even if the librarian had no rule for it.

The results were impressive. While the strict librarian covered about 70% of the letters, the AI apprentice covered nearly 99.7%. More importantly, the apprentice didn't just guess wildly; it got the right answer more often than the librarian did on the hardest cases. When tested on a gold-standard benchmark of manually checked texts, the AI achieved an accuracy of over 92%, proving that it could learn the "feel" of the language beyond just following rigid rules.

Why It Matters: Scanning the Rhythm

The researchers didn't stop at just labeling letters; they wanted to see if this new skill actually helped computers do other tasks. They tested this on "scansion," which is the art of figuring out the rhythm of a poem. In Ancient Greek poetry, the rhythm depends entirely on whether a syllable is "heavy" (long) or "light" (short).

They took a computer program designed to read poetry and gave it two versions of the same text: one with the new vowel-length marks and one without. The result? The program that got the "macronized" text was about 5.8% better at figuring out the correct rhythm. This is a significant jump in the world of computer science. It shows that teaching a computer the hidden musicality of the language helps it understand the structure of the poetry much better.

The Fine Print

Of course, this isn't a magic wand that solves everything. The authors are very clear about the limitations. Their system is currently tuned to "Attic" Greek, the dialect of Athens. If you feed it poetry from other regions or later time periods, it might get the lengths wrong because it's applying the "Attic rules" to non-Attic words. It's like a New York accent guide trying to teach someone how to speak with a Southern drawl; it might work for some words, but it will get others wrong.

Also, the AI student learned from the librarian's textbook. If the librarian made a mistake in the rules, the student learned that mistake too. The system is only as good as the rules and data it was built on. However, the authors have made their tools, their data, and their benchmark available to everyone. This means other researchers can now take this "apprentice," teach it with better textbooks, and perhaps one day crack the code for every dialect and era of Ancient Greek, turning a silent, ambiguous script into a fully audible, rhythmic language once again.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →