Urdatorn commited on
Commit
32f2098
·
verified ·
1 Parent(s): 3a13cfd

Makron seed 1 vs silver over the OGA corpus; judged ἂν samples

Browse files
analysis/makron_oga.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Makron seed 1 over the silver corpus: where it changes vowel lengths
2
+
3
+ Model: `runs/final-v2/seed1/best` (= `Urdatorn/Makron-seed1`, best on Norma validation).
4
+ Data: `Urdatorn/oga-macronized-no-norma` @ 5d737f8, 2,096,720 sentences.
5
+ Input: each silver sentence with `^`/`_` stripped. Job 5722762 (`slurm/makron_oga.slurm`,
6
+ `analysis/makron_oga.py`, log `logs/makron-oga-5722762.out`), 7 min on one GH200.
7
+ Full outputs (581 MB, not uploaded): `oga-macronized-2026-11/makron-seed1-5d737f8/` on flash.
8
+
9
+ ## 1. Corpus-level comparison with silver
10
+
11
+ Every sentence aligned letter for letter with its silver version (0 misaligned).
12
+ Counts are per dichronon (`analysis/makron_oga_summary.json`):
13
+
14
+ | silver → Makron | vowels |
15
+ |---|---:|
16
+ | short = short | 12,991,073 |
17
+ | long = long | 1,796,034 |
18
+ | **long → short** | **28,334** |
19
+ | **short → long** | **9,605** |
20
+ | silver mark, Makron no mark ("drop") | 62,997 |
21
+ | silver unmarked → Makron short | 6,490,643 |
22
+ | silver unmarked → Makron long | 693,933 |
23
+
24
+ - The real length changes (flips) are 37,939 of 14.89M silver-marked vowels (0.25%).
25
+ - Makron marks every eligible dichronon, so the 7.18M vowels the rule-based system left
26
+ unmarked are all filled.
27
+ - The drops are not length changes but silver marks on positions Makron's tokenizer cannot
28
+ mark:
29
+
30
+ | silver mark on | count |
31
+ |---|---:|
32
+ | ω | 16.4k |
33
+ | ο | 8.0k |
34
+ | ε | 4.8k |
35
+ | other characters | 14.6k |
36
+ | circumflexed α/ι/υ | 12.2k |
37
+ | α/ι/υ treated as part of a diphthong, or as a bare capital | 7.1k |
38
+
39
+ The most frequent forms are `σῶ^μα^`, `δι^ό^τι^`, `δέ^κα^`, `μι^ᾶ_ς`, `Ι^σρα_ηλ` and
40
+ `Δα^υί_δ`. This points to a mark-placement bug in grc-macronizer.
41
+ - The 60 most frequent changed forms are in `analysis/makron_oga_changed_forms_top60.tsv`.
42
+ - The last 100k rows (2.0M–2.1M) change 4.0% of their silver marks, against 0.6–1.0%
43
+ elsewhere. Which works these rows belong to has not been looked into.
44
+
45
+ ## 2. Case study: ἂν/ἄν
46
+
47
+ Silver marks 125,972 tokens of ἂν/ἄν. The table splits them by whether the preceding token
48
+ is a stray `κ` (the crasis κἄν printed as two tokens):
49
+
50
+ | preceded by | silver short, Makron short | short → long | long → short | silver long, Makron long |
51
+ |---|---:|---:|---:|---:|
52
+ | other | 83,161 | 1,389 | 2,360 | 26,684 |
53
+ | `κ` | 4,234 | 423 | 349 | 7,372 |
54
+
55
+ ### Judged random samples (50 per direction)
56
+
57
+ Two random samples were drawn:
58
+
59
+ - **short → long:** 50 flips of `ἂ^ν` → `ἂ_ν`, from a pool of 1,485, preceding token
60
+ unrestricted.
61
+ - **long → short:** 50 flips with no `κ` before them, from a pool of 2,360.
62
+
63
+ Each case was judged by hand from the mood of its verb, the construction and the sense. ἄν
64
+ as the modal particle has a short vowel; ἄν contracted from ἐάν, including κἄν = καὶ ἐάν, has
65
+ a long one. All 100 judgments are in `analysis/makron_oga_an_sample_judged.tsv`, with the
66
+ row index into the HF data (file order) and a note on the reading.
67
+
68
+ | direction | Makron correct | 95% CI (Wilson) |
69
+ |---|---:|---:|
70
+ | long → short (no κ) | 46/50 (92%) | 81–97% |
71
+ | short → long, all | 14/50 (28%) | 17–42% |
72
+ | preceded by κ | 8/9 | |
73
+ | not preceded by κ | 6/41 (15%) | |
74
+
75
+ **Long → short.** In 46 of 50 cases the word is the particle:
76
+ - with the optative or potential optative (ἂν εἴη, ἂν διέλθοι);
77
+ - with past indicatives (ἂν ἦν, ἂν εἶδες);
78
+ - in μέχρις / ὅς / ὅσα / ὡς ἂν + subjunctive;
79
+ - with infinitives.
80
+
81
+ All 4 misses are ἐάν spelled ἄν with a subjunctive (ἂν δέῃ, ἂν μέμνηται, ἄν … δόξω, ἂν …
82
+ ἄγῃ).
83
+
84
+ **Short → long.** Makron is right where ἂν really is ἐάν:
85
+ - κἂν + subjunctive or "even (if)", 8 of 9. The miss is Meno 76b, κἂν … γνοίη, which is
86
+ καὶ ἄν with the optative.
87
+ - ἐάν + subjunctive, 6 cases.
88
+
89
+ The remaining 35 are the ordinary particle and are errors. This includes one apocopated ἀνά
90
+ (ἂν δ' ἄρ' ἔβη), which is also short.
91
+
92
+ Makron has learned the cues for ἐάν (a preceding κ, a following subjunctive) and
93
+ over-applies them to the particle, especially in ἄν + subjunctive relative and temporal
94
+ clauses.
95
+
96
+ ### Net effect on ἂν (mixed accuracy, Makron vs silver)
97
+
98
+ Where the two systems agree, both are right or both are wrong, so the difference in
99
+ accuracy comes only from the flips. Each cell's net gain for Makron is n · (2p − 1), where
100
+ p is the share Makron got right in the sample:
101
+
102
+ | cell | n | p | net tokens |
103
+ |---|---:|---:|---:|
104
+ | long → short, no κ | 2,360 | 46/50 | +1,982 |
105
+ | short → long, no κ | 1,389 | 6/41 | −983 |
106
+ | short → long, κ | 423 | 8/9 | +329 |
107
+ | long → short, κ | 349 | not sampled | ±349 |
108
+ | **total** | | | **≈ +1,330** |
109
+
110
+ - **Point estimate:** about +1.05 pp in mixed accuracy over the 125,972 silver-marked ἂν
111
+ tokens, i.e. +1,330 / 125,972. The unsampled cell alone moves this between +0.8 and
112
+ +1.3 pp.
113
+ - **Range:** taking every CI at its unfavourable end gives ≈ 0 pp, and at its favourable
114
+ end +1.9 pp. That is very conservative.
115
+ - **Not measured:** the absolute accuracy of either system on ἂν, because the 110k tokens
116
+ where they agree were not audited.
117
+ - **Caveats:**
118
+ - The short → long sample covers only the grave spelling `ἂ^ν` → `ἂ_ν`, and its non-κ
119
+ rate is applied to the 1,389 non-κ flips of both spellings.
120
+ - The judgments come from a single annotator.
121
+ - **To tighten the estimate:** judge a sample of the κ long → short cell, and enlarge the
122
+ two large samples.
analysis/makron_oga_an_sample_judged.tsv ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sample row kappa_before makron_correct reading
2
+ short_to_long 221462 no no potential optative (αὐτοί τ' ἂν διαγάγοιεν)
3
+ short_to_long 329519 yes yes κἂν = καὶ ἐάν + subj.
4
+ short_to_long 358617 no no unreal aorist
5
+ short_to_long 633809 no no ὅσῳπερ ἂν + subj.
6
+ short_to_long 1031306 no no potential optative
7
+ short_to_long 1200054 yes yes κἂν = καὶ ἐάν + subj.
8
+ short_to_long 1243555 no no ὃν ἂν + subj.
9
+ short_to_long 1303252 yes yes κἂν 'even' (καὶ ἐάν)
10
+ short_to_long 1412392 no no μέχρις ἂν + subj.
11
+ short_to_long 1672750 no no οὐκ ἂν εἴη
12
+ short_to_long 190451 no no ἂν + inf. (δεῆσαι)
13
+ short_to_long 221462 no no ἂν + ptc. (οὐδενὸς ἂν ἥδιον ἀκουόντων)
14
+ short_to_long 229009 no no apocopated ἀνά (ἂν δ' ἄρ' ἔβη), short
15
+ short_to_long 254160 no yes ἐάν + subj. (ἐγκαλῇ)
16
+ short_to_long 319029 yes yes κἂν ἔχω = καὶ ἐάν (1 Cor 13:2)
17
+ short_to_long 446855 no no unreal aorist (συνηυξάμην)
18
+ short_to_long 500709 no no ἃ δ' ἂν + subj.
19
+ short_to_long 507142 yes no κἂν = καὶ ἄν + opt. (γνοίη)
20
+ short_to_long 509417 no yes ἐάν + subj. (σωφρονῶμεν)
21
+ short_to_long 523143 no no γίγνοιτ' ἂν
22
+ short_to_long 535995 no no unreal aorist (ἑάλωμεν)
23
+ short_to_long 536838 no yes ἐάν + subj. (οἴῃ)
24
+ short_to_long 544963 yes yes κἂν 'even' (καὶ ἐάν)
25
+ short_to_long 551849 no no ἂν τύχοι
26
+ short_to_long 601022 no yes ἐάν + subj. (ᾖ)
27
+ short_to_long 649266 no no ἂν + ptc. (δοκῶν)
28
+ short_to_long 770772 no no ἂν + inf. (ποιῆσαι)
29
+ short_to_long 834448 no no οὗ ἂν ἦν
30
+ short_to_long 897436 no yes ἐάν + subj. (δοκῶ)
31
+ short_to_long 917082 no no ᾗ ἂν + subj.
32
+ short_to_long 982384 no no οἷσιν ἂν
33
+ short_to_long 1001928 no no τίνα ἂν ἡγήσω
34
+ short_to_long 1084767 no no ἂν + inf.
35
+ short_to_long 1141080 no no ἂν βαίη
36
+ short_to_long 1152959 no yes ἐάν + subj. (θέλωμεν)
37
+ short_to_long 1182356 no no ἂν γένοιτο
38
+ short_to_long 1198513 no no ἡνίκα ἂν + subj.
39
+ short_to_long 1231165 no no ὡς ἂν + ptc.
40
+ short_to_long 1231165 no no ὡς ἂν ὑπολάβοι
41
+ short_to_long 1250571 no no ὅς ἂν
42
+ short_to_long 1281704 no no unreal aorist (ὑψώθημεν)
43
+ short_to_long 1332206 no no ἐδίδαξεν ἂν
44
+ short_to_long 1406832 no no πρὶν ἂν
45
+ short_to_long 1406974 no no ἂν ἐδίδου
46
+ short_to_long 1441935 no no ὅπη ἂν
47
+ short_to_long 1489321 yes yes κἂν μὴ τὸ ὅλον 'even if not' (καὶ ἐάν)
48
+ short_to_long 1642570 yes yes κἂν + subj. (λέγη)
49
+ short_to_long 1694738 no no ἂν πεισθείη
50
+ short_to_long 1728892 no no ἁρμόσειεν ἄν
51
+ short_to_long 1896780 yes yes κἂν + subj. (διαστείλωμεν)
52
+ long_to_short 174455 no yes πῶς ἂν λαθοίμην
53
+ long_to_short 220157 no yes ἴδοιμεν ἂν
54
+ long_to_short 274544 no yes unreal imperfect
55
+ long_to_short 295742 no yes ἡνίκ' ἂν + subj.
56
+ long_to_short 476828 no yes ἄν καθάπτοιντο
57
+ long_to_short 507001 no yes δοκεῖ … ἂν εἶναι
58
+ long_to_short 595952 no no ἐάν + subj. (δέῃ)
59
+ long_to_short 758447 no yes ἄν τις εὕροι
60
+ long_to_short 981855 no yes οἷσι ἂν + subj.
61
+ long_to_short 1086576 no yes ἄν εἴη
62
+ long_to_short 185281 no yes ἂν εἴη
63
+ long_to_short 217682 no no ἐάν + subj. (μέμνηται)
64
+ long_to_short 246256 no yes ἂν ἰσχυρισαίμην
65
+ long_to_short 276470 no yes μέχρις ἂν
66
+ long_to_short 299312 no yes ἂν + inf. (δοῦναι)
67
+ long_to_short 382735 no yes μέχρι ἂν
68
+ long_to_short 459730 no yes ὁκοίη ἂν + subj.
69
+ long_to_short 464482 no yes δύναιτ' ἂν
70
+ long_to_short 512647 no yes ὅτου ἂν + subj.
71
+ long_to_short 525023 no yes ὅπῃπερ ἂν
72
+ long_to_short 525488 no yes ὅσαι τ' ἂν
73
+ long_to_short 526390 no no ἐάν + subj. (δόξω)
74
+ long_to_short 549642 no yes ἂν ἔχοιτε
75
+ long_to_short 637281 no yes ἂν εἴη
76
+ long_to_short 665409 no yes εὖτ' ἂν
77
+ long_to_short 754941 no yes ὅσα δ' ἂν
78
+ long_to_short 953360 no yes ἂν τυγχάνοι
79
+ long_to_short 1059367 no yes ἂν λέγοι
80
+ long_to_short 1085232 no no ἐάν + subj. (ἄγῃ)
81
+ long_to_short 1181012 no yes ἀσύμφωνος ἂν (εἴη)
82
+ long_to_short 1182469 no yes ὡς ἂν + subj.
83
+ long_to_short 1198458 no yes ἂν διέλθοι
84
+ long_to_short 1271176 no yes ἂν ἦν
85
+ long_to_short 1329635 no yes ἂν δῴη
86
+ long_to_short 1330691 no yes διδοῖτο ἄν
87
+ long_to_short 1334827 no yes ὡς ἂν + subj. (temporal)
88
+ long_to_short 1393545 no yes ἂν εἶδες
89
+ long_to_short 1393697 no yes ἠξίουν ἄν
90
+ long_to_short 1432851 no yes μέχρις ἄν
91
+ long_to_short 1481826 no yes ἔχοι ἄν
92
+ long_to_short 1527093 no yes ἀποκαταστήσειεν ἄν
93
+ long_to_short 1563750 no yes μέχρις ἄν
94
+ long_to_short 1564278 no yes ἄν εἴη
95
+ long_to_short 1590242 no yes ὡς ἄν + ptc.
96
+ long_to_short 1603264 no yes ὅ τι ἂν ᾖ
97
+ long_to_short 1644441 no yes ἂν εἴη
98
+ long_to_short 1646467 no yes ὅστις ἂν … εἴη
99
+ long_to_short 1681017 no yes ἂν εἴη
100
+ long_to_short 1765926 no yes ὃν ἂν + subj.
101
+ long_to_short 1970966 no yes ἄν τις τεκμαίροιτο
analysis/makron_oga_changed_forms_top60.tsv ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ count silver makron categories
2
+ 11877 σῶ^μα^ σῶμα^ agree_short,drop_short
3
+ 7576 δι^ό^τι^ δι^ότι^ agree_short,drop_short
4
+ 4054 δέ^κα^ δέκα^ agree_short,drop_short
5
+ 3188 μι^ᾶ_ς μι^ᾶς agree_short,drop_long
6
+ 2703 σῶ^μα^, σῶμα^, agree_short,drop_short
7
+ 2056 ἂ_ν ἂ^ν flip_long_to_short
8
+ 1632 Ι^σρα_ηλ Ισρα_ηλ agree_long,drop_short
9
+ 1475 ἂ^ν ἂ_ν flip_short_to_long
10
+ 1320 τὰ_ς τὰ^ς flip_long_to_short
11
+ 1150 σῶ^μα^. σῶμα^. agree_short,drop_short
12
+ 1015 δι^α^φορᾶ_ς δι^α^φορᾶς agree_short,drop_long
13
+ 866 Δαυι_δ Δαυιδ drop_long
14
+ 699 Ἀθηνᾶ_ς Ἀ^θηνᾶς drop_long,fill_short
15
+ 675 οὐδεμιᾶ_ς οὐδεμι^ᾶς drop_long,fill_short
16
+ 646 ἐπι_ ἐπι^ flip_long_to_short
17
+ 592 ἄ_ν ἄ^ν flip_long_to_short
18
+ 531 Ι^σρα_ηλ, Ισρα_ηλ, agree_long,drop_short
19
+ 530 ἀ^γορᾶ_ς ἀ^γορᾶς agree_short,drop_long
20
+ 486 σῶ^μα^· σῶμα^· agree_short,drop_short
21
+ 480 Δα^υὶ_δ Δαυὶδ drop_long,drop_short
22
+ 463 χα^ρᾶ_ς χα^ρᾶς agree_short,drop_long
23
+ 393 δέ^κα^, δέκα^, agree_short,drop_short
24
+ 366 Ι^σρα_ηλ. Ισρα_ηλ. agree_long,drop_short
25
+ 302 ἄ^ν ἄ_ν flip_short_to_long
26
+ 292 μετα^φορᾶ_ς μετα^φορᾶς agree_short,drop_long
27
+ 289 α_ α^ flip_long_to_short
28
+ 281 σκι^ᾶ_ς σκι^ᾶς agree_short,drop_long
29
+ 273 τὰ^ τὰ_ flip_short_to_long
30
+ 261 ἱ^ερᾶ_ς ἱ^ερᾶς agree_short,drop_long
31
+ 220 ἵ^να_ ἵ^να^ agree_short,flip_long_to_short
32
+ 214 δι^α^φορᾶ_ς, δι^α^φορᾶς, agree_short,drop_long
33
+ 213 δέ^κα^. δέκα^. agree_short,drop_short
34
+ 197 κα^τὰ^ κα^τὰ_ agree_short,flip_short_to_long
35
+ 178 παιδιᾶ_ς παιδι^ᾶς drop_long,fill_short
36
+ 162 δι^ό^τι^, δι^ότι^, agree_short,drop_short
37
+ 158 πάνταϲ^ πά^ντα^ϲ drop_short,fill_short
38
+ 157 ἄ^μα^ ἄ^μα_ agree_short,flip_short_to_long
39
+ 156 Ι^σρα_ηλ· Ισρα_ηλ· agree_long,drop_short
40
+ 153 μι^ᾶ_ς, μι^ᾶς, agree_short,drop_long
41
+ 148 Δι^ό^τι^ Δι^ότι^ agree_short,drop_short
42
+ 138 ἀ^ναιρέσει^ ἀ^ναιρέσει agree_short,drop_short
43
+ 130 πόδαϲ^ πόδα^ϲ drop_short,fill_short
44
+ 127 ἀριστερᾶ_ς ἀ^ρι^στερᾶς drop_long,fill_short
45
+ 125 Ἀθηναίοιϲ^ Ἀ^θηναίοιϲ drop_short,fill_short
46
+ 117 ψυ_χῆς ψυ^χῆς flip_long_to_short
47
+ 112 περι^φορᾶ_ς περι^φορᾶς agree_short,drop_long
48
+ 110 δέ^κα^· δέκα^· agree_short,drop_short
49
+ 110 μέγαϲ^ μέγα^ϲ drop_short,fill_short
50
+ 108 Ἀττικοῖϲ^ Ἀ^ττι^κοῖϲ drop_short,fill_short
51
+ 107 δι^α^φορᾶ_ς. δι^α^φορᾶς. agree_short,drop_long
52
+ 106 Δαυι_δ. Δαυιδ. drop_long
53
+ 103 νέα_ς νέα^ς flip_long_to_short
54
+ 100 κα^θαιρέσει^ κα^θαιρέσει agree_short,drop_short
55
+ 99 Δα^υί_δ, Δαυίδ, drop_long,drop_short
56
+ 97 σῶ^μα^; σῶμα^; agree_short,drop_short
57
+ 95 τιναϲ^ τι^να^ϲ drop_short,fill_short
58
+ 95 βιβλί^οιϲ^ βι^βλί^οιϲ agree_short,drop_short,fill_short
59
+ 94 ἄνδραϲ^ ἄ^νδρα^ϲ drop_short,fill_short
60
+ 93 ἀ^φαιρέσει^ ἀ^φαιρέσει agree_short,drop_short
analysis/makron_oga_summary.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/nobackup/proj/flash/dionysus/personal/cleland/oga-macronizer-char-code/runs/final-v2/seed1/best",
3
+ "data": "/nobackup/proj/flash/dionysus/personal/cleland/oga-macronized-2026-11/final/data",
4
+ "sentences": 2096720,
5
+ "misaligned_sentences": 0,
6
+ "counts": {
7
+ "agree_short": 12991073,
8
+ "agree_long": 1796034,
9
+ "flip_long_to_short": 28334,
10
+ "flip_short_to_long": 9605,
11
+ "fill_short": 6490643,
12
+ "fill_long": 693933,
13
+ "drop_short": 50010,
14
+ "drop_long": 12987,
15
+ "unmarked": 0
16
+ },
17
+ "silver_marked": 14888043,
18
+ "changed_of_silver_marked_pct": 0.6779668758345203,
19
+ "silver_unmarked_filled": 7184576,
20
+ "distinct_changed_forms": 23131
21
+ }