About the grammar data
Hand-checked The grammar and sentence trees of the Hebrew Old Testament and the Greek New Testament come from MACULA (Clear Bible and Biblica, CC BY 4.0): scholars' analysis, checked by people. It is one careful reading of the grammar, shown as such.
Machine-made The Septuagint and the other Greek works have no free hand-checked grammar, so this project trained its own computer models and measured them on hand-checked Septuagint text they had never seen. Their tags are shown with a “machine-made” mark everywhere, with a dashed outline on sentence drawings, and searches say how many results are machine-tagged.
How often the machine is right
| pos | 97.6% |
| Number | 97.7% |
| Person | 97.9% |
| Mood | 92.5% |
| tense | 90.7% |
| all features | 90.9% |
| Case | 93.2% |
| Gender | 95.1% |
| all features, model alone (without the New Testament form list) | 89.9% |
| lemma (model, for texts without one) | 83.3% |
| sentence structure: right head word (UAS) | 85.2% |
| sentence structure: right head and relation (LAS) | 78.1% |
The full accuracy report
# How accurate the machine-made Greek tagging is
The files in `syntax/greek-machine/` were made by computer models, not checked by a person.
They were measured on **9,102 words of hand-checked Septuagint** (the test part of
the UD Ancient Greek PTNK treebank: chapters of Genesis and Ruth that the models never saw
while learning). Made by `tools/greek_tagger.py evaluate`.
| What | Right |
|---|---|
| Part of speech (noun, verb, article...) | 97.6% |
| Case (nominative, genitive, dative, accusative, vocative) | 93.2% |
| Number (singular, plural) | 97.7% |
| Gender | 95.1% |
| Person (I, you, he) | 97.9% |
| Mood (indicative, subjunctive, imperative, infinitive, participle...) | 92.5% |
| Tense (present, imperfect, future, aorist, perfect...) | 90.7% |
| **Every part of the parsing right** | **90.9%** |
| Sentence structure: the word each word depends on | 85.2% |
| Sentence structure: that word and the kind of link (subject, object...) | 78.1% |
| Dictionary form, for words with no lemma in `original/` (`lemma_guess`) | 83.3% |
**What this means for the reader.** About 91 words in 100 are parsed
fully right, and about 78 in 100
are placed right in the sentence diagram. Good enough to find and count patterns ("every
aorist imperative in the Psalms"), not good enough to settle the grammar of one verse. The
app must mark these results "machine-made" and let readers hide them.
**Why some "misses" are not real mistakes.** The two hand-checked sources use different
schemes, and the comparison counts some differences as misses: Greek forms that can be read
two ways (a neuter noun is spelled the same in the nominative and the accusative; *ποιῆσαι*
can be an infinitive or an optative), and a few places where the hand-checked Septuagint
sample itself looks wrong. Differences that are only naming (οὐ as adverb or particle,
ἰδού as interjection or verb, κύριος as noun or adjective) are not counted as misses.
So the true accuracy is somewhat higher than the table, but the table is the honest,
measured floor.
**A second, informal check.** Claude (the AI that built this) read the tags of three random
verses each from Isaiah, 1 Maccabees and 1 Clement (about 240 words, none of them in the
training data) and judged about 11 of them wrong or doubtful: mostly rarer verb forms (an
aorist passive subjunctive read as a future, a pluperfect missed) and a few nouns tagged as
adjectives. 1 Clement fared worse than the two Septuagint books. Words printed in capitals
at the start of a book (Swete prints them without accents) are the weakest.
**How it was made.** Two small models (spaCy 3.8.18):
1. A parsing tagger trained on the hand-checked MACULA Greek New Testament (137,741 words,
CC BY 4.0). It writes the same parsing codes as the New Testament (`V-AAI-3S`). When a
word form also occurs in the New Testament, it may only choose one of the parsings that
form has there.
2. A sentence-structure parser trained on the hand-checked Septuagint treebank UD Ancient
Greek PTNK (Genesis and Ruth, CC BY-SA 4.0). It draws word-to-word (dependency) trees with
Universal Dependencies relation names.
The Septuagint is older Koine than the New Testament and translates Hebrew closely, and the
Apostolic Fathers and other works are later; accuracy on those may differ a little from the
Septuagint figures above.
**How to improve it later.** More hand-checked Septuagint (the PTNK project is growing);
readers' corrections collected in the app and fed back; a larger model on a computer with
more power.