Diagnostics report: POS/morphology against baseline with per-work tests; dialect vs hypotactic crawl
Browse files
analysis/logs/oga-stats-v2-5717645.out
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-11-24T22:28:06+01:00] start job=5717645 host=n28 hypotactic=64a900b tsv_files=88
|
| 2 |
+
The following modules were not unloaded:
|
| 3 |
+
(Use "module --force purge" to unload all):
|
| 4 |
+
|
| 5 |
+
1) hpc_sysenv/.1 2) hpc/.2.2.0
|
| 6 |
+
scipy 1.18.1 numpy 2.5.5
|
| 7 |
+
[2026-11-24T22:28:12+01:00] unpacking traces from /nobackup/proj/flash/dionysus/personal/cleland/oga-macronized-2026-11-rerun/diagnostics-archive/diagnostics-job5715083.tar.zst
|
| 8 |
+
5685
|
| 9 |
+
[2026-11-24T22:28:24+01:00] analysis
|
| 10 |
+
hypotactic: 62,989 verse lines, 203,767 distinct 4-grams
|
| 11 |
+
membership done
|
| 12 |
+
traces 0/5685
|
| 13 |
+
traces 1000/5685
|
| 14 |
+
traces 2000/5685
|
| 15 |
+
traces 3000/5685
|
| 16 |
+
traces 4000/5685
|
| 17 |
+
traces 5000/5685
|
| 18 |
+
done
|
| 19 |
+
total 47577
|
| 20 |
+
drwxrwsr-x 2 cleland pg_dionysus 4096 Nov 24 22:29 .
|
| 21 |
+
drwxrwsr-x 5 cleland pg_dionysus 4096 Nov 24 21:13 ..
|
| 22 |
+
-rw-rw-r-- 1 cleland pg_dionysus 48280737 Nov 24 21:17 abstained_forms_hf.tsv
|
| 23 |
+
-rw-rw-r-- 1 cleland pg_dionysus 424274 Nov 24 21:17 stats.json
|
| 24 |
+
-rw-rw-r-- 1 cleland pg_dionysus 838768 Nov 24 22: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
+
"threshold": 0.15,
|
| 3 |
+
"groups": [
|
| 4 |
+
{
|
| 5 |
+
"group": "Epic",
|
| 6 |
+
"all": {
|
| 7 |
+
"works": 43,
|
| 8 |
+
"dichrona": 284464,
|
| 9 |
+
"cov": 0.8985952528263682,
|
| 10 |
+
"cov_nohyp": 0.702591540581585
|
| 11 |
+
},
|
| 12 |
+
"in_crawl": {
|
| 13 |
+
"works": 39,
|
| 14 |
+
"dichrona": 159710,
|
| 15 |
+
"cov": 0.9601339928620625,
|
| 16 |
+
"cov_nohyp": 0.74486882474485
|
| 17 |
+
},
|
| 18 |
+
"outside": {
|
| 19 |
+
"works": 4,
|
| 20 |
+
"dichrona": 124754,
|
| 21 |
+
"cov": 0.8198133927569456,
|
| 22 |
+
"cov_nohyp": 0.6484681853888452
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"group": "Doric/Aeolic lyric and bucolic",
|
| 27 |
+
"all": {
|
| 28 |
+
"works": 17,
|
| 29 |
+
"dichrona": 28642,
|
| 30 |
+
"cov": 0.9154388660009776,
|
| 31 |
+
"cov_nohyp": 0.6515955589693457
|
| 32 |
+
},
|
| 33 |
+
"in_crawl": {
|
| 34 |
+
"works": 13,
|
| 35 |
+
"dichrona": 25052,
|
| 36 |
+
"cov": 0.9450343285965193,
|
| 37 |
+
"cov_nohyp": 0.6603065623503114
|
| 38 |
+
},
|
| 39 |
+
"outside": {
|
| 40 |
+
"works": 4,
|
| 41 |
+
"dichrona": 3590,
|
| 42 |
+
"cov": 0.7089136490250696,
|
| 43 |
+
"cov_nohyp": 0.5908077994428969
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"group": "Ionic prose",
|
| 48 |
+
"all": {
|
| 49 |
+
"works": 54,
|
| 50 |
+
"dichrona": 294932,
|
| 51 |
+
"cov": 0.7560658049991185,
|
| 52 |
+
"cov_nohyp": 0.719440413383424
|
| 53 |
+
},
|
| 54 |
+
"in_crawl": null,
|
| 55 |
+
"outside": {
|
| 56 |
+
"works": 54,
|
| 57 |
+
"dichrona": 294932,
|
| 58 |
+
"cov": 0.7560658049991185,
|
| 59 |
+
"cov_nohyp": 0.719440413383424
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"group": "Attic drama",
|
| 64 |
+
"all": {
|
| 65 |
+
"works": 46,
|
| 66 |
+
"dichrona": 176367,
|
| 67 |
+
"cov": 0.8213838189684011,
|
| 68 |
+
"cov_nohyp": 0.7528279099831601
|
| 69 |
+
},
|
| 70 |
+
"in_crawl": {
|
| 71 |
+
"works": 3,
|
| 72 |
+
"dichrona": 8675,
|
| 73 |
+
"cov": 0.9474351585014409,
|
| 74 |
+
"cov_nohyp": 0.728299711815562
|
| 75 |
+
},
|
| 76 |
+
"outside": {
|
| 77 |
+
"works": 43,
|
| 78 |
+
"dichrona": 167692,
|
| 79 |
+
"cov": 0.8148629630513083,
|
| 80 |
+
"cov_nohyp": 0.7540967965078835
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"group": "Classical Attic prose",
|
| 85 |
+
"all": {
|
| 86 |
+
"works": 260,
|
| 87 |
+
"dichrona": 1274765,
|
| 88 |
+
"cov": 0.838114476001459,
|
| 89 |
+
"cov_nohyp": 0.8195675281326362
|
| 90 |
+
},
|
| 91 |
+
"in_crawl": null,
|
| 92 |
+
"outside": {
|
| 93 |
+
"works": 260,
|
| 94 |
+
"dichrona": 1274765,
|
| 95 |
+
"cov": 0.838114476001459,
|
| 96 |
+
"cov_nohyp": 0.8195675281326362
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"group": "Koine",
|
| 101 |
+
"all": {
|
| 102 |
+
"works": 223,
|
| 103 |
+
"dichrona": 2721533,
|
| 104 |
+
"cov": 0.7742018928302541,
|
| 105 |
+
"cov_nohyp": 0.7543619717269642
|
| 106 |
+
},
|
| 107 |
+
"in_crawl": null,
|
| 108 |
+
"outside": {
|
| 109 |
+
"works": 223,
|
| 110 |
+
"dichrona": 2721533,
|
| 111 |
+
"cov": 0.7742018928302541,
|
| 112 |
+
"cov_nohyp": 0.7543619717269642
|
| 113 |
+
}
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"group": "Atticist / Imperial and late literary prose",
|
| 117 |
+
"all": {
|
| 118 |
+
"works": 494,
|
| 119 |
+
"dichrona": 3962547,
|
| 120 |
+
"cov": 0.7989555707478044,
|
| 121 |
+
"cov_nohyp": 0.7769639073050743
|
| 122 |
+
},
|
| 123 |
+
"in_crawl": null,
|
| 124 |
+
"outside": {
|
| 125 |
+
"works": 494,
|
| 126 |
+
"dichrona": 3962547,
|
| 127 |
+
"cov": 0.7989555707478044,
|
| 128 |
+
"cov_nohyp": 0.7769639073050743
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"group": "other",
|
| 133 |
+
"all": {
|
| 134 |
+
"works": 862,
|
| 135 |
+
"dichrona": 8965100,
|
| 136 |
+
"cov": 0.767244983324224,
|
| 137 |
+
"cov_nohyp": 0.7420674616010976
|
| 138 |
+
},
|
| 139 |
+
"in_crawl": {
|
| 140 |
+
"works": 16,
|
| 141 |
+
"dichrona": 47371,
|
| 142 |
+
"cov": 0.960988790610289,
|
| 143 |
+
"cov_nohyp": 0.681661776192185
|
| 144 |
+
},
|
| 145 |
+
"outside": {
|
| 146 |
+
"works": 846,
|
| 147 |
+
"dichrona": 8917729,
|
| 148 |
+
"cov": 0.7662158157082369,
|
| 149 |
+
"cov_nohyp": 0.742388336761523
|
| 150 |
+
}
|
| 151 |
+
}
|
| 152 |
+
],
|
| 153 |
+
"contrasts": [
|
| 154 |
+
{
|
| 155 |
+
"contrast": "dialectal vs Attic",
|
| 156 |
+
"measure": "cov",
|
| 157 |
+
"works": "all",
|
| 158 |
+
"n_a": 40,
|
| 159 |
+
"n_b": 158,
|
| 160 |
+
"mean_a": 0.8245776094112429,
|
| 161 |
+
"mean_b": 0.8312401688223382,
|
| 162 |
+
"diff_pp": -0.6662559411095281,
|
| 163 |
+
"t": -0.4168286980611259,
|
| 164 |
+
"p_welch": 0.6788528671919306,
|
| 165 |
+
"p_mw": 0.06273435957685035,
|
| 166 |
+
"cohens_d": -0.08660157116388383
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"contrast": "dialectal vs Attic",
|
| 170 |
+
"measure": "cov",
|
| 171 |
+
"works": "outside crawl only",
|
| 172 |
+
"n_a": 27,
|
| 173 |
+
"n_b": 155,
|
| 174 |
+
"mean_a": 0.7614336784379704,
|
| 175 |
+
"mean_b": 0.8289902635853311,
|
| 176 |
+
"diff_pp": -6.755658514736074,
|
| 177 |
+
"t": -7.761978346128449,
|
| 178 |
+
"p_welch": 2.773173967428553e-09,
|
| 179 |
+
"p_mw": 4.097173477798494e-10,
|
| 180 |
+
"cohens_d": -1.5819455315925604
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"contrast": "dialectal vs Attic",
|
| 184 |
+
"measure": "cov_nohyp",
|
| 185 |
+
"works": "all",
|
| 186 |
+
"n_a": 40,
|
| 187 |
+
"n_b": 158,
|
| 188 |
+
"mean_a": 0.718404744213361,
|
| 189 |
+
"mean_b": 0.7979030104069201,
|
| 190 |
+
"diff_pp": -7.949826619355916,
|
| 191 |
+
"t": -9.244901485235053,
|
| 192 |
+
"p_welch": 2.3499226292836655e-13,
|
| 193 |
+
"p_mw": 1.5355231519359187e-13,
|
| 194 |
+
"cohens_d": -1.6057767938077132
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"contrast": "dialectal vs Attic",
|
| 198 |
+
"measure": "cov_nohyp",
|
| 199 |
+
"works": "outside crawl only",
|
| 200 |
+
"n_a": 27,
|
| 201 |
+
"n_b": 155,
|
| 202 |
+
"mean_a": 0.718800435849016,
|
| 203 |
+
"mean_b": 0.7992486471222712,
|
| 204 |
+
"diff_pp": -8.04482112732552,
|
| 205 |
+
"t": -8.148984774778654,
|
| 206 |
+
"p_welch": 8.167917307732121e-10,
|
| 207 |
+
"p_mw": 1.0465170544605521e-10,
|
| 208 |
+
"cohens_d": -1.6520538408209182
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"contrast": "dialectal vs Koine/Atticist",
|
| 212 |
+
"measure": "cov",
|
| 213 |
+
"works": "all",
|
| 214 |
+
"n_a": 40,
|
| 215 |
+
"n_b": 417,
|
| 216 |
+
"mean_a": 0.8245776094112429,
|
| 217 |
+
"mean_b": 0.7811840817392649,
|
| 218 |
+
"diff_pp": 4.339352767197802,
|
| 219 |
+
"t": 2.7594361068274345,
|
| 220 |
+
"p_welch": 0.008630463237394824,
|
| 221 |
+
"p_mw": 0.23900061622572588,
|
| 222 |
+
"cohens_d": 0.5608626071854517
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"contrast": "dialectal vs Koine/Atticist",
|
| 226 |
+
"measure": "cov",
|
| 227 |
+
"works": "outside crawl only",
|
| 228 |
+
"n_a": 27,
|
| 229 |
+
"n_b": 417,
|
| 230 |
+
"mean_a": 0.7614336784379704,
|
| 231 |
+
"mean_b": 0.7811840817392649,
|
| 232 |
+
"diff_pp": -1.9750403301294517,
|
| 233 |
+
"t": -2.3819346156983547,
|
| 234 |
+
"p_welch": 0.023602866647585943,
|
| 235 |
+
"p_mw": 0.006157680600476438,
|
| 236 |
+
"cohens_d": -0.4411686298062557
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"contrast": "dialectal vs Koine/Atticist",
|
| 240 |
+
"measure": "cov_nohyp",
|
| 241 |
+
"works": "all",
|
| 242 |
+
"n_a": 40,
|
| 243 |
+
"n_b": 417,
|
| 244 |
+
"mean_a": 0.718404744213361,
|
| 245 |
+
"mean_b": 0.7586221508998908,
|
| 246 |
+
"diff_pp": -4.021740668652985,
|
| 247 |
+
"t": -5.047038715332314,
|
| 248 |
+
"p_welch": 6.998558406670148e-06,
|
| 249 |
+
"p_mw": 5.080496530344992e-06,
|
| 250 |
+
"cohens_d": -0.8198647623345212
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"contrast": "dialectal vs Koine/Atticist",
|
| 254 |
+
"measure": "cov_nohyp",
|
| 255 |
+
"works": "outside crawl only",
|
| 256 |
+
"n_a": 27,
|
| 257 |
+
"n_b": 417,
|
| 258 |
+
"mean_a": 0.718800435849016,
|
| 259 |
+
"mean_b": 0.7586221508998908,
|
| 260 |
+
"diff_pp": -3.982171505087484,
|
| 261 |
+
"t": -4.269467404222341,
|
| 262 |
+
"p_welch": 0.00018116236887752465,
|
| 263 |
+
"p_mw": 6.486543939922662e-05,
|
| 264 |
+
"cohens_d": -0.8214710301829171
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"contrast": "Attic vs Koine/Atticist",
|
| 268 |
+
"measure": "cov",
|
| 269 |
+
"works": "all",
|
| 270 |
+
"n_a": 158,
|
| 271 |
+
"n_b": 417,
|
| 272 |
+
"mean_a": 0.8312401688223382,
|
| 273 |
+
"mean_b": 0.7811840817392649,
|
| 274 |
+
"diff_pp": 5.00560870830733,
|
| 275 |
+
"t": 11.414561987365204,
|
| 276 |
+
"p_welch": 3.473460762719715e-25,
|
| 277 |
+
"p_mw": 3.0954412513740763e-27,
|
| 278 |
+
"cohens_d": 1.0590881047934746
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"contrast": "Attic vs Koine/Atticist",
|
| 282 |
+
"measure": "cov",
|
| 283 |
+
"works": "outside crawl only",
|
| 284 |
+
"n_a": 155,
|
| 285 |
+
"n_b": 417,
|
| 286 |
+
"mean_a": 0.8289902635853311,
|
| 287 |
+
"mean_b": 0.7811840817392649,
|
| 288 |
+
"diff_pp": 4.780618184606622,
|
| 289 |
+
"t": 11.257212798408583,
|
| 290 |
+
"p_welch": 9.78834699947266e-25,
|
| 291 |
+
"p_mw": 3.4482559350402816e-26,
|
| 292 |
+
"cohens_d": 1.0381468986518985
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"contrast": "Attic vs Koine/Atticist",
|
| 296 |
+
"measure": "cov_nohyp",
|
| 297 |
+
"works": "all",
|
| 298 |
+
"n_a": 158,
|
| 299 |
+
"n_b": 417,
|
| 300 |
+
"mean_a": 0.7979030104069201,
|
| 301 |
+
"mean_b": 0.7586221508998908,
|
| 302 |
+
"diff_pp": 3.928085950702931,
|
| 303 |
+
"t": 8.280295432630707,
|
| 304 |
+
"p_welch": 5.171688301651649e-15,
|
| 305 |
+
"p_mw": 1.4749201453413163e-15,
|
| 306 |
+
"cohens_d": 0.7765813991252578
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"contrast": "Attic vs Koine/Atticist",
|
| 310 |
+
"measure": "cov_nohyp",
|
| 311 |
+
"works": "outside crawl only",
|
| 312 |
+
"n_a": 155,
|
| 313 |
+
"n_b": 417,
|
| 314 |
+
"mean_a": 0.7992486471222712,
|
| 315 |
+
"mean_b": 0.7586221508998908,
|
| 316 |
+
"diff_pp": 4.062649622238035,
|
| 317 |
+
"t": 8.560695152940285,
|
| 318 |
+
"p_welch": 8.218873950809715e-16,
|
| 319 |
+
"p_mw": 1.6032333501034885e-16,
|
| 320 |
+
"cohens_d": 0.8068808833047348
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"contrast": "Epic vs Attic",
|
| 324 |
+
"measure": "cov",
|
| 325 |
+
"works": "all",
|
| 326 |
+
"n_a": 11,
|
| 327 |
+
"n_b": 158,
|
| 328 |
+
"mean_a": 0.9389833172363186,
|
| 329 |
+
"mean_b": 0.8312401688223382,
|
| 330 |
+
"diff_pp": 10.774314841398036,
|
| 331 |
+
"t": 6.335341696923405,
|
| 332 |
+
"p_welch": 5.5151885803785466e-05,
|
| 333 |
+
"p_mw": 4.135285737411302e-06,
|
| 334 |
+
"cohens_d": 2.113576953346319
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"contrast": "Epic vs Attic",
|
| 338 |
+
"measure": "cov_nohyp",
|
| 339 |
+
"works": "all",
|
| 340 |
+
"n_a": 11,
|
| 341 |
+
"n_b": 158,
|
| 342 |
+
"mean_a": 0.7320403820902911,
|
| 343 |
+
"mean_b": 0.7979030104069201,
|
| 344 |
+
"diff_pp": -6.5862628316629035,
|
| 345 |
+
"t": -4.421470276819316,
|
| 346 |
+
"p_welch": 0.0008917810619166699,
|
| 347 |
+
"p_mw": 0.00015938008230669058,
|
| 348 |
+
"cohens_d": -1.3356993504241568
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"contrast": "Doric/Aeolic vs Attic",
|
| 352 |
+
"measure": "cov",
|
| 353 |
+
"works": "all",
|
| 354 |
+
"n_a": 5,
|
| 355 |
+
"n_b": 158,
|
| 356 |
+
"mean_a": 0.8926103230979253,
|
| 357 |
+
"mean_b": 0.8312401688223382,
|
| 358 |
+
"diff_pp": 6.137015427558712,
|
| 359 |
+
"t": 1.179137414936114,
|
| 360 |
+
"p_welch": 0.30307756299254196,
|
| 361 |
+
"p_mw": 0.02384257866810028,
|
| 362 |
+
"cohens_d": 0.6939401969854594
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"contrast": "Doric/Aeolic vs Attic",
|
| 366 |
+
"measure": "cov_nohyp",
|
| 367 |
+
"works": "all",
|
| 368 |
+
"n_a": 5,
|
| 369 |
+
"n_b": 158,
|
| 370 |
+
"mean_a": 0.6353259706237516,
|
| 371 |
+
"mean_b": 0.7979030104069201,
|
| 372 |
+
"diff_pp": -16.25770397831685,
|
| 373 |
+
"t": -9.05299721270498,
|
| 374 |
+
"p_welch": 0.000500105944075872,
|
| 375 |
+
"p_mw": 2.6628511205530486e-08,
|
| 376 |
+
"cohens_d": -3.5761930427219513
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"contrast": "Ionic prose vs Classical Attic prose",
|
| 380 |
+
"measure": "cov",
|
| 381 |
+
"works": "all",
|
| 382 |
+
"n_a": 24,
|
| 383 |
+
"n_b": 114,
|
| 384 |
+
"mean_a": 0.7579681779733575,
|
| 385 |
+
"mean_b": 0.8338894642909943,
|
| 386 |
+
"diff_pp": -7.592128631763684,
|
| 387 |
+
"t": -10.514943952618815,
|
| 388 |
+
"p_welch": 4.198352375274609e-14,
|
| 389 |
+
"p_mw": 4.684592069160332e-11,
|
| 390 |
+
"cohens_d": -2.033689657016412
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"contrast": "Ionic prose vs Classical Attic prose",
|
| 394 |
+
"measure": "cov",
|
| 395 |
+
"works": "outside crawl only",
|
| 396 |
+
"n_a": 24,
|
| 397 |
+
"n_b": 114,
|
| 398 |
+
"mean_a": 0.7579681779733575,
|
| 399 |
+
"mean_b": 0.8338894642909943,
|
| 400 |
+
"diff_pp": -7.592128631763684,
|
| 401 |
+
"t": -10.514943952618815,
|
| 402 |
+
"p_welch": 4.198352375274609e-14,
|
| 403 |
+
"p_mw": 4.684592069160332e-11,
|
| 404 |
+
"cohens_d": -2.033689657016412
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"contrast": "Ionic prose vs Classical Attic prose",
|
| 408 |
+
"measure": "cov_nohyp",
|
| 409 |
+
"works": "all",
|
| 410 |
+
"n_a": 24,
|
| 411 |
+
"n_b": 114,
|
| 412 |
+
"mean_a": 0.7294631546842699,
|
| 413 |
+
"mean_b": 0.815395572343157,
|
| 414 |
+
"diff_pp": -8.593241765888704,
|
| 415 |
+
"t": -11.330333551635304,
|
| 416 |
+
"p_welch": 3.4663577061411806e-15,
|
| 417 |
+
"p_mw": 1.6067721407386483e-11,
|
| 418 |
+
"cohens_d": -2.19654029139679
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"contrast": "Ionic prose vs Classical Attic prose",
|
| 422 |
+
"measure": "cov_nohyp",
|
| 423 |
+
"works": "outside crawl only",
|
| 424 |
+
"n_a": 24,
|
| 425 |
+
"n_b": 114,
|
| 426 |
+
"mean_a": 0.7294631546842699,
|
| 427 |
+
"mean_b": 0.815395572343157,
|
| 428 |
+
"diff_pp": -8.593241765888704,
|
| 429 |
+
"t": -11.330333551635304,
|
| 430 |
+
"p_welch": 3.4663577061411806e-15,
|
| 431 |
+
"p_mw": 1.6067721407386483e-11,
|
| 432 |
+
"cohens_d": -2.19654029139679
|
| 433 |
+
}
|
| 434 |
+
],
|
| 435 |
+
"crawl_work_list": [
|
| 436 |
+
{
|
| 437 |
+
"work": "tlg0013.tlg012.perseus-grc2",
|
| 438 |
+
"author": "Homeric Hymns",
|
| 439 |
+
"frac": 1.0,
|
| 440 |
+
"cov": 1.0,
|
| 441 |
+
"cov_nohyp": 0.7619047619047619,
|
| 442 |
+
"hyp_share": 0.23809523809523808
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"work": "tlg0013.tlg017.perseus-grc2",
|
| 446 |
+
"author": "Homeric Hymns",
|
| 447 |
+
"frac": 1.0,
|
| 448 |
+
"cov": 1.0,
|
| 449 |
+
"cov_nohyp": 0.7083333333333333,
|
| 450 |
+
"hyp_share": 0.2916666666666667
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"work": "tlg0013.tlg021.perseus-grc2",
|
| 454 |
+
"author": "Homeric Hymns",
|
| 455 |
+
"frac": 1.0,
|
| 456 |
+
"cov": 1.0,
|
| 457 |
+
"cov_nohyp": 0.7142857142857143,
|
| 458 |
+
"hyp_share": 0.2857142857142857
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"work": "tlg0013.tlg022.perseus-grc2",
|
| 462 |
+
"author": "Homeric Hymns",
|
| 463 |
+
"frac": 1.0,
|
| 464 |
+
"cov": 0.962962962962963,
|
| 465 |
+
"cov_nohyp": 0.7037037037037037,
|
| 466 |
+
"hyp_share": 0.25925925925925924
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"work": "tlg0013.tlg023.perseus-grc2",
|
| 470 |
+
"author": "Homeric Hymns",
|
| 471 |
+
"frac": 1.0,
|
| 472 |
+
"cov": 1.0,
|
| 473 |
+
"cov_nohyp": 0.7058823529411764,
|
| 474 |
+
"hyp_share": 0.29411764705882354
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"work": "tlg0013.tlg025.perseus-grc2",
|
| 478 |
+
"author": "Homeric Hymns",
|
| 479 |
+
"frac": 0.8333333333333334,
|
| 480 |
+
"cov": 0.9032258064516129,
|
| 481 |
+
"cov_nohyp": 0.7419354838709677,
|
| 482 |
+
"hyp_share": 0.16129032258064516
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"work": "tlg0001.tlg001.perseus-grc2",
|
| 486 |
+
"author": "Apollonius Rhodius",
|
| 487 |
+
"frac": 0.7490729295426453,
|
| 488 |
+
"cov": 0.9603653496445693,
|
| 489 |
+
"cov_nohyp": 0.6734584228798148,
|
| 490 |
+
"hyp_share": 0.2869069267647545
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"work": "tlg0035.tlg001.perseus-grc2",
|
| 494 |
+
"author": "Moschus",
|
| 495 |
+
"frac": 0.7241379310344828,
|
| 496 |
+
"cov": 0.9806451612903225,
|
| 497 |
+
"cov_nohyp": 0.7096774193548387,
|
| 498 |
+
"hyp_share": 0.2709677419354839
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"work": "tlg0013.tlg029.perseus-grc2",
|
| 502 |
+
"author": "Homeric Hymns",
|
| 503 |
+
"frac": 0.7142857142857143,
|
| 504 |
+
"cov": 1.0,
|
| 505 |
+
"cov_nohyp": 0.7971014492753623,
|
| 506 |
+
"hyp_share": 0.2028985507246377
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"work": "tlg4081.tlg001.perseus-grc2",
|
| 510 |
+
"author": "tlg4081",
|
| 511 |
+
"frac": 0.6683168316831684,
|
| 512 |
+
"cov": 0.9546019900497512,
|
| 513 |
+
"cov_nohyp": 0.6511194029850746,
|
| 514 |
+
"hyp_share": 0.3034825870646766
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"work": "tlg0013.tlg013.perseus-grc2",
|
| 518 |
+
"author": "Homeric Hymns",
|
| 519 |
+
"frac": 0.6666666666666666,
|
| 520 |
+
"cov": 1.0,
|
| 521 |
+
"cov_nohyp": 0.6,
|
| 522 |
+
"hyp_share": 0.4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"work": "tlg0013.tlg016.perseus-grc2",
|
| 526 |
+
"author": "Homeric Hymns",
|
| 527 |
+
"frac": 0.6666666666666666,
|
| 528 |
+
"cov": 0.9545454545454546,
|
| 529 |
+
"cov_nohyp": 0.5454545454545454,
|
| 530 |
+
"hyp_share": 0.4090909090909091
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"work": "tlg0013.tlg024.perseus-grc2",
|
| 534 |
+
"author": "Homeric Hymns",
|
| 535 |
+
"frac": 0.6666666666666666,
|
| 536 |
+
"cov": 0.9565217391304348,
|
| 537 |
+
"cov_nohyp": 0.7391304347826086,
|
| 538 |
+
"hyp_share": 0.21739130434782608
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"work": "tlg0035.tlg005.perseus-grc2",
|
| 542 |
+
"author": "Moschus",
|
| 543 |
+
"frac": 0.6666666666666666,
|
| 544 |
+
"cov": 0.9893617021276596,
|
| 545 |
+
"cov_nohyp": 0.75,
|
| 546 |
+
"hyp_share": 0.2393617021276596
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"work": "tlg0036.tlg001.perseus-grc2",
|
| 550 |
+
"author": "Bion",
|
| 551 |
+
"frac": 0.6571428571428571,
|
| 552 |
+
"cov": 0.9745596868884541,
|
| 553 |
+
"cov_nohyp": 0.7123287671232876,
|
| 554 |
+
"hyp_share": 0.2622309197651663
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"work": "tlg0035.tlg003.perseus-grc2",
|
| 558 |
+
"author": "Moschus",
|
| 559 |
+
"frac": 0.6438356164383562,
|
| 560 |
+
"cov": 0.974910394265233,
|
| 561 |
+
"cov_nohyp": 0.6254480286738351,
|
| 562 |
+
"hyp_share": 0.34946236559139787
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"work": "tlg0533.tlg020.perseus-grc3",
|
| 566 |
+
"author": "tlg0533",
|
| 567 |
+
"frac": 0.6388888888888888,
|
| 568 |
+
"cov": 0.9349030470914127,
|
| 569 |
+
"cov_nohyp": 0.6121883656509695,
|
| 570 |
+
"hyp_share": 0.32271468144044324
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"work": "tlg0005.tlg001.perseus-grc2",
|
| 574 |
+
"author": "Theocritus",
|
| 575 |
+
"frac": 0.6296743063932448,
|
| 576 |
+
"cov": 0.9490129243005255,
|
| 577 |
+
"cov_nohyp": 0.6673767930691663,
|
| 578 |
+
"hyp_share": 0.28163613123135917
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"work": "tlg0013.tlg015.perseus-grc2",
|
| 582 |
+
"author": "Homeric Hymns",
|
| 583 |
+
"frac": 0.6,
|
| 584 |
+
"cov": 0.9230769230769231,
|
| 585 |
+
"cov_nohyp": 0.7948717948717949,
|
| 586 |
+
"hyp_share": 0.1282051282051282
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"work": "tlg0035.tlg004.perseus-grc2",
|
| 590 |
+
"author": "Moschus",
|
| 591 |
+
"frac": 0.59375,
|
| 592 |
+
"cov": 0.9731404958677686,
|
| 593 |
+
"cov_nohyp": 0.7376033057851239,
|
| 594 |
+
"hyp_share": 0.23553719008264462
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"work": "tlg0533.tlg017.perseus-grc3",
|
| 598 |
+
"author": "tlg0533",
|
| 599 |
+
"frac": 0.5912408759124088,
|
| 600 |
+
"cov": 0.9508340649692713,
|
| 601 |
+
"cov_nohyp": 0.6575943810359965,
|
| 602 |
+
"hyp_share": 0.2932396839332748
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"work": "tlg0533.tlg016.perseus-grc3",
|
| 606 |
+
"author": "tlg0533",
|
| 607 |
+
"frac": 0.5753424657534246,
|
| 608 |
+
"cov": 0.9380530973451328,
|
| 609 |
+
"cov_nohyp": 0.6305309734513274,
|
| 610 |
+
"hyp_share": 0.3075221238938053
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"work": "tlg0013.tlg004.perseus-grc2",
|
| 614 |
+
"author": "Homeric Hymns",
|
| 615 |
+
"frac": 0.5662650602409639,
|
| 616 |
+
"cov": 0.9636513837257332,
|
| 617 |
+
"cov_nohyp": 0.7624948368442792,
|
| 618 |
+
"hyp_share": 0.20115654688145396
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"work": "tlg0533.tlg019.perseus-grc3",
|
| 622 |
+
"author": "tlg0533",
|
| 623 |
+
"frac": 0.547945205479452,
|
| 624 |
+
"cov": 0.9370199692780338,
|
| 625 |
+
"cov_nohyp": 0.5944700460829493,
|
| 626 |
+
"hyp_share": 0.3425499231950845
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"work": "tlg0012.tlg001.perseus-grc2",
|
| 630 |
+
"author": "Homer",
|
| 631 |
+
"frac": 0.5425481340622772,
|
| 632 |
+
"cov": 0.9546446044062198,
|
| 633 |
+
"cov_nohyp": 0.741531893677355,
|
| 634 |
+
"hyp_share": 0.21311271072886478
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"work": "tlg0653.tlg001.perseus-grc2",
|
| 638 |
+
"author": "Aratus",
|
| 639 |
+
"frac": 0.5421052631578948,
|
| 640 |
+
"cov": 0.9797412741030022,
|
| 641 |
+
"cov_nohyp": 0.732243104710764,
|
| 642 |
+
"hyp_share": 0.24749816939223823
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"work": "tlg0085.tlg002.1st1K-grc1",
|
| 646 |
+
"author": "Aeschylus",
|
| 647 |
+
"frac": 0.5262054507337526,
|
| 648 |
+
"cov": 0.9410762942779292,
|
| 649 |
+
"cov_nohyp": 0.7173024523160763,
|
| 650 |
+
"hyp_share": 0.22377384196185285
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"work": "tlg0533.tlg018.perseus-grc3",
|
| 654 |
+
"author": "tlg0533",
|
| 655 |
+
"frac": 0.5253164556962026,
|
| 656 |
+
"cov": 0.9571890145395799,
|
| 657 |
+
"cov_nohyp": 0.6623586429725363,
|
| 658 |
+
"hyp_share": 0.2948303715670436
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"work": "tlg0013.tlg003.perseus-grc2",
|
| 662 |
+
"author": "Homeric Hymns",
|
| 663 |
+
"frac": 0.5209790209790209,
|
| 664 |
+
"cov": 0.9532794249775381,
|
| 665 |
+
"cov_nohyp": 0.7628032345013477,
|
| 666 |
+
"hyp_share": 0.19047619047619047
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"work": "tlg0013.tlg005.perseus-grc2",
|
| 670 |
+
"author": "Homeric Hymns",
|
| 671 |
+
"frac": 0.5202702702702703,
|
| 672 |
+
"cov": 0.9806138933764136,
|
| 673 |
+
"cov_nohyp": 0.8247172859450727,
|
| 674 |
+
"hyp_share": 0.15589660743134087
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"work": "tlg0020.tlg001.perseus-grc2",
|
| 678 |
+
"author": "Hesiod",
|
| 679 |
+
"frac": 0.5162037037037037,
|
| 680 |
+
"cov": 0.952205033479566,
|
| 681 |
+
"cov_nohyp": 0.747864234587855,
|
| 682 |
+
"hyp_share": 0.20434079889171092
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"work": "tlg0533.tlg015.perseus-grc3",
|
| 686 |
+
"author": "tlg0533",
|
| 687 |
+
"frac": 0.5161290322580645,
|
| 688 |
+
"cov": 0.9696969696969697,
|
| 689 |
+
"cov_nohyp": 0.7249417249417249,
|
| 690 |
+
"hyp_share": 0.24475524475524477
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"work": "tlg0533.tlg004.perseus-grc2",
|
| 694 |
+
"author": "tlg0533",
|
| 695 |
+
"frac": 0.5148514851485149,
|
| 696 |
+
"cov": 0.9511978704525288,
|
| 697 |
+
"cov_nohyp": 0.6921029281277729,
|
| 698 |
+
"hyp_share": 0.259094942324756
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"work": "tlg0647.tlg001.perseus-grc2",
|
| 702 |
+
"author": "tlg0647",
|
| 703 |
+
"frac": 0.512280701754386,
|
| 704 |
+
"cov": 0.9410914347668955,
|
| 705 |
+
"cov_nohyp": 0.6696783520057825,
|
| 706 |
+
"hyp_share": 0.27141308276111314
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"work": "tlg0012.tlg002.perseus-grc2",
|
| 710 |
+
"author": "Homer",
|
| 711 |
+
"frac": 0.507356219349086,
|
| 712 |
+
"cov": 0.9664641101686128,
|
| 713 |
+
"cov_nohyp": 0.7820478254557521,
|
| 714 |
+
"hyp_share": 0.18441628471286062
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"work": "tlg0013.tlg009.perseus-grc2",
|
| 718 |
+
"author": "Homeric Hymns",
|
| 719 |
+
"frac": 0.5,
|
| 720 |
+
"cov": 0.9375,
|
| 721 |
+
"cov_nohyp": 0.75,
|
| 722 |
+
"hyp_share": 0.1875
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"work": "tlg0013.tlg010.perseus-grc2",
|
| 726 |
+
"author": "Homeric Hymns",
|
| 727 |
+
"frac": 0.5,
|
| 728 |
+
"cov": 1.0,
|
| 729 |
+
"cov_nohyp": 0.48,
|
| 730 |
+
"hyp_share": 0.52
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"work": "tlg0013.tlg011.perseus-grc2",
|
| 734 |
+
"author": "Homeric Hymns",
|
| 735 |
+
"frac": 0.5,
|
| 736 |
+
"cov": 0.9,
|
| 737 |
+
"cov_nohyp": 0.55,
|
| 738 |
+
"hyp_share": 0.35
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"work": "tlg0013.tlg020.perseus-grc2",
|
| 742 |
+
"author": "Homeric Hymns",
|
| 743 |
+
"frac": 0.5,
|
| 744 |
+
"cov": 0.9375,
|
| 745 |
+
"cov_nohyp": 0.6875,
|
| 746 |
+
"hyp_share": 0.25
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"work": "tlg0024.tlg001.perseus-grc2",
|
| 750 |
+
"author": "tlg0024",
|
| 751 |
+
"frac": 0.49440488301119023,
|
| 752 |
+
"cov": 0.9733263598326359,
|
| 753 |
+
"cov_nohyp": 0.6980125523012553,
|
| 754 |
+
"hyp_share": 0.27531380753138074
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"work": "tlg0085.tlg004.1st1K-grc1",
|
| 758 |
+
"author": "Aeschylus",
|
| 759 |
+
"frac": 0.48747591522157996,
|
| 760 |
+
"cov": 0.9514664804469274,
|
| 761 |
+
"cov_nohyp": 0.729050279329609,
|
| 762 |
+
"hyp_share": 0.22241620111731844
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"work": "tlg0023.tlg001.perseus-grc2",
|
| 766 |
+
"author": "tlg0023",
|
| 767 |
+
"frac": 0.47143840330351,
|
| 768 |
+
"cov": 0.9795551871805498,
|
| 769 |
+
"cov_nohyp": 0.7205415112584611,
|
| 770 |
+
"hyp_share": 0.2590136759220887
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"work": "tlg0036.tlg002.perseus-grc2",
|
| 774 |
+
"author": "Bion",
|
| 775 |
+
"frac": 0.47058823529411764,
|
| 776 |
+
"cov": 0.9534883720930233,
|
| 777 |
+
"cov_nohyp": 0.6395348837209303,
|
| 778 |
+
"hyp_share": 0.313953488372093
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"work": "tlg0033.tlg003.perseus-grc2",
|
| 782 |
+
"author": "Pindar",
|
| 783 |
+
"frac": 0.4651741293532338,
|
| 784 |
+
"cov": 0.9425808401329707,
|
| 785 |
+
"cov_nohyp": 0.6455122393472348,
|
| 786 |
+
"hyp_share": 0.2970686007857359
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"work": "tlg0013.tlg001.perseus-grc2",
|
| 790 |
+
"author": "Homeric Hymns",
|
| 791 |
+
"frac": 0.46153846153846156,
|
| 792 |
+
"cov": 0.9340659340659341,
|
| 793 |
+
"cov_nohyp": 0.6703296703296704,
|
| 794 |
+
"hyp_share": 0.26373626373626374
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"work": "tlg0013.tlg007.perseus-grc2",
|
| 798 |
+
"author": "Homeric Hymns",
|
| 799 |
+
"frac": 0.4523809523809524,
|
| 800 |
+
"cov": 0.96,
|
| 801 |
+
"cov_nohyp": 0.8,
|
| 802 |
+
"hyp_share": 0.16
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"work": "tlg0085.tlg003.1st1K-grc1",
|
| 806 |
+
"author": "Aeschylus",
|
| 807 |
+
"frac": 0.4520547945205479,
|
| 808 |
+
"cov": 0.9499130434782609,
|
| 809 |
+
"cov_nohyp": 0.7387826086956522,
|
| 810 |
+
"hyp_share": 0.2111304347826087
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"work": "tlg0013.tlg030.perseus-grc2",
|
| 814 |
+
"author": "Homeric Hymns",
|
| 815 |
+
"frac": 0.4444444444444444,
|
| 816 |
+
"cov": 0.9552238805970149,
|
| 817 |
+
"cov_nohyp": 0.7164179104477613,
|
| 818 |
+
"hyp_share": 0.23880597014925373
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"work": "tlg0013.tlg031.perseus-grc2",
|
| 822 |
+
"author": "Homeric Hymns",
|
| 823 |
+
"frac": 0.4444444444444444,
|
| 824 |
+
"cov": 0.9620253164556962,
|
| 825 |
+
"cov_nohyp": 0.7974683544303798,
|
| 826 |
+
"hyp_share": 0.16455696202531644
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"work": "tlg0013.tlg032.perseus-grc2",
|
| 830 |
+
"author": "Homeric Hymns",
|
| 831 |
+
"frac": 0.4444444444444444,
|
| 832 |
+
"cov": 0.8961038961038961,
|
| 833 |
+
"cov_nohyp": 0.7792207792207793,
|
| 834 |
+
"hyp_share": 0.11688311688311688
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"work": "tlg0033.tlg002.perseus-grc2",
|
| 838 |
+
"author": "Pindar",
|
| 839 |
+
"frac": 0.4436974789915966,
|
| 840 |
+
"cov": 0.9453201011870014,
|
| 841 |
+
"cov_nohyp": 0.6400077836154894,
|
| 842 |
+
"hyp_share": 0.30531231757151195
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"work": "tlg0035.tlg002.perseus-grc2",
|
| 846 |
+
"author": "Moschus",
|
| 847 |
+
"frac": 0.4431818181818182,
|
| 848 |
+
"cov": 0.9742424242424242,
|
| 849 |
+
"cov_nohyp": 0.6893939393939394,
|
| 850 |
+
"hyp_share": 0.28484848484848485
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"work": "tlg0013.tlg002.perseus-grc2",
|
| 854 |
+
"author": "Homeric Hymns",
|
| 855 |
+
"frac": 0.4375,
|
| 856 |
+
"cov": 0.9677268475210477,
|
| 857 |
+
"cov_nohyp": 0.7600561272217026,
|
| 858 |
+
"hyp_share": 0.2076707202993452
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"work": "tlg0020.tlg003.perseus-grc2",
|
| 862 |
+
"author": "Hesiod",
|
| 863 |
+
"frac": 0.4298642533936652,
|
| 864 |
+
"cov": 0.9543838862559242,
|
| 865 |
+
"cov_nohyp": 0.7251184834123223,
|
| 866 |
+
"hyp_share": 0.2292654028436019
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"work": "tlg0022.tlg002.1st1K-grc1",
|
| 870 |
+
"author": "tlg0022",
|
| 871 |
+
"frac": 0.42790697674418604,
|
| 872 |
+
"cov": 0.9465160075329567,
|
| 873 |
+
"cov_nohyp": 0.6033898305084746,
|
| 874 |
+
"hyp_share": 0.3431261770244821
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"work": "tlg0022.tlg001.1st1K-grc1",
|
| 878 |
+
"author": "tlg0022",
|
| 879 |
+
"frac": 0.42369020501138954,
|
| 880 |
+
"cov": 0.9439036885245902,
|
| 881 |
+
"cov_nohyp": 0.6424180327868853,
|
| 882 |
+
"hyp_share": 0.3014856557377049
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"work": "tlg0033.tlg004.perseus-grc2",
|
| 886 |
+
"author": "Pindar",
|
| 887 |
+
"frac": 0.40540540540540543,
|
| 888 |
+
"cov": 0.9367816091954023,
|
| 889 |
+
"cov_nohyp": 0.6551724137931034,
|
| 890 |
+
"hyp_share": 0.28160919540229884
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"work": "tlg0033.tlg001.perseus-grc2",
|
| 894 |
+
"author": "Pindar",
|
| 895 |
+
"frac": 0.40046838407494145,
|
| 896 |
+
"cov": 0.9411167512690355,
|
| 897 |
+
"cov_nohyp": 0.6558375634517766,
|
| 898 |
+
"hyp_share": 0.28527918781725886
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"work": "tlg0013.tlg018.perseus-grc2",
|
| 902 |
+
"author": "Homeric Hymns",
|
| 903 |
+
"frac": 0.375,
|
| 904 |
+
"cov": 0.9387755102040817,
|
| 905 |
+
"cov_nohyp": 0.6734693877551021,
|
| 906 |
+
"hyp_share": 0.2653061224489796
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"work": "tlg0013.tlg027.perseus-grc2",
|
| 910 |
+
"author": "Homeric Hymns",
|
| 911 |
+
"frac": 0.375,
|
| 912 |
+
"cov": 0.9777777777777777,
|
| 913 |
+
"cov_nohyp": 0.7333333333333334,
|
| 914 |
+
"hyp_share": 0.24444444444444444
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"work": "tlg0533.tlg003.perseus-grc2",
|
| 918 |
+
"author": "tlg0533",
|
| 919 |
+
"frac": 0.3684210526315789,
|
| 920 |
+
"cov": 0.8909090909090909,
|
| 921 |
+
"cov_nohyp": 0.6654545454545455,
|
| 922 |
+
"hyp_share": 0.22545454545454546
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"work": "tlg1220.tlg001.1st1K-grc1",
|
| 926 |
+
"author": "tlg1220",
|
| 927 |
+
"frac": 0.3425414364640884,
|
| 928 |
+
"cov": 0.9540322580645161,
|
| 929 |
+
"cov_nohyp": 0.775,
|
| 930 |
+
"hyp_share": 0.17903225806451614
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"work": "tlg0013.tlg008.perseus-grc2",
|
| 934 |
+
"author": "Homeric Hymns",
|
| 935 |
+
"frac": 0.3333333333333333,
|
| 936 |
+
"cov": 0.9701492537313433,
|
| 937 |
+
"cov_nohyp": 0.6119402985074627,
|
| 938 |
+
"hyp_share": 0.3582089552238806
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"work": "tlg0013.tlg019.perseus-grc2",
|
| 942 |
+
"author": "Homeric Hymns",
|
| 943 |
+
"frac": 0.3157894736842105,
|
| 944 |
+
"cov": 0.995850622406639,
|
| 945 |
+
"cov_nohyp": 0.6887966804979253,
|
| 946 |
+
"hyp_share": 0.3070539419087137
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"work": "tlg0020.tlg002.perseus-grc2",
|
| 950 |
+
"author": "Hesiod",
|
| 951 |
+
"frac": 0.3022774327122153,
|
| 952 |
+
"cov": 0.9482864137086904,
|
| 953 |
+
"cov_nohyp": 0.75734394124847,
|
| 954 |
+
"hyp_share": 0.1909424724602203
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"work": "tlg0013.tlg026.perseus-grc2",
|
| 958 |
+
"author": "Homeric Hymns",
|
| 959 |
+
"frac": 0.2857142857142857,
|
| 960 |
+
"cov": 1.0,
|
| 961 |
+
"cov_nohyp": 0.7608695652173914,
|
| 962 |
+
"hyp_share": 0.2391304347826087
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"work": "tlg0013.tlg033.perseus-grc2",
|
| 966 |
+
"author": "Homeric Hymns",
|
| 967 |
+
"frac": 0.2857142857142857,
|
| 968 |
+
"cov": 0.9787234042553191,
|
| 969 |
+
"cov_nohyp": 0.7234042553191489,
|
| 970 |
+
"hyp_share": 0.2553191489361702
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"work": "tlg0013.tlg028.perseus-grc2",
|
| 974 |
+
"author": "Homeric Hymns",
|
| 975 |
+
"frac": 0.2727272727272727,
|
| 976 |
+
"cov": 0.9753086419753086,
|
| 977 |
+
"cov_nohyp": 0.7407407407407407,
|
| 978 |
+
"hyp_share": 0.2345679012345679
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"work": "tlg0341.tlg002.perseus-grc2",
|
| 982 |
+
"author": "tlg0341",
|
| 983 |
+
"frac": 0.21580547112462006,
|
| 984 |
+
"cov": 0.946524064171123,
|
| 985 |
+
"cov_nohyp": 0.6298535224366426,
|
| 986 |
+
"hyp_share": 0.31667054173448034
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"work": "tlg0013.tlg006.perseus-grc2",
|
| 990 |
+
"author": "Homeric Hymns",
|
| 991 |
+
"frac": 0.2,
|
| 992 |
+
"cov": 0.9659090909090909,
|
| 993 |
+
"cov_nohyp": 0.75,
|
| 994 |
+
"hyp_share": 0.2159090909090909
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"work": "tlg0005.tlg002.perseus-grc2",
|
| 998 |
+
"author": "Theocritus",
|
| 999 |
+
"frac": 0.19117647058823528,
|
| 1000 |
+
"cov": 0.873598369011213,
|
| 1001 |
+
"cov_nohyp": 0.7074413863404689,
|
| 1002 |
+
"hyp_share": 0.16615698267074414
|
| 1003 |
+
}
|
| 1004 |
+
]
|
| 1005 |
+
}
|
analysis/oga_diagnostics_stats_v2.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
analysis/oga_macronizer_diagnostics.md
CHANGED
|
@@ -118,61 +118,88 @@ morphological and accent rules 16.8%, recursive normalizations 6.7%.
|
|
| 118 |
distinct forms of 193,542 lemmas. 887,267 of them (32%) are partially marked. 68.5% have
|
| 119 |
one unresolved dichronon, 24.1% two, 7.4% three or more.
|
| 120 |
|
| 121 |
-
### By part of speech
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
|
| 143 |
-
|
|
| 144 |
-
|
|
| 145 |
-
|
|
| 146 |
-
|
|
| 147 |
-
|
|
| 148 |
-
|
|
| 149 |
-
|
|
| 150 |
-
|
|
| 151 |
-
|
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
### Where in the word the unresolved vowel is
|
| 178 |
|
|
@@ -252,8 +279,8 @@ Median per work: 78.0% (1,999 works). Authors with at least 100,000 dichrona:
|
|
| 252 |
Single works: Odyssey and Apollonius' Argonautica 95.2%, Iliad 94.1%. (Author names are
|
| 253 |
given only where the TLG number is certain; the rest are left as IDs.)
|
| 254 |
|
| 255 |
-
- **Epic is easiest** (Homer, Apollonius ~95%)
|
| 256 |
-
|
| 257 |
- **Philosophical prose** (Aristotle, Plato and the commentators) is well above average.
|
| 258 |
- **Lexica and grammarians are hardest** (Suda 48.6%, Herodian 50.4%): they consist of
|
| 259 |
headwords, rare forms, accent paradigms and abbreviations.
|
|
@@ -261,11 +288,90 @@ given only where the TLG number is certain; the rest are left as IDs.)
|
|
| 261 |
Strabo, Polybius, Diodorus, Septuagint) sit at 72-74%, in line with the 51.6%
|
| 262 |
abstention rate on capitalized words.
|
| 263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
## 5. Quick wins suggested by the data
|
| 265 |
|
| 266 |
| fix | expected gain |
|
| 267 |
|---|---|
|
| 268 |
-
| normalize lunate `ϲ` to `σ`/`ς` before the lookups |
|
| 269 |
| add `ἀφ'` (and other aspirated elisions) to the elision handling | 7,955 tokens |
|
| 270 |
| proper names: a name list with lengths (e.g. from the hypotactic or Wiktionary proper nouns) | a large part of the 495k abstained capitalized tokens |
|
| 271 |
| prefix module: fall back to the token's stem when the unprefixed lemma is not an LSJ headword | prefixed verbs such as `ἀποθνήσκω` |
|
|
@@ -304,8 +410,10 @@ recursive passes that are credited to the recursion modules).
|
|
| 304 |
|---|---|
|
| 305 |
| `analysis/oga_macronizer_diagnostics.md` | this report |
|
| 306 |
| `analysis/oga_diagnostics_stats.json` | all numbers, HF subset and all OGA (`hf`, `all`, `funnel_all_oga`, `ratio`, `works`, `membership`) |
|
|
|
|
|
|
|
| 307 |
| `analysis/oga_abstained_forms.tsv` | every abstained form in the HF subset: count abstained, tokens with that form sent to the modules, lemma, POS, morph |
|
| 308 |
-
| `analysis/scripts/analyze_rerun.py`, `analyze_diagnostics.py` | the analysis |
|
| 309 |
| `analysis/slurm/rerun_diagnostics.slurm`, `analyze_rerun.slurm` | the jobs (rerun with smoke test and comparison; analysis) |
|
| 310 |
| `analysis/logs/` | job logs 5715083 (rerun) and 5715543 (analysis) |
|
| 311 |
|
|
|
|
| 118 |
distinct forms of 193,542 lemmas. 887,267 of them (32%) are partially marked. 68.5% have
|
| 119 |
one unresolved dichronon, 24.1% two, 7.4% three or more.
|
| 120 |
|
| 121 |
+
### By part of speech, against the baseline
|
| 122 |
+
|
| 123 |
+
A raw abstention rate only means something relative to how common the category is among
|
| 124 |
+
the tokens that *can* be abstained on. The table gives three distributions: all tokens of
|
| 125 |
+
OGA (the baseline of the corpus), the tokens sent to the modules (those with an unmarked
|
| 126 |
+
open-syllable dichronon: the baseline for abstentions) and the abstentions. Over-
|
| 127 |
+
representation = the category's abstention rate divided by the overall rate (21.1%), which
|
| 128 |
+
equals its share of abstentions divided by its share of tokens sent.
|
| 129 |
+
|
| 130 |
+
**Significance.** With 13M tokens, a pooled two-proportion test makes almost any difference
|
| 131 |
+
significant (all z-tests below give p < 10⁻¹⁰⁰ except INTJ), so the test relied on treats
|
| 132 |
+
**works as the unit**: for every work with at least 30 tokens of the category and 30 other
|
| 133 |
+
tokens, d = abstention rate of the category − abstention rate of all other tokens in the
|
| 134 |
+
same work. The table gives the mean of d over works, a one-sample t-test of d = 0 (Holm-
|
| 135 |
+
corrected over the table) and a Wilcoxon signed-rank test, and Cohen's d (mean / SD of d).
|
| 136 |
+
Comparing within works controls for texts differing in difficulty. "< 1e-300" means below
|
| 137 |
+
floating-point precision.
|
| 138 |
+
|
| 139 |
+
| POS | share of all OGA tokens | share of tokens sent | share of abstentions | rate | over-rep. | works | mean d (pp) | Cohen's d | p (t, Holm) | p (Wilcoxon) |
|
| 140 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 141 |
+
| NOUN | 17.0% | 30.8% | 43.1% | 29.6% | **1.40** | 1,905 | +10.0 | 1.27 | < 1e-300 | 7e-285 |
|
| 142 |
+
| VERB | 15.5% | 24.8% | 33.8% | 28.8% | **1.36** | 1,875 | +11.4 | 1.48 | < 1e-300 | 2e-273 |
|
| 143 |
+
| ADJ | 8.9% | 15.6% | 17.5% | 23.8% | 1.13 | 1,827 | +1.9 | 0.24 | 1e-23 | 7e-22 |
|
| 144 |
+
| ADV | 12.1% | 8.6% | 3.0% | 7.5% | 0.35 | 1,668 | −14.6 | −2.73 | < 1e-300 | 1e-272 |
|
| 145 |
+
| ADP | 6.0% | 8.8% | 0.8% | 1.8% | 0.09 | 1,679 | −20.1 | −2.99 | < 1e-300 | 7e-276 |
|
| 146 |
+
| PRON | 6.1% | 4.4% | 1.0% | 4.6% | 0.22 | 1,515 | −16.3 | −2.66 | < 1e-300 | 1e-246 |
|
| 147 |
+
| DET | 12.1% | 3.3% | 0.1% | 0.9% | 0.04 | 1,294 | −20.7 | −3.64 | < 1e-300 | 8e-212 |
|
| 148 |
+
| CCONJ | 7.2% | 3.0% | 0.3% | 1.9% | 0.09 | 1,260 | −19.0 | −2.62 | < 1e-300 | 3e-201 |
|
| 149 |
+
| NUM | 0.2% | 0.3% | 0.1% | 6.4% | 0.30 | 314 | −15.3 | −1.52 | 1e-82 | 5e-46 |
|
| 150 |
+
| PART | 0.5% | 0.3% | 0.0% | 0.5% | 0.02 | 257 | −18.2 | −2.12 | 5e-96 | 1e-42 |
|
| 151 |
+
| X (unknown) | 0.5% | 0.08% | 0.2% | 49.4% | 2.34 | 62 | +17.9 | 0.61 | 3e-5 | 4e-5 |
|
| 152 |
+
| INTJ | 0.2% | 0.04% | 0.07% | 37.0% | 1.75 | 31 | +8.5 | 0.37 | 0.09 (n.s.) | 0.15 (n.s.) |
|
| 153 |
+
|
| 154 |
+
(PUNCT is 13.8% of all OGA tokens and almost never has a dichronon.)
|
| 155 |
+
|
| 156 |
+
- Nouns and verbs are over-represented among abstentions (1.40 and 1.36 times their share
|
| 157 |
+
of the tokens with dichrona), with large per-work effects (d ≈ 1.3-1.5): in a typical
|
| 158 |
+
work their abstention rate is 10-11 points above that of the other tokens.
|
| 159 |
+
- Adjectives are only slightly over-represented (1.13; d = 0.24): significant, but small.
|
| 160 |
+
- All closed classes are strongly under-represented (0.02-0.35): the hand-made custom list
|
| 161 |
+
covers them.
|
| 162 |
+
- The baseline matters: articles are 12.1% of all tokens but only 3.3% of the tokens with
|
| 163 |
+
an unmarked dichronon, and nouns rise from 17.0% to 30.8%; the abstention shares have to
|
| 164 |
+
be read against the middle column, not the first.
|
| 165 |
+
|
| 166 |
+
### By morphology and word shape (same method)
|
| 167 |
+
|
| 168 |
+
Here d compares the category with all other tokens of the work, not only with other forms
|
| 169 |
+
of the same part of speech; the rates allow the within-POS comparison (e.g. participles
|
| 170 |
+
37.8% vs finite verbs 21.9%; all verbs 28.8%).
|
| 171 |
+
|
| 172 |
+
| category | share of tokens sent | share of abstentions | rate | over-rep. | works | mean d (pp) | Cohen's d | p (t, Holm) | p (Wilcoxon) |
|
| 173 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 174 |
+
| VERB participle | 8.4% | 15.0% | 37.8% | **1.79** | 1,705 | +18.4 | 2.14 | < 1e-300 | 7e-276 |
|
| 175 |
+
| VERB finite | 13.1% | 13.6% | 21.9% | 1.04 | 1,794 | +2.6 | 0.35 | 3e-47 | 3e-60 |
|
| 176 |
+
| VERB infinitive | 3.1% | 4.8% | 32.2% | 1.52 | 1,316 | +12.4 | 1.62 | < 1e-300 | 1e-208 |
|
| 177 |
+
| VERB active | 17.0% | 19.4% | 24.2% | 1.14 | 1,831 | +5.2 | 0.73 | 1e-170 | 6e-165 |
|
| 178 |
+
| VERB middle | 6.5% | 11.6% | 37.7% | **1.78** | 1,623 | +18.8 | 2.06 | < 1e-300 | 9e-256 |
|
| 179 |
+
| VERB passive | 1.1% | 2.4% | 43.9% | **2.08** | 769 | +22.8 | 2.20 | 6e-296 | 1e-126 |
|
| 180 |
+
| VERB present | 13.7% | 15.6% | 24.0% | 1.14 | 1,779 | +5.6 | 0.75 | 2e-174 | 8e-165 |
|
| 181 |
+
| VERB past (aorist, perfect, imperfect) | 10.1% | 16.5% | 34.5% | 1.63 | 1,736 | +14.7 | 1.96 | < 1e-300 | 5e-277 |
|
| 182 |
+
| VERB future | 0.8% | 1.3% | 34.6% | 1.64 | 660 | +13.8 | 1.59 | 3e-181 | 3e-103 |
|
| 183 |
+
| ADJ comparative | 0.6% | 1.2% | 39.7% | **1.88** | 484 | +19.4 | 1.34 | 4e-109 | 1e-71 |
|
| 184 |
+
| ADJ superlative | 0.4% | 1.0% | 48.7% | **2.30** | 403 | +28.9 | 2.00 | 3e-142 | 2e-67 |
|
| 185 |
+
| NOUN singular | 22.8% | 35.7% | 33.1% | 1.57 | 1,876 | +13.7 | 1.57 | < 1e-300 | 2e-300 |
|
| 186 |
+
| NOUN plural | 7.9% | 7.1% | 19.0% | 0.90 | 1,698 | −3.5 | −0.49 | 1e-81 | 1e-97 |
|
| 187 |
+
| **lunate sigma** (`ϲ`) | 1.8% | 7.1% | 82.7% | **3.91** | 40 | +61.7 | 7.58 | 6e-36 | 2e-12 |
|
| 188 |
+
| capitalized (mostly names) | 7.4% | 18.0% | 51.6% | **2.44** | 1,480 | +25.2 | 1.44 | < 1e-300 | 2e-226 |
|
| 189 |
+
| elided (`'`) | 0.8% | 0.6% | 15.3% | 0.72 | 608 | −3.6 | −0.29 | 2e-12 | 9e-18 |
|
| 190 |
+
|
| 191 |
+
- Within verbs, the derived and marked forms are hard: participles (1.79), middles (1.78)
|
| 192 |
+
and passives (2.08), past and future tenses (~1.6), against finite (1.04), active (1.14)
|
| 193 |
+
and present (1.14) forms. These are the forms a form lexicon is least likely to list,
|
| 194 |
+
and the verbal-forms rules almost never fire (Section 2).
|
| 195 |
+
- Degree forms of adjectives are hard (comparative 1.88, superlative 2.30), while
|
| 196 |
+
adjectives as a whole are close to average.
|
| 197 |
+
- Singular nouns are harder than plurals (1.57 vs 0.90). A plausible reason is that many
|
| 198 |
+
plural case endings (-ων, -οις, -ας with known length rules) are resolved by the
|
| 199 |
+
nominal-forms and case-ending modules, while singular stems depend on the lexicons.
|
| 200 |
+
- Lunate sigma has the largest effect of all (3.91; in the 40 works with enough lunate
|
| 201 |
+
tokens, +62 points against the other tokens of the same work). Capitalized words
|
| 202 |
+
(2.44) are next. Elided words are slightly easier than average.
|
| 203 |
|
| 204 |
### Where in the word the unresolved vowel is
|
| 205 |
|
|
|
|
| 279 |
Single works: Odyssey and Apollonius' Argonautica 95.2%, Iliad 94.1%. (Author names are
|
| 280 |
given only where the TLG number is certain; the rest are left as IDs.)
|
| 281 |
|
| 282 |
+
- **Epic is easiest** (Homer, Apollonius ~95%), but only because these texts are in the
|
| 283 |
+
hypotactic crawl; see Section 4b.
|
| 284 |
- **Philosophical prose** (Aristotle, Plato and the commentators) is well above average.
|
| 285 |
- **Lexica and grammarians are hardest** (Suda 48.6%, Herodian 50.4%): they consist of
|
| 286 |
headwords, rare forms, accent paradigms and abbreviations.
|
|
|
|
| 288 |
Strabo, Polybius, Diodorus, Septuagint) sit at 72-74%, in line with the 51.6%
|
| 289 |
abstention rate on capitalized words.
|
| 290 |
|
| 291 |
+
## 4b. Dialect and the hypotactic lexicon
|
| 292 |
+
|
| 293 |
+
Raw coverage by dialect is misleading, because the hypotactic lexicon is built from a
|
| 294 |
+
specific set of verse texts. Checked against the crawl (`hypotactic/tsv`, 38 works, crawl
|
| 295 |
+
`64a900b`): 43,959 of the lexicon's 48,080 entries occur in these works, and the four
|
| 296 |
+
Aeschylus plays crawled later (Agamemnon, Choephori, Eumenides, Suppliants, 2026-11-17)
|
| 297 |
+
contribute only 9 of their 5,464 words of their own, so the lexicon was built from these 38
|
| 298 |
+
works: Homer (all of the Iliad and Odyssey), Hesiod (Theogony, Works and Days, Shield), the
|
| 299 |
+
Homeric Hymns, the Batrachomyomachia, Apollonius, Aratus, Callimachus (Hymns, Epigrams),
|
| 300 |
+
Theocritus (part), Bion, Moschus, Lycophron, Nicander, Oppian (Halieutica, Cynegetica),
|
| 301 |
+
Colluthus, Triphiodorus, Pindar (all four books), Aeschylus' Persians, Prometheus and
|
| 302 |
+
Seven, Cleanthes, Semonides, Solon, Theognis and Tyrtaeus.
|
| 303 |
+
|
| 304 |
+
**Which OGA works are in the crawl.** Every HF sentence was checked for word 4-gram overlap
|
| 305 |
+
with the crawl (same normalization as the Norma decontamination), and each work scored by
|
| 306 |
+
the share of its sentences with at least half of their 4-grams in the crawl. The scores are
|
| 307 |
+
bimodal: 71 works score 0.2-0.63 and the other 1,928 at most 0.13 (almost all 0); the
|
| 308 |
+
threshold is 0.15. (Even Homer scores only ~0.5, because an OGA sentence spans several
|
| 309 |
+
verse lines and 4-grams across line ends are not in the crawl.) The split matches what is
|
| 310 |
+
known: Aeschylus' Persians, Prometheus and Seven score 0.45-0.53, his other four plays 0;
|
| 311 |
+
Quintus and Nonnus, not crawled, score 0.
|
| 312 |
+
|
| 313 |
+
**Coverage with and without the hypotactic module.** Hypotactic is the last module of the
|
| 314 |
+
cascade, so removing its credits gives the exact coverage without it (token level, words in
|
| 315 |
+
isolation). In the 71 crawled works hypotactic supplies 23.5% of all dichrona resolved;
|
| 316 |
+
elsewhere 2.4%.
|
| 317 |
+
|
| 318 |
+
| group | works | coverage | without hypotactic | in crawl: works | coverage | without hyp. | outside crawl: works | coverage | without hyp. |
|
| 319 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 320 |
+
| Epic | 43 | 89.9% | 70.3% | 39 | 96.0% | 74.5% | 4 | 82.0% | 64.8% |
|
| 321 |
+
| Doric/Aeolic lyric and bucolic | 17 | 91.5% | 65.2% | 13 | 94.5% | 66.0% | 4 | 70.9% | 59.1% |
|
| 322 |
+
| Ionic prose | 54 | 75.6% | 71.9% | – | | | 54 | 75.6% | 71.9% |
|
| 323 |
+
| Attic drama | 46 | 82.1% | 75.3% | 3 | 94.7% | 72.8% | 43 | 81.5% | 75.4% |
|
| 324 |
+
| Classical Attic prose | 260 | 83.8% | 82.0% | – | | | 260 | 83.8% | 82.0% |
|
| 325 |
+
| Koine | 223 | 77.4% | 75.4% | – | | | 223 | 77.4% | 75.4% |
|
| 326 |
+
| Atticist / Imperial and late literary prose | 494 | 79.9% | 77.7% | – | | | 494 | 79.9% | 77.7% |
|
| 327 |
+
| other (unassigned authors) | 862 | 76.7% | 74.2% | 16 | 96.1% | 68.2% | 846 | 76.6% | 74.2% |
|
| 328 |
+
|
| 329 |
+
(Token-level coverage, pooled over works; the groups are by author as in Section 4. "Epic
|
| 330 |
+
outside the crawl" is Quintus, Nonnus and two minor works.)
|
| 331 |
+
|
| 332 |
+
**A natural experiment within one author:** Aeschylus' crawled plays (Persians, Prometheus,
|
| 333 |
+
Seven) reach 94-95% coverage, his uncrawled plays (Suppliants, Agamemnon, Choephori,
|
| 334 |
+
Eumenides) 79-82%; without hypotactic they are level (72-74% vs 71-76%). Hypotactic supplies
|
| 335 |
+
21-22% of the dichrona in the crawled plays and 6-7% in the others.
|
| 336 |
+
|
| 337 |
+
**Group comparisons** (per work, works with at least 2,000 dichrona; Welch t-test and
|
| 338 |
+
Mann-Whitney U; "dialectal" = epic, Doric/Aeolic and Ionic; "Attic" = Attic prose and
|
| 339 |
+
drama):
|
| 340 |
+
|
| 341 |
+
| contrast | measure | works | mean coverage | difference | p (Welch) | p (Mann-Whitney) | Cohen's d |
|
| 342 |
+
|---|---|---:|---:|---:|---:|---:|---:|
|
| 343 |
+
| dialectal vs Attic | with hypotactic, all works | 40 / 158 | 82.5% vs 83.1% | −0.7 pp | 0.68 (n.s.) | 0.06 (n.s.) | −0.09 |
|
| 344 |
+
| dialectal vs Attic | with hypotactic, outside crawl | 27 / 155 | 76.1% vs 82.9% | −6.8 pp | 3e-9 | 4e-10 | −1.58 |
|
| 345 |
+
| dialectal vs Attic | without hypotactic, all works | 40 / 158 | 71.8% vs 79.8% | −7.9 pp | 2e-13 | 2e-13 | −1.61 |
|
| 346 |
+
| dialectal vs Attic | without hypotactic, outside crawl | 27 / 155 | 71.9% vs 79.9% | −8.0 pp | 8e-10 | 1e-10 | −1.65 |
|
| 347 |
+
| dialectal vs Koine/Atticist | without hypotactic, outside crawl | 27 / 417 | 71.9% vs 75.9% | −4.0 pp | 2e-4 | 7e-5 | −0.82 |
|
| 348 |
+
| Attic vs Koine/Atticist | without hypotactic, outside crawl | 155 / 417 | 79.9% vs 75.9% | +4.1 pp | 8e-16 | 2e-16 | +0.81 |
|
| 349 |
+
| Epic vs Attic | with hypotactic, all works | 11 / 158 | 93.9% vs 83.1% | +10.8 pp | 6e-5 | 4e-6 | +2.11 |
|
| 350 |
+
| Epic vs Attic | without hypotactic, all works | 11 / 158 | 73.2% vs 79.8% | −6.6 pp | 9e-4 | 2e-4 | −1.34 |
|
| 351 |
+
| Doric/Aeolic vs Attic | without hypotactic, all works | 5 / 158 | 63.5% vs 79.8% | −16.3 pp | 5e-4 | 3e-8 | −3.58 |
|
| 352 |
+
| Ionic prose vs Classical Attic prose | with hypotactic (never in crawl) | 24 / 114 | 75.8% vs 83.4% | −7.6 pp | 4e-14 | 5e-11 | −2.03 |
|
| 353 |
+
|
| 354 |
+
**Conclusions**
|
| 355 |
+
|
| 356 |
+
- The high raw coverage of epic and Doric/Aeolic verse is an artefact of the hypotactic
|
| 357 |
+
lexicon, which was built from largely these texts. Without it, or in texts outside the
|
| 358 |
+
crawl, dialectal texts are covered about 8 points *worse* than Attic ones (per work
|
| 359 |
+
71.9% vs 79.9%, p < 10⁻⁹, d = −1.65) and 4 points worse than Koine/Atticist ones.
|
| 360 |
+
Ionic prose, which is never in the crawl, is 7.6 points below Classical Attic prose.
|
| 361 |
+
- Attic texts are covered best, 4 points above Koine and Atticist prose, consistent with
|
| 362 |
+
the system's Attic-based lexicons and rules.
|
| 363 |
+
- Coverage is not correctness: the system normalizes to Attic vowel lengths, and its
|
| 364 |
+
lexicons give the length of a form regardless of dialect. Correctness can only be judged
|
| 365 |
+
on Norma gold (rule-based mixed accuracy: Alcman 43.3%, Bacchylides 64.4%, Quintus 78.6%,
|
| 366 |
+
Nonnus 75.5%, against Thucydides 88.5%; see `error_analysis.test.md`). None of the Norma
|
| 367 |
+
test texts is among the 38 crawled works (in OGA, Bacchylides, Quintus, Nonnus and
|
| 368 |
+
Aeschylus' Suppliants all score 0 overlap).
|
| 369 |
+
|
| 370 |
## 5. Quick wins suggested by the data
|
| 371 |
|
| 372 |
| fix | expected gain |
|
| 373 |
|---|---|
|
| 374 |
+
| normalize lunate `ϲ` to `σ`/`ς` before the lookups ([PR #13](https://github.com/Urdatorn/grc-macronizer/pull/13)) | ~113,000 tokens: for 58% of the 195,326 abstained lunate tokens the same word with σ/ς occurs in the corpus and is never abstained on; +16-20 points coverage on four lunate works |
|
| 375 |
| add `ἀφ'` (and other aspirated elisions) to the elision handling | 7,955 tokens |
|
| 376 |
| proper names: a name list with lengths (e.g. from the hypotactic or Wiktionary proper nouns) | a large part of the 495k abstained capitalized tokens |
|
| 377 |
| prefix module: fall back to the token's stem when the unprefixed lemma is not an LSJ headword | prefixed verbs such as `ἀποθνήσκω` |
|
|
|
|
| 410 |
|---|---|
|
| 411 |
| `analysis/oga_macronizer_diagnostics.md` | this report |
|
| 412 |
| `analysis/oga_diagnostics_stats.json` | all numbers, HF subset and all OGA (`hf`, `all`, `funnel_all_oga`, `ratio`, `works`, `membership`) |
|
| 413 |
+
| `analysis/oga_diagnostics_stats_v2.json` | baseline comparisons and per-work tests (`pos`, `features`, `shapes`), per-work coverage with and without hypotactic and crawl overlap (`works`) |
|
| 414 |
+
| `analysis/oga_diagnostics_crawl_by_work.json` | dialect groups and contrasts with work-level crawl membership (Section 4b), list of the 71 crawled works |
|
| 415 |
| `analysis/oga_abstained_forms.tsv` | every abstained form in the HF subset: count abstained, tokens with that form sent to the modules, lemma, POS, morph |
|
| 416 |
+
| `analysis/scripts/analyze_rerun.py`, `analyze_diagnostics.py`, `analyze_v2.py` | the analysis (Section 4b's work-level regrouping is done from `oga_diagnostics_stats_v2.json`) |
|
| 417 |
| `analysis/slurm/rerun_diagnostics.slurm`, `analyze_rerun.slurm` | the jobs (rerun with smoke test and comparison; analysis) |
|
| 418 |
| `analysis/logs/` | job logs 5715083 (rerun) and 5715543 (analysis) |
|
| 419 |
|
analysis/scripts/analyze_v2.py
ADDED
|
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Second analysis of the attributable OGA diagnostics (rerun job 5715083), HF subset
|
| 2 |
+
(Urdatorn/oga-macronized-no-norma, 5d737f8):
|
| 3 |
+
|
| 4 |
+
1. Abstention by POS (and word shape / verb morphology) against the baseline distribution:
|
| 5 |
+
share of all OGA tokens, of tokens sent to the modules (= with an unmarked open-syllable
|
| 6 |
+
dichronon), and of abstentions; over-representation = rate / overall rate. Significance:
|
| 7 |
+
a pooled two-proportion z-test (reported, but with ~13M tokens nearly everything passes),
|
| 8 |
+
and, as the test that is relied on, a per-work paired comparison: for every work with at
|
| 9 |
+
least MIN_TOK tokens of the category, d_w = abstention rate of the category - rate of all
|
| 10 |
+
other tokens in that work; one-sample t-test and Wilcoxon signed-rank test of d_w = 0,
|
| 11 |
+
Cohen's d, Holm correction over all tests of the table. This treats works as the unit and
|
| 12 |
+
so accounts for texts differing in difficulty.
|
| 13 |
+
2. Coverage by dialect group, in relation to the hypotactic crawl: every OGA sentence is
|
| 14 |
+
checked for word 4-gram overlap with the 38 hypotactic works the lexicon was built from
|
| 15 |
+
(hypotactic/tsv); token-level coverage with and without the hypotactic module (it is last
|
| 16 |
+
in the cascade, so removing its credits is the exact counterfactual), per dialect group,
|
| 17 |
+
split into sentences inside and outside the crawl.
|
| 18 |
+
|
| 19 |
+
Usage: python analyze_v2.py DIAG_DIR RERUN_OUT HF_DATA_DIR HYPOTACTIC_TSV_DIR LOG_STATS_JSON OUT_DIR WORKERS
|
| 20 |
+
"""
|
| 21 |
+
import collections, glob, json, math, os, re, sys, unicodedata
|
| 22 |
+
from multiprocessing import Pool
|
| 23 |
+
|
| 24 |
+
import numpy as np
|
| 25 |
+
import pyarrow.parquet as pq
|
| 26 |
+
from scipy import stats
|
| 27 |
+
|
| 28 |
+
C = collections.Counter
|
| 29 |
+
CHUNK, MIN_TOK, N = 500, 30, 4
|
| 30 |
+
HF_KEEP = None
|
| 31 |
+
HYP_GRAMS = None
|
| 32 |
+
|
| 33 |
+
AUTHORS = {
|
| 34 |
+
"Epic": {"tlg0012": "Homer", "tlg0013": "Homeric Hymns", "tlg0020": "Hesiod", "tlg0001": "Apollonius Rhodius",
|
| 35 |
+
"tlg2046": "Quintus Smyrnaeus", "tlg2045": "Nonnus", "tlg0653": "Aratus"},
|
| 36 |
+
"Doric/Aeolic lyric and bucolic": {"tlg0033": "Pindar", "tlg0199": "Bacchylides", "tlg0005": "Theocritus",
|
| 37 |
+
"tlg0009": "Sappho", "tlg0035": "Moschus", "tlg0036": "Bion"},
|
| 38 |
+
"Ionic prose": {"tlg0016": "Herodotus", "tlg0627": "Hippocratic corpus"},
|
| 39 |
+
"Attic drama": {"tlg0019": "Aristophanes", "tlg0011": "Sophocles", "tlg0006": "Euripides", "tlg0085": "Aeschylus"},
|
| 40 |
+
"Classical Attic prose": {"tlg0059": "Plato", "tlg0032": "Xenophon", "tlg0003": "Thucydides", "tlg0014": "Demosthenes",
|
| 41 |
+
"tlg0540": "Lysias", "tlg0010": "Isocrates", "tlg0026": "Aeschines", "tlg0028": "Antiphon",
|
| 42 |
+
"tlg0017": "Isaeus", "tlg0030": "Hyperides", "tlg0034": "Lycurgus", "tlg0027": "Andocides",
|
| 43 |
+
"tlg0086": "Aristotle"},
|
| 44 |
+
"Koine": {"tlg0031": "New Testament", "tlg0527": "Septuagint", "tlg0543": "Polybius", "tlg0060": "Diodorus",
|
| 45 |
+
"tlg0099": "Strabo", "tlg0557": "Epictetus", "tlg0057": "Galen", "tlg0526": "Josephus", "tlg0018": "Philo"},
|
| 46 |
+
"Atticist / Imperial and late literary prose": {
|
| 47 |
+
"tlg0007": "Plutarch", "tlg0062": "Lucian", "tlg0284": "Aelius Aristides", "tlg0081": "Dionysius of Halicarnassus",
|
| 48 |
+
"tlg0525": "Pausanias", "tlg0551": "Appian", "tlg0385": "Cassius Dio", "tlg0008": "Athenaeus",
|
| 49 |
+
"tlg0612": "Dio Chrysostom", "tlg2200": "Libanius", "tlg2000": "Plotinus", "tlg2034": "Porphyry",
|
| 50 |
+
"tlg4013": "Simplicius", "tlg0732": "Alexander of Aphrodisias", "tlg2042": "Origen", "tlg2018": "Eusebius"},
|
| 51 |
+
}
|
| 52 |
+
GROUP_OF = {a: g for g, d in AUTHORS.items() for a in d}
|
| 53 |
+
NAME_OF = {a: n for d in AUTHORS.values() for a, n in d.items()}
|
| 54 |
+
DIALECTAL = {"Epic", "Doric/Aeolic lyric and bucolic", "Ionic prose"}
|
| 55 |
+
|
| 56 |
+
FEATURES = [("VERB", "VerbForm=Part"), ("VERB", "VerbForm=Fin"), ("VERB", "VerbForm=Inf"),
|
| 57 |
+
("VERB", "Voice=Act"), ("VERB", "Voice=Mid"), ("VERB", "Voice=Pass"),
|
| 58 |
+
("VERB", "Tense=Pres"), ("VERB", "Tense=Past"), ("VERB", "Tense=Fut"),
|
| 59 |
+
("ADJ", "Degree=Cmp"), ("ADJ", "Degree=Sup"), ("NOUN", "Number=Sing"), ("NOUN", "Number=Plur")]
|
| 60 |
+
|
| 61 |
+
APOS = {"'": "’", "ʼ": "’", "᾽": "’", "‘": "’", "᾿": "’"}
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def norm_word(tok):
|
| 65 |
+
chars = [APOS.get(c, c) for c in unicodedata.normalize("NFC", tok) if c not in "^_[]{}"]
|
| 66 |
+
ok = lambda c: unicodedata.category(c)[0] in "LM"
|
| 67 |
+
s, e = 0, len(chars)
|
| 68 |
+
while s < e and not ok(chars[s]): s += 1
|
| 69 |
+
while e > s and not ok(chars[e - 1]) and not (chars[e - 1] == "’" and e - 1 > s): e -= 1
|
| 70 |
+
out = []
|
| 71 |
+
for ch in chars[s:e]:
|
| 72 |
+
d = unicodedata.normalize("NFD", ch.lower()).replace("̀", "́")
|
| 73 |
+
out.append(unicodedata.normalize("NFC", d))
|
| 74 |
+
return "".join(out).replace("ϲ", "σ")
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def grams(text):
|
| 78 |
+
w = [x for x in (norm_word(t) for t in text.split()) if x]
|
| 79 |
+
return [tuple(w[i:i + N]) for i in range(len(w) - N + 1)]
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def work_of(stem):
|
| 83 |
+
return stem.split(".tok")[0]
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
def new_acc():
|
| 87 |
+
return dict(sent=C(), abst=C(), before=0, after=0, hyp=0, credits=C(),
|
| 88 |
+
s_before=C(), s_after=C(), s_hyp=C()) # s_*: by sentence class "hyp"/"nonhyp"
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def do_chunk(path):
|
| 92 |
+
tag = os.path.basename(path)[:-4]
|
| 93 |
+
stem, chunk = tag.rsplit(".", 1)
|
| 94 |
+
chunk = int(chunk)
|
| 95 |
+
keep = HF_KEEP.get(stem, {})
|
| 96 |
+
a = new_acc()
|
| 97 |
+
with open(path, encoding="utf-8") as fh:
|
| 98 |
+
next(fh)
|
| 99 |
+
for line in fh:
|
| 100 |
+
c = line.rstrip("\n").split("\t")
|
| 101 |
+
if len(c) != 9:
|
| 102 |
+
continue
|
| 103 |
+
cls = keep.get((chunk, int(c[0])))
|
| 104 |
+
if cls is None:
|
| 105 |
+
continue
|
| 106 |
+
sent, token, lemma, pos, morph, before, after, result, credits = c
|
| 107 |
+
before, after = int(before), int(after)
|
| 108 |
+
ab = after > 0
|
| 109 |
+
cats = ["POS=" + pos]
|
| 110 |
+
feats = set(morph.split("|"))
|
| 111 |
+
cats += [f"FEAT={p}:{f}" for p, f in FEATURES if p == pos and f in feats]
|
| 112 |
+
if "ϲ" in token or "Ϲ" in token: cats.append("SHAPE=lunate sigma")
|
| 113 |
+
if token[:1].isupper(): cats.append("SHAPE=capitalized")
|
| 114 |
+
if token.endswith("'"): cats.append("SHAPE=elided")
|
| 115 |
+
cats.append("ALL")
|
| 116 |
+
for k in cats:
|
| 117 |
+
a["sent"][k] += 1
|
| 118 |
+
if ab: a["abst"][k] += 1
|
| 119 |
+
hyp = sum(int(kv.split("=")[1]) for kv in credits.split(",") if kv.startswith("hypotactic="))
|
| 120 |
+
for kv in credits.split(","):
|
| 121 |
+
if kv: a["credits"][kv.split("=")[0]] += int(kv.split("=")[1])
|
| 122 |
+
a["before"] += before; a["after"] += after; a["hyp"] += hyp
|
| 123 |
+
a["s_before"][cls] += before; a["s_after"][cls] += after; a["s_hyp"][cls] += hyp
|
| 124 |
+
return stem, a
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
def holm(ps):
|
| 128 |
+
order = sorted(range(len(ps)), key=lambda i: ps[i])
|
| 129 |
+
adj, run = [None] * len(ps), 0.0
|
| 130 |
+
for rank, i in enumerate(order):
|
| 131 |
+
run = max(run, min(1.0, (len(ps) - rank) * ps[i]))
|
| 132 |
+
adj[i] = run
|
| 133 |
+
return adj
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
def category_table(per_work, total, cats, baseline_all=None):
|
| 137 |
+
rows = []
|
| 138 |
+
T = total["ALL"]; A = total["ALL_abst"]
|
| 139 |
+
p_all = A / T
|
| 140 |
+
for k in cats:
|
| 141 |
+
n, x = total.get(k, 0), total.get(k + "_abst", 0)
|
| 142 |
+
if n == 0:
|
| 143 |
+
continue
|
| 144 |
+
rate = x / n
|
| 145 |
+
n2, x2 = T - n, A - x
|
| 146 |
+
p_pool = A / T
|
| 147 |
+
se = math.sqrt(p_pool * (1 - p_pool) * (1 / n + 1 / n2)) if n2 else float("nan")
|
| 148 |
+
z = (rate - x2 / n2) / se if n2 and se else float("nan")
|
| 149 |
+
p_z = 2 * stats.norm.sf(abs(z)) if z == z else float("nan")
|
| 150 |
+
d = []
|
| 151 |
+
for w, (s, ab) in per_work.items():
|
| 152 |
+
nk, xk = s[k], ab[k]
|
| 153 |
+
no, xo = s["ALL"] - nk, ab["ALL"] - xk
|
| 154 |
+
if nk >= MIN_TOK and no >= MIN_TOK:
|
| 155 |
+
d.append(xk / nk - xo / no)
|
| 156 |
+
d = np.array(d)
|
| 157 |
+
if len(d) >= 5:
|
| 158 |
+
t = stats.ttest_1samp(d, 0.0)
|
| 159 |
+
try:
|
| 160 |
+
wil = stats.wilcoxon(d).pvalue
|
| 161 |
+
except ValueError:
|
| 162 |
+
wil = float("nan")
|
| 163 |
+
row_t = dict(works=len(d), mean_diff_pp=100 * d.mean(), median_diff_pp=100 * np.median(d), sd_pp=100 * d.std(ddof=1),
|
| 164 |
+
t=float(t.statistic), p_t=float(t.pvalue), p_wilcoxon=float(wil), cohens_d=float(d.mean() / d.std(ddof=1)) if d.std(ddof=1) else float("nan"))
|
| 165 |
+
else:
|
| 166 |
+
row_t = dict(works=len(d))
|
| 167 |
+
rows.append(dict(category=k, sent=n, abstained=x, share_of_sent=n / T, share_of_abstentions=x / A,
|
| 168 |
+
share_of_all_tokens=(baseline_all or {}).get(k), rate=rate, overrep=rate / p_all,
|
| 169 |
+
z=z, p_z=p_z, **row_t))
|
| 170 |
+
ps = [r.get("p_t", 1.0) for r in rows]
|
| 171 |
+
for r, h in zip(rows, holm(ps)):
|
| 172 |
+
r["p_t_holm"] = h
|
| 173 |
+
return rows
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
def main():
|
| 177 |
+
global HF_KEEP, HYP_GRAMS
|
| 178 |
+
diag, rerun, hf_dir, hyp_dir, logstats, out_dir, workers = sys.argv[1:8]
|
| 179 |
+
workers = int(workers)
|
| 180 |
+
os.makedirs(out_dir, exist_ok=True)
|
| 181 |
+
R = {}
|
| 182 |
+
|
| 183 |
+
# hypotactic 4-grams
|
| 184 |
+
HYP = set(); hyp_lines = 0
|
| 185 |
+
for f in glob.glob(os.path.join(hyp_dir, "*.tsv")):
|
| 186 |
+
for line in open(f, encoding="utf-8"):
|
| 187 |
+
hyp_lines += 1
|
| 188 |
+
HYP.update(grams(line.split("\t")[0]))
|
| 189 |
+
print(f"hypotactic: {hyp_lines:,} verse lines, {len(HYP):,} distinct 4-grams", flush=True)
|
| 190 |
+
|
| 191 |
+
# HF membership and per-sentence hypotactic overlap
|
| 192 |
+
hf = C()
|
| 193 |
+
for f in sorted(glob.glob(os.path.join(hf_dir, "*.parquet"))):
|
| 194 |
+
hf.update(pq.read_table(f, columns=["macronized"]).column(0).to_pylist())
|
| 195 |
+
keep, work_lines = {}, C()
|
| 196 |
+
hyp_sent = C()
|
| 197 |
+
for f in sorted(glob.glob(os.path.join(rerun, "parts", "*.txt"))):
|
| 198 |
+
stem = os.path.basename(f)[:-4]
|
| 199 |
+
d = {}
|
| 200 |
+
for i, line in enumerate(open(f, encoding="utf-8").read().splitlines()):
|
| 201 |
+
if hf[line] > 0:
|
| 202 |
+
hf[line] -= 1
|
| 203 |
+
g = grams(line.replace("^", "").replace("_", ""))
|
| 204 |
+
hit = sum(1 for x in g if x in HYP)
|
| 205 |
+
cls = "hyp" if g and hit / len(g) >= 0.5 else "nonhyp"
|
| 206 |
+
d[(i // CHUNK, i % CHUNK)] = cls
|
| 207 |
+
hyp_sent[(work_of(stem), cls)] += 1
|
| 208 |
+
keep[stem] = d
|
| 209 |
+
HF_KEEP = keep
|
| 210 |
+
print("membership done", flush=True)
|
| 211 |
+
|
| 212 |
+
# traces
|
| 213 |
+
traces = sorted(glob.glob(os.path.join(diag, "traces", "*.tsv")))
|
| 214 |
+
per_work = {}
|
| 215 |
+
with Pool(workers) as pool:
|
| 216 |
+
for i, (stem, a) in enumerate(pool.imap_unordered(do_chunk, traces, chunksize=8)):
|
| 217 |
+
w = work_of(stem)
|
| 218 |
+
if w not in per_work:
|
| 219 |
+
per_work[w] = new_acc()
|
| 220 |
+
for k, v in a.items():
|
| 221 |
+
if isinstance(v, C): per_work[w][k].update(v)
|
| 222 |
+
else: per_work[w][k] += v
|
| 223 |
+
if i % 1000 == 0: print(f" traces {i}/{len(traces)}", flush=True)
|
| 224 |
+
|
| 225 |
+
# 1. category tables
|
| 226 |
+
total = C()
|
| 227 |
+
pw = {}
|
| 228 |
+
for w, a in per_work.items():
|
| 229 |
+
for k, v in a["sent"].items(): total[k] += v
|
| 230 |
+
for k, v in a["abst"].items(): total[k + "_abst"] += v
|
| 231 |
+
pw[w] = (a["sent"], a["abst"])
|
| 232 |
+
log = json.load(open(logstats, encoding="utf-8"))
|
| 233 |
+
cons = dict(log["funnel_all_oga"]["considered_pos"]); n_cons = sum(cons.values())
|
| 234 |
+
base_all = {"POS=" + p: n / n_cons for p, n in cons.items()}
|
| 235 |
+
pos_cats = [k for k, _ in sorted(((k, v) for k, v in total.items() if k.startswith("POS=") and not k.endswith("_abst")), key=lambda x: -x[1])]
|
| 236 |
+
R["pos"] = category_table(pw, total, pos_cats, base_all)
|
| 237 |
+
R["features"] = category_table(pw, total, [f"FEAT={p}:{f}" for p, f in FEATURES])
|
| 238 |
+
R["shapes"] = category_table(pw, total, ["SHAPE=lunate sigma", "SHAPE=capitalized", "SHAPE=elided"])
|
| 239 |
+
R["overall"] = dict(sent=total["ALL"], abstained=total["ALL_abst"], rate=total["ALL_abst"] / total["ALL"],
|
| 240 |
+
works=len(per_work), min_tokens_per_work_and_category=MIN_TOK)
|
| 241 |
+
|
| 242 |
+
# 2. dialect x hypotactic
|
| 243 |
+
works = []
|
| 244 |
+
for w, a in per_work.items():
|
| 245 |
+
auth = w.split(".")[0]
|
| 246 |
+
if a["before"] == 0:
|
| 247 |
+
continue
|
| 248 |
+
works.append(dict(work=w, author=NAME_OF.get(auth, auth), group=GROUP_OF.get(auth, "other"),
|
| 249 |
+
dichrona=a["before"], cov=1 - a["after"] / a["before"],
|
| 250 |
+
cov_nohyp=1 - (a["after"] + a["hyp"]) / a["before"], hyp_share=a["hyp"] / a["before"],
|
| 251 |
+
sent_hyp=hyp_sent[(w, "hyp")], sent_nonhyp=hyp_sent[(w, "nonhyp")],
|
| 252 |
+
frac_sent_in_crawl=hyp_sent[(w, "hyp")] / max(1, hyp_sent[(w, "hyp")] + hyp_sent[(w, "nonhyp")]),
|
| 253 |
+
d_hyp=a["s_before"]["hyp"], a_hyp=a["s_after"]["hyp"], h_hyp=a["s_hyp"]["hyp"],
|
| 254 |
+
d_non=a["s_before"]["nonhyp"], a_non=a["s_after"]["nonhyp"], h_non=a["s_hyp"]["nonhyp"]))
|
| 255 |
+
R["works"] = works
|
| 256 |
+
groups = []
|
| 257 |
+
for g in list(AUTHORS) + ["other"]:
|
| 258 |
+
ws = [x for x in works if x["group"] == g]
|
| 259 |
+
if not ws:
|
| 260 |
+
continue
|
| 261 |
+
def pooled(sel_d, sel_a, sel_h):
|
| 262 |
+
D = sum(x[sel_d] for x in ws); Aa = sum(x[sel_a] for x in ws); H = sum(x[sel_h] for x in ws)
|
| 263 |
+
return (D, 1 - Aa / D if D else None, 1 - (Aa + H) / D if D else None)
|
| 264 |
+
D = sum(x["dichrona"] for x in ws)
|
| 265 |
+
cov = 1 - sum(x["dichrona"] * (1 - x["cov"]) for x in ws) / D
|
| 266 |
+
cov_nh = 1 - sum(x["dichrona"] * (1 - x["cov_nohyp"]) for x in ws) / D
|
| 267 |
+
dh, ch, chn = pooled("d_hyp", "a_hyp", "h_hyp")
|
| 268 |
+
dn, cn, cnn = pooled("d_non", "a_non", "h_non")
|
| 269 |
+
groups.append(dict(group=g, works=len(ws), dichrona=D, cov=cov, cov_nohyp=cov_nh,
|
| 270 |
+
dichrona_in_crawl_sentences=dh, cov_in_crawl=ch, cov_in_crawl_nohyp=chn,
|
| 271 |
+
dichrona_outside_crawl=dn, cov_outside=cn, cov_outside_nohyp=cnn,
|
| 272 |
+
per_work_cov_nohyp=[x["cov_nohyp"] for x in ws if x["dichrona"] >= 2000]))
|
| 273 |
+
R["groups"] = [{k: v for k, v in g.items() if k != "per_work_cov_nohyp"} for g in groups]
|
| 274 |
+
# Welch t-tests on per-work coverage without hypotactic (works with >= 2000 dichrona), outside-crawl works only
|
| 275 |
+
def sample(names, outside=True):
|
| 276 |
+
return np.array([x["cov_nohyp"] for x in works if x["group"] in names and x["dichrona"] >= 2000
|
| 277 |
+
and (not outside or x["frac_sent_in_crawl"] < 0.5)])
|
| 278 |
+
contrasts = []
|
| 279 |
+
attic = {"Attic drama", "Classical Attic prose"}
|
| 280 |
+
later = {"Koine", "Atticist / Imperial and late literary prose"}
|
| 281 |
+
for label, A_, B_ in [("dialectal vs Attic", DIALECTAL, attic), ("dialectal vs Koine/Atticist", DIALECTAL, later),
|
| 282 |
+
("Attic vs Koine/Atticist", attic, later), ("Epic vs Attic", {"Epic"}, attic),
|
| 283 |
+
("Ionic prose vs Classical Attic prose", {"Ionic prose"}, {"Classical Attic prose"})]:
|
| 284 |
+
for outside in (False, True):
|
| 285 |
+
a, b = sample(A_, outside), sample(B_, outside)
|
| 286 |
+
if len(a) >= 2 and len(b) >= 2:
|
| 287 |
+
t = stats.ttest_ind(a, b, equal_var=False)
|
| 288 |
+
u = stats.mannwhitneyu(a, b)
|
| 289 |
+
contrasts.append(dict(contrast=label, works_outside_crawl_only=outside, n_a=len(a), n_b=len(b),
|
| 290 |
+
mean_a=float(a.mean()), mean_b=float(b.mean()), diff_pp=float(100 * (a.mean() - b.mean())),
|
| 291 |
+
t=float(t.statistic), p_welch=float(t.pvalue), p_mannwhitney=float(u.pvalue)))
|
| 292 |
+
R["contrasts_cov_nohyp"] = contrasts
|
| 293 |
+
R["crawl_works"] = sorted([dict(work=x["work"], author=x["author"], frac_sent_in_crawl=x["frac_sent_in_crawl"],
|
| 294 |
+
cov=x["cov"], cov_nohyp=x["cov_nohyp"], hyp_share=x["hyp_share"])
|
| 295 |
+
for x in works if x["frac_sent_in_crawl"] >= 0.2], key=lambda x: -x["frac_sent_in_crawl"])
|
| 296 |
+
with open(os.path.join(out_dir, "stats_v2.json"), "w", encoding="utf-8") as f:
|
| 297 |
+
json.dump(R, f, ensure_ascii=False, indent=1, default=float)
|
| 298 |
+
print("done", flush=True)
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
if __name__ == "__main__":
|
| 302 |
+
main()
|
analysis/slurm/analyze_v2.slurm
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
#SBATCH --job-name=oga-stats-v2
|
| 3 |
+
#SBATCH --account=naiss2026-3-353-gpu
|
| 4 |
+
#SBATCH --partition=gpu
|
| 5 |
+
#SBATCH --nodes=1
|
| 6 |
+
#SBATCH --ntasks=1
|
| 7 |
+
#SBATCH --cpus-per-task=32
|
| 8 |
+
#SBATCH --gpus=1
|
| 9 |
+
#SBATCH --mem=128G
|
| 10 |
+
#SBATCH --time=02:00:00
|
| 11 |
+
#SBATCH --output=logs/%x-%j.out
|
| 12 |
+
#SBATCH --error=logs/%x-%j.out
|
| 13 |
+
# POS/morphology abstention against baseline with per-work significance tests, and coverage
|
| 14 |
+
# by dialect group in relation to the hypotactic crawl (scripts/analyze_v2.py), HF subset.
|
| 15 |
+
# scipy is installed into node-local scratch for this job only. CPU only.
|
| 16 |
+
set -Eeuo pipefail
|
| 17 |
+
trap 'status=$?; printf "[%s] ERROR line=%s command=%q status=%s\n" "$(date --iso-8601=seconds)" "$LINENO" "$BASH_COMMAND" "$status"; exit "$status"' ERR
|
| 18 |
+
out=/nobackup/proj/flash/dionysus/personal/cleland/oga-macronized-2026-11
|
| 19 |
+
rerun=$out-rerun
|
| 20 |
+
venv=/nobackup/proj/flash/dionysus/personal/cleland/oga-macronizer-char-code/.venv
|
| 21 |
+
hyp=/nobackup/proj/flash/dionysus/personal/cleland/hypotactic/tsv
|
| 22 |
+
stamp() { printf '[%s] %s\n' "$(date --iso-8601=seconds)" "$*"; }
|
| 23 |
+
stamp "start job=$SLURM_JOB_ID host=$(hostname) hypotactic=$(git -C $hyp/.. rev-parse --short HEAD) tsv_files=$(ls $hyp/*.tsv | wc -l)"
|
| 24 |
+
module purge; module load GPU/Python/3.13.5-bare-gcc-2025b-eb
|
| 25 |
+
export PYTHONUNBUFFERED=1
|
| 26 |
+
work=${SNIC_TMP:-/scratch/local}/oga-stats-v2-$SLURM_JOB_ID; mkdir -p "$work/pylib"
|
| 27 |
+
"$venv/bin/python" -m pip install -q --target "$work/pylib" scipy
|
| 28 |
+
export PYTHONPATH="$work/pylib"
|
| 29 |
+
"$venv/bin/python" -c "import scipy, numpy; print('scipy', scipy.__version__, 'numpy', numpy.__version__)"
|
| 30 |
+
arch=$(ls "$rerun"/diagnostics-archive/diagnostics-job*.tar.zst | head -1)
|
| 31 |
+
stamp "unpacking traces from $arch"
|
| 32 |
+
zstd -dc "$arch" | tar -C "$work" -xf - --wildcards 'diagnostics/traces/*'
|
| 33 |
+
ls "$work/diagnostics/traces" | wc -l
|
| 34 |
+
stamp "analysis"
|
| 35 |
+
"$venv/bin/python" "$out/scripts/analyze_v2.py" "$work/diagnostics" "$rerun" "$out/final/data" "$hyp" "$rerun/analysis/stats.json" "$rerun/analysis" "$SLURM_CPUS_PER_TASK"
|
| 36 |
+
ls -la "$rerun/analysis"
|
| 37 |
+
stamp "done"
|