-
Notifications
You must be signed in to change notification settings - Fork 1
/
textdecomp.py
7755 lines (7487 loc) · 167 KB
/
textdecomp.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#**************************************************
# 2020 string (text) decomposition and transformation Python Lib, Prof. Charlotte Schubert Alte Geschichte, Leipzig
# Def: A decomposition of a string, is a bijective function that assoziates a position and length in the sequence with a
# member of a not ordered set of subsequences.
# Regularly this decomposition is said to be a representation of
# features of a text. We reject this view, the features of a text may be discovered in a (statistical) analysis.
# Decompositioin is just a way of supporting the analysis.
'''
GPLv3 copyrigth
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http:#www.gnu.org/licenses/>.
'''
'''PYTHON3'''
import textnorm, math, re
howmuchhaufisselten = 25
nachbarschaft = 6 #gerade zahl 10, 12, ... 20
satzzeichen = [".", "", ",", ":", "!", "?", "·"]
trenner = {"-":1} #silbentrennersymbol
#leidenklammerung = {"[":"im Original beschädigt", "]":"im Original beschädigt", "(": "im Original augelassen", ")":"im Original augelassen", "<":"Korrektur eines Fehlers aus dem Original",">":"Korrektur eines Fehlers aus dem Original", "{":"im Vergleich zum Original getilgte Worte","}":"im Vergleich zum Original getilgte Worte", "[[":"Rasur","]]":"Rasur"} #editorische Klammerung
#-----------------------buchstaben und bewertungen------------------------------
#lateinische Zeichen / Verwendungen / Bedeutungen im grammatischen System
buchstLAT = {"d":1, "b":1, "g":1, "p":1, "t":1, "c":1, "k":1, "q":1, "qu":1, "ph":1, "th":1, "ch":1, "x":1, "z":1, "f":1, "v":1, "s":1, "m":1, "n":1, "l":1, "r":1, "a":1,"i":2,"e":3,"o":4,"u":5,"v":6, "y":7, "h":1}# liste (array) mit bezeichnern statt Indices
#vokale
vokaleLAT = {"a":1,"i":2,"e":3,"o":4,"u":5,"v":6, "y":7}
#vokalelangLAT = {} #?
#vokalekurzLAT = {} #?
#vokalelangkurzLAT = {} #?
disptongLAT = {"ae":1, "au":1, "eu":1, "oe":1 }
#konsonanten
konLAT = {"d":1, "b":1, "g":1, "p":1, "t":1, "c":1, "k":1, "q":1, "qu":1, "ph":1, "th":1, "ch":1, "x":1, "z":1, "f":1, "v":1, "s":1, "m":1, "n":1, "l":1, "r":1}
doppelkonsonanzLAT = {"x":"ks", "z":"ts"}
doppelabereinzelkonsonantLAT = { "ph":1, "th":1, "ch":1}
labiovelareLAT = {"qu":1, "su":1, "gu":1}
mutacumliquidaLAT = {"dl":1, "gl":1, "pl":1, "tl":1, "cl":1, "kl":1, "ql":1, "dr":1, "gr":1, "pr":1, "tr":1, "cr":1, "kr":1, "qr":1 } #SIND DIE RICHTIG HAB ICH EINFACH SO ANGENOMMEN OHNE BUCH - m und n könnten als quasi liquida dazu kommen
#dauer und hörbarkeit
mutaeLAT = {"d":1, "g":1, "p":1, "t":1, "c":1, "k":1, "q":1, "qu":1, "ph":1, "th":1, "ch":1, "x":1, "z":1}
#dazu
mediaeLAT = {"b":"labial", "d":"dental", "g":"guttural"}
tenuesLAT = {"p":"labial", "t":"dental", "c":"guttural", "k":"guttural", "q":"guttural", "qu":"guttural"}
aspirataeLAT = {"ph":"labial", "th":"dental", "ch":"guttural"}
#dauer und hörbarkeit
dauerlauteLAT = { "f":1, "v":1, "s":1, "m":1, "n":1, "l":1, "r":1}
#dazu
spirantesLAT = {"f":"labial", "v":"labial", "s":"dental"}
nasalesLAT = {"m":"labial", "n":"dental"}
liquidaeLAT = {"l":"dental", "r":"dental"}
#altgriechische Zeichen / Verwendungen
diacriticsunicode = [ "\u0313", "\u0314", "\u0300","\u0301", "\u00B4", "\u02CA", "\u02B9", "\u0342", "\u0308", "\u0304", "\u0306" ]
#buchstGRI = {"α":1, "β": 1, "γ":1, "δ":1, "ε":1, "ζ":1, "η":1, "θ":1, "ι":1, "κ":1, "λ":1, "μ":1, "ν":1, "ξ":1, "ο":1, "π":1, "ρ":1, "σ":1, "ς": 1, "τ":1, "υ":1, "φ":1, "χ":1, "ψ":1, "ω":1}#unvollständig!!!!ἀρχῆς
#schneller weg um das vorhandensein zu checken: print( buchstGRI["α"], buchstGRI["υ"] ), Abfrage if(buchstGRI["α"]), resultiert auch in kürzerem code
vokaleGRI = {"ι":1,"υ":1,"ε":1,"ο":1,"α":1,"ω":1,"η":1}
diphtongGRI = {"αι":1,"υι":1,"οι":1,"ει":1,"αυ":1,"ευ":1,"ου":1,"ηυ":1,"ωυ":1,"ᾳ":1,"ῃ":1,"ῳ":1,"Αι":1,"Ηι":1,"Ωι":1}
vokalelangGRI = {"ω":1,"η":1}
vokalekurzGRI = {"ε":1,"ο":1}
vokalelangkurzGRI = {"α":1,"ι":1,"υ":1}
konGRI = {"β":1, "γ":1, "δ":1, "ζ":1, "θ":1, "κ":1, "λ":1, "μ":1, "ν":1, "ξ":1, "π":1, "ρ":1, "σ":1, "τ":1, "φ":1, "χ":1, "ψ":1}
doppelkonsonanzGRI = {"ξ":"κσ", "ψ":"πσ", "ζ":"σδ"} #richtig so?
doppelabereinzelkonsonantGRI = {}
mutacumliquidaGRI = {"πλ":1, "πρ":1, "πν": 1, "βλ":1, "βρ":1, "φλ":1, "φρ":1, "τλ":1, "τρ":1, "τμ":1, "δρ":1, "δμ": 1, "θλ":1, "θρ":1, "θν":1, "κλ":1, "κρ":1, "κν":1, "γλ":1, "γρ":1, "γν":1, "χλ":1, "χρ":1 } #das wird beim Silbentrennen berücksichtigt nicht bei der Zusammenziehung lautlicher Einheiten
mutaeGRI = {"κ":1, "π":1, "τ":1, "γ":1, "β":1, "δ":1, "χ":1, "φ":1, "θ":1}
meiaeGRI = {"γ":"guttural", "β":"labial", "δ":"dental"}
tenuesGRI = {"κ":"guttural", "π":"labial", "τ":"dental"}
aspirataeGRI = {"χ":"guttural", "φ":"labial", "θ":"dental"}
dauerlauteGRI = { "λ":1, "ρ":1, "μ":1, "ν":1, "ϝ":1, "σ":1 }
spirantesGRI = {"ϝ":"labial", "σ":"dental"}
nasalesGRI = {"μ":"labial", "ν":"dental"}
liquidaeGRI = {"λ":"dental", "ρ":"dental"}
konsonantengruppenambeginneineswortes = {
'βγ': 1,
'βδ': 65,
'βζ': 1,
'βλ': 597,
'βλσ': 1,
'βν': 1,
'βρ': 1006,
'βρκ': 1,
'βσμβ': 1,
'γδ': 1,
'γλ': 396,
'γμ': 2,
'γν': 554,
'γρ': 689,
'γψ': 1,
'γψξ': 1,
'δβ': 1,
'δγ': 1,
'δζ': 1,
'δμ': 4,
'δν': 1,
'δρ': 821,
'ζγ': 2,
'ζδ': 1,
'ζφ': 1,
'θκ': 1,
'θλ': 59,
'θμ': 5,
'θν': 82,
'θρ': 863,
'θρν': 2,
'κβ': 11,
'κγ': 7,
'κδ': 12,
'κζ': 8,
'κθ': 7,
'κλ': 1405,
'κν': 144,
'κπ': 2,
'κρ': 2291,
'κσ': 2,
'κτ': 520,
'κτλ': 1,
'κφ': 1,
'λβ': 5,
'λγ': 5,
'λδ': 4,
'λζ': 5,
'λθ': 3,
'λλ': 1,
'μβ': 5,
'μγ': 7,
'μδ': 3,
'μζ': 5,
'μθ': 5,
'μλ': 2,
'μμ': 3,
'μν': 391,
'μπ': 80,
'μπρ': 2,
'μφ': 1,
'νβ': 7,
'νγ': 3,
'νδ': 7,
'νζ': 4,
'νθ': 5,
'νν': 1,
'νρ': 1,
'νσ': 1,
'ντ': 17,
'ντζ': 1,
'ξβ': 4,
'ξγ': 5,
'ξδ': 3,
'ξζ': 4,
'ξθ': 5,
'πβ': 4,
'πγ': 4,
'πδ': 3,
'πζ': 1,
'πθ': 1,
'πλ': 2765,
'πν': 229,
'ππ': 1,
'πρ': 20808,
'πρσβ': 1,
'πρτ': 1,
'πτ': 467,
'ργ': 2,
'ρδ': 2,
'ρζ': 1,
'ρκ': 6,
'ρκβ': 1,
'ρκγ': 1,
'ρκδ': 2,
'ρκζ': 1,
'ρλ': 4,
'ρλβ': 1,
'ρλγ': 2,
'ρλδ': 1,
'ρλζ': 1,
'ρλθ': 1,
'ρμ': 4,
'ρμγ': 1,
'ρν': 6,
'ρνγ': 1,
'ρξ': 6,
'ρξβ': 1,
'ρξγ': 1,
'ρξζ': 1,
'ρξθ': 1,
'ρπ': 8,
'ρπβ': 1,
'ρπδ': 2,
'ρπθ': 1,
'ρρ': 1,
'σβ': 46,
'σγ': 11,
'σδ': 3,
'σθ': 44,
'σθλ': 12,
'σκ': 2107,
'σκδ': 1,
'σκλ': 128,
'σκν': 5,
'σκρ': 37,
'σλ': 3,
'σμ': 199,
'σμγ': 1,
'σν': 3,
'σνβ': 1,
'σνγ': 1,
'σξ': 2,
'σξγ': 1,
'σπ': 1139,
'σπγ': 1,
'σπδ': 1,
'σπθ': 1,
'σπλ': 27,
'σρ': 3,
'σρτ': 1,
'στ': 2752,
'στλ': 3,
'στρ': 1537,
'σφ': 807,
'σφρ': 68,
'σχ': 573,
'τβ': 1,
'τγ': 1,
'τδ': 1,
'τζ': 287,
'τκ': 3,
'τκβ': 1,
'τκδ': 1,
'τλ': 42,
'τλβ': 1,
'τλζ': 1,
'τμ': 45,
'τν': 5,
'τνδ': 1,
'τνθ': 1,
'τξ': 3,
'τπ': 1,
'τρ': 3096,
'φβ': 1,
'φδ': 1,
'φθ': 570,
'φκ': 1,
'φλ': 436,
'φλβ': 1,
'φλδ': 1,
'φμ': 1,
'φμθ': 1,
'φν': 1,
'φπ': 1,
'φπβ': 1,
'φπδ': 1,
'φρ': 1243,
'χβ': 1,
'χθ': 71,
'χκθ': 1,
'χλ': 207,
'χμ': 2,
'χμγ': 1,
'χν': 12,
'χνδ': 1,
'χπ': 2,
'χρ': 2417,
'χτ': 1,
'χχ': 1,
'ψκ': 1,
'ψκζ': 1,
'ψλ': 1,
'ψμ': 1,
'ψμζ': 1,
'ψν': 1,
'ψνζ': 1,
'ψξ': 1,
'ψξθ': 1
} #rein griechisches Kriterium für die Silbentrennung
'''weitere Annahmen, die sich implizit dem Programm auswirken
SILBEN
- ein Silbe besteht aus drei Teilen dem Kopf, dem Nucleus, und der Koda
- Kopf und Koda sind konsonantsich geprägt, Koda und/oder Kopf können leer sein
- der Nucleus ist vokalisch
Latein speziell
- Berücksitigen der Diphtonge
- U-V vor Konsonaten als U (Vokal), vor Vokalen als V (Konsonant) gemessen
- steht nach p t c ein h ist dies als Einheit zu werten
- steht i in Verbindung mit einem anderen Vokal, dann ist das i ein Konsonant (iacere, iunctum, iungere)
- qu entspricht einem Konsonanten
- x, z entsrechen zwei Konsonanten
- Berücksichtigen der muta cum liquida
'''
#Deklinationen der Substantive im Griechsichen / umfasst scheinbar auch Adjektive
#Codierung: s singular, p plural, n nominativ, v vokativ,g genitiv, d dativ, a akkusativ,
deklination1stammauslautGRI = {"α":1, "η":1} #???mach ich das so, oder kommt das ins deklinations array???
deklination1endGRI = {"α":["s", "n", "v"], "η":["s","n","v"], "ης":["s","g"], "ας":["s","g"], "ῃ":["s","d"], "ᾳ":["s","d"],"ην":["s","a"], "αι":["p", "n", "v"], "ων":["p","g"], "αις":["p", "d"], "ας":["p","a"]}
deklination2stammauslautGRI = {"ο":1, "ω":1}
deklination2endGRI = {"ος":["s","n"], "ου":["s","g"], "ῳ":["s","d"], "ον":["s","a"], "ε":["a","v"], "οι":["p","n","v"], "ων":["p","g"], "οις":["p","d"], "ους":["p","a"]}
deklination3stammauslautGRI = {"λ":1, "ρ":1, "κ":1, "γ":1, "χ":1, "π":1, "β":1, "φ":1, "τ":1, "δ":1, "θ":1, "ν":1, "ντ":1, "ος":1, "εσ":1, "ι":1, "υ":1, "ω":1, "ο":1}
deklination3endGRI = {"ς":["s","n"], "ος":["s","g"], "ι":["s","d"], "α":["s","a"], "ες":["p","nv"], "ων":["p","g"], "οι":["p","d"], "οιν":["p","d"], "ας":["p","a"]}
endungennachkasus = { "n": ["α", "η", "αι", "ος", "οι", "ς", "ες"],
"g": ["ης", "ας", "ων", "ου", "ος"],
"d": ["ῃ", "ᾳ", "αις", "ῳ", "οις", "ι", "οι", "οιν"],
"a": ["ην", "ας", "ον", "ε", "ους", "α"],
"v": ["α", "η", "αι", "ε", "οι", "ες"], }
#konjugation der Verben
konjugationVerbaVocalia = {
"ω":["KAVs1", "KAFs1"],
"εις":["KAVs2"],
"ει":["KAVs3", "MAVs2"],
"ομεν":["KWAVp1"],
"ετε":["KWAVp2"],
"ουσιν":["KWAVp3"],
"ουσι":["KAWVp3"],
"ουνι":["KAWVp3"],
"σω": ["KQVs1", "KZFs1", "MZVs2"],
"σεις":["KQVs2"],
"σει": ["KQVs3"],
"σομεν":["KQVp1"],
"σετε":["KQVp2"],
"σουσιν":["KQVp3"],
"σουσι":["KQVp3"],
"σουνι":["KQVp3"],
"κα": ["KOVs1"],
"κας": ["KOVs2"],
"κεν": ["KOVs3"],
"κε": ["KOVs3"],
"καμεν": ["KOVp1"],
"κατε": ["KOVp2"],
"κασιν": ["KOVp3"],
"κασι": ["KOVp3"],
"ον": ["KWVs1", "KZVp3", "KAk"],
"ες": ["KWVs2"],
"ε": ["KWVs3"],
"εν": ["KWVs3"],
"σα": ["KZVs1"],
"σας": ["KVZs2"],
"σε": ["KVZs3"],
"σεν": ["KVZs3"],
"σαμεν": ["KVZp1"],
"σατε": ["KVZp2"],
"σαν": ["KVZp3", "KZk"],
"κειν": ["KVLs1", "KVLs3"],
"κη": ["KVLs1"],
"κεις": ["KVLs2"],
"κης": ["KVLs2"],
"κει": ["KVLs3"],
"κεμεν": ["KVLp1"],
"κειμεν": ["KVLp1"],
"κετε": ["KVLp2"],
"κειτε": ["KVLp2"],
"κεσαν": ["KVLp3"],
"κεισαν": ["KVLp3"],
"ῃς": ["KAFs2"],
"ῃ": ["KAFs3"],
"ωμεν": ["KAFp1"],
"ητε": ["KAFp2"],
"ωσιν": ["KAFp3"],
"ωσι": ["KAFp3"],
"σῃς": ["KZFs2"],
"σῃ": ["KZFs3"],
"σωμεν": ["KZFp1"],
"σητε": ["KZFp2"],
"σωσιν": ["KZFp3"],
"σωσι": ["KZFp3"],
"κω": ["KOFs1"],
"κῃς": ["KOFs2"],
"κῃ": ["KOFs3"],
"κωμεν": ["KOFp1"],
"κητε": ["KOFp2"],
"κωσιν": ["KOFp3"],
"κωσι": ["KOFp3"],
"οιμι": ["KAos1"],
"οις": ["KAos2"],
"οι": ["KAos3"],
"οιμεν": ["KAop1"],
"οιτε": ["KAop2"],
"οιεν": ["KAop3"],
"σοιμι": ["KQos1"],
"σοις": ["KQos2"],
"σοι": ["KQos3"],
"σοιμεν": ["KQop1"],
"σοιτε": ["KQop2"],
"σοιεν": ["KQop3"],
"σαιμι": ["KZos1"],
"σαις": ["KZos2"],
"σειας": ["KZos2"],
"σαι": ["KZos3", "KZU", "MZms2"],
"σειεν": ["KZos3"],
"σειε": ["KZos3"],
"σαιμεν": ["KZop1"],
"σαιτε": ["KZop2"],
"σαιεν": ["KZop3"],
"κοιμι": ["KOos1"],
"κοις": ["KOos2"],
"κοι": ["KOos3"],
"κοιμεν": ["KOop1"],
"κοιτε": ["KOop2"],
"κοιεν": ["KOop3"],
"ε": ["KAms2"],
"έτω": ["KAms3"],
"ετε": ["KAmp2"],
"όντων": ["KAmp3"],
"έτωσαν": ["KAmp3"],
"σον": ["KZms2"],
"σάτω": ["KZms3"],
"σατε": ["KZmp2"],
"σάντων": ["KZmp3"],
"σάτωσαν": ["KZmp3"],
"ειν": ["KAU"],
"ων": ["KAk"],
"οντος": ["KAk"],
"ουσα": ["KAk"],
"ούσης": ["KAk"],
"οντος": ["KAk"],
"σειν":["KQU"],
"σων": ["KQk"],
"σοντος": ["KQk"],
"σουσα": ["KQk"],
"σούσης": ["KQk"],
"σον": ["KQk"],
"σοντος": ["KQk"],
"σᾱς": ["KZk"],
"σαντος": ["KZk"],
"σᾱσα": ["KZk"],
"σᾱ́σης": ["KZk"],
"κέναι":["KOU"],
"κώς": ["KOk"],
"κότος": ["KOk"],
"κυῖα": ["KOk"],
"κυίᾱς": ["KOk"],
"κος": ["KOk"],
#medium
"ομαι":["MAVs1"],
"ῃ":["MAVs2", "MAFs2"],
"εται":["MAVs3"],
"όμεθα":["MAVp1"],
"εσθε":["MAVp2"],
"ονται":["MAVp3"],
"σομαι":["MQVs1"],
"σῃ":["MQVs2"],
"σεται":["MQVs3"],
"σόμεθα":["MQVp1"],
"σεσθε":["MQVp2"],
"σονται":["MQVp3"],
"μαι":["MOVs1"],
"σαι":["MOVs2"],
"ται":["MOVs3"],
"μεθα":["MOVp1", "MLVp1"],
"σθε":["MOVp2", "MLVp2", "MOLmp2"],
"νται":["MOVp3"],
"όμην":["MWVs1"],
"ου":["MWVs2", "MAms2"],
"ετο":["MWVs3"],
"όμεθα":["MWVp1"],
"εσθε":["MWVp2"],
"οντο":["MWVp3"],
"σάμην":["MZVs1"],
"σατο":["MZVs3"],
"σάμεθα":["MZVp1"],
"σασθε":["MZVp2"],
"σαντο":["MZVp3"],
"μην":["MLVs1"],
"σο":["MLVs2", "MOLos", "MOLms2"],
"το":["MLVs3"],
"ντο":["MLVp3"],
"ωμαι":["MAFs1"],
"ηται":["MAFs3"],
"ώμεθα":["MAFp1"],
"ησθε":["MAFp2"],
"ωνται":["MAFp3"],
"σωμαι":["MZFs1"],
"σῃ":["MZFs2"],
"σηται":["MZFs3"],
"σώμεθα":["MZFp1"],
"σησθε":["MZFp2"],
"σωνται":["MZFp3"],
"μένος":["MOLFs"],
"μένοι":["MOLFp"],
"οίμην":["MAos1"],
"οιο":["MAos2"],
"οιτο":["MAos3"],
"οίμεθα":["MAop1"],
"οισθε":["MAop2"],
"οιντο":["MAop3"],
"σοίμην":["MQos1"],
"σοιο":["MQos2"],
"σοιτο":["MQos3"],
"σοίμεθα":["MQop1"],
"σοισθε":["MQop2"],
"σοιντο":["MQop3"],
"σαίμην":["MZos1"],
"σαιο":["MZos2"],
"σαιτο":["MZos3"],
"σαίμεθα":["MZop1"],
"σαισθε":["MZop2"],
"σαιντο":["MZop3"],
"σθω":["MOLop", "MOLms3"],
"έσθω":["MAms3"],
"εσθε":["MAmp2"],
"έσθων":["MAmp3"],
"σάσθω":["MZms3"],
"σασθε":["MZmp2"],
"σάσθων":["MZmp3"],
"σθων":["MOLmp3"],
"εσθαι": ["MAU"],
"όμενος": ["MAk"],
"ομένη": ["MAk"],
"ομενον": ["MAk"],
"σεσθαι": ["MQU"],
"σόμενος": ["MQk"],
"σομένη": ["MQk"],
"σομενον": ["MQk"],
"σασθαι": ["MZU"],
"σάμενος": ["MZk"],
"σαμένη": ["MZk"],
"σάμενον": ["MZk"],
"σθαι": ["MOLU"],
"μένος": ["MOLk"],
"μένη": ["MOLk"],
"μένον": ["MOLk"],
}
konjugationVerbaVocaliaVORS = { #vorsilben
"ἐ": ["LZVsp123"]
}
konjugationVerbaVocaliaVORW = { #vor dem verb stehend optativ konjunktiv
"ἵνα": ["ZOLFsp123"],
"εἴθε": ["ZVOLosp123"]
}
konjugationVerbaVocaliaNACHW = { #vor dem verb stehend - unsicher
"ὦ": ["OLFsp123"],
"ᾖς": ["OLFsp123"],
"ᾖ": ["OLFsp123"],
"ἦτε": ["OLFsp123"],
"ὦσιν": ["OLFsp123"],
"εἴην": ["OLos1"],
"εἴης": ["OLos2"],
"εἴη": ["OLos3"],
"εἴημεν": ["OLop1"],
"εἴητε": ["OLop2"],
"εἴησαν": ["OLop3"],
}
#REDUBLIKATION IST NOCH NICHT BERÜCKSICHTIGT
konjugationVerbaMuta = {
"":"",
}
konjugationVerbaLiquida = {
"":"",
}
#adjektive
komparation = {#adverbien von Adjektiven abgeleitet oder adjektive
"τερος":[""], #komparativ
"τέρᾱ":[""], #komparativ
"τερον":[""], #komparativ
"τατος":[""], #superlativ
"τάτη":[""], #superlativ
"τατον":[""], #superlativ
}
#adverbien
advervEndung = {
"ως":[""],
}
adverbGRI = {
"οὕτω":["g"],
"οὕτως": ["g"],
"οὕτω": ["g"],
"χωρίς":["g"],
"χωρὶς":["g"],
"πλήν":["g"],
"πλὴν":["g"],
"ἄνω":["g"],
"κάτω":["g"],
"καταντικρύ":["g"],
"καταντικρὺ":["g"],
"ἐκτός":["g"],
"ἐκτὸς":["g"],
"ἐντός":["g"],
"ἐντὸς":["g"],
"ἔνερθεν":["g"],
"ἔξω":["g"],
"εἴσω":["g"],
"πέρα":["g"],
"ἀντιπέρας":["g"],
"ἀντιπέρα":["g"],
"ὄπισθεν":["g"],
"ὀπίσω":["g"],
"οὔκων":["g"],
"κατόπιν":["g"],
"ἔμπροσθεν":["g"],
"πρόσθεν":["g"],
"πόρρω":["g"],
"πρόσω":["g"],
"ἐγγύς":["g"],
"ἐγγὺς":["g"],
"πλησίον":["g"],
"ἄχρι":["g"],
"μέχρι":["g"],
"μεταξύ":["g"],
"μεταξὺ":["g"],
"λάθρᾳ":["g"],
"κρύφα":["g"],
"ἐναντίον":["g"],
"εὐθύς":["g"],
"εὐθὺς":["g"],
"νῦν": [""],
"νυν": [""],
"νυ": [""],
"ὀπίσω": [""],
"οὔκων": [""]
}
adverbLAT = {
"antea": [],#d. Zeit
"postea": [],
"interea": [],
"interim": [],
"interdum": [],
"interdiu": [],
"noctu": [],
"hodie": [],
"postridie": [],
"pridie": [],
"pridem": [],
"cottidie": [],
"quotannis": [],
"heri": [],
"cras": [],
"nunc": [],
"modo": [],
"nuper": [],
"mox": [],
"olim": [],
"saepe": [],
"semper": [],
"iam": [],
"denique": [],
"tandem": [],
"demum": [],
"extemplo": [],
"statim": [],
"simul": [],
"diu": [],
"nondum": [],
"prope": [], #d. Ortes
"procul": [],
"obviam": [],
"retro": [],
"foris": [],
"foras": [],
"primum": [], #d. Art u. Weise
"primo": [],
"postremum": [],
"postremo": [],
"plerumque": [],
"paulum": [],
"parum": [],
"nimis": [],
"nimium": [],
"satis": [],
"tantum": [],
"modo": [],
"rursus": [],
"iterum": [],
"denuo": [],
"ceterum": [],
"imprimis": [],
"partim": [],
"paulatim": [],
"raro": [],
"crebro": [],
"cito": [],
"merito": [],
"consulto": [],
"subito": [],
"secreto": [],
"ultro": [],
"falso": [],
"forte": [],
"fortasse": [],
"fere": [],
"ferme": [],
"paene": [],
"prope": [],
"frustra": [],
"nequiquam": [],
"nequaquam": [],
"propterea": [],
"adeo": [],
"admodum": [],
"magnopere": [],
"tantopere": [],
"quantopere": []
}
preposGRI = {
"εἵνεκεν": [""],
"ἀνά": ["a"],
"ἀνὰ":["a"],
"εἰς":["a"],
"ἐς":["a"],
"ὡς":["a"],
"ἐν":["d"],
"σύν":["d"],
"σὺν":["d"],
"ἅμα":["d"],
"ἅμ’":["d"],
"ὁμοῦ":["d"],
"ἀντί":["g"],
"ἀντὶ":["g"],
"ἀνθ’":["g"],
"ἀπό":["g"],
"ἀπὸ":["g"],
"ἀφ’":["g"],
"ἐκ":["g"],
"ἐξ":["g"],
"πρό":["g"],
"πρὸ":["g"],
"ἕνεκα":["g"],
"χάριν":["g"],
"διὰ":["a", "g"],
"διά":["a", "g"],
"δι’":["a", "g"],
"δι᾽":["a", "g"],
"κατά":["a", "g"],
"κατα":["a", "g"],
"κατὰ":["a", "g"],
"κατ’":["a", "g"],
"καθ’":["a", "g"],
"ὑπέρ":["a", "g"],
"ὑπὲρ":["a", "g"],
"μετά":["a", "g"],
"μετ’":["a", "g"],
"μετὰ":["a", "g"],
"μεθ’":["a", "g"],
"ἀμφί":["a", "d", "g"],
"ἀμφὶ":["a", "d", "g"],
"ἐπί":["a", "d", "g"],
"ἐφ’":["a", "d", "g"],
"ἐπὶ":["a", "d", "g"],
"ἐπ’":["a", "d", "g"],
"ἐπ᾽": ["a", "d", "g"],
"παρά":["a", "d", "g"],
"παρὰ":["a", "d", "g"],
"παρ’":["a", "d", "g"],
"περί":["a", "d", "g"],
"περὶ":["a", "d", "g"],
"πρός":["a", "d", "g"],
"πρὸς":["a", "d", "g"],
"ὑπό":["a", "d", "g"],
"ὑπὸ":["a", "d", "g"],
"ὐπά":["a", "d", "g"],
"ὑπ᾽": ["a", "d", "g"],
"ὑφ’":["a", "d", "g"]
} # weisen kasus zu, auch lokale, temporale, kausale, konzessive, modale Bedeutung
preposLAT = {
"in":["a", "l"],
"sub":["a", "l"],
"super":["a","l"],
"ā":["l"],
"ab":["l"],
"abs":["l"],
"cōram":["l"],
"cum":["l"],
"dē":["l"],
"ē":["l"],
"ex":["l"],
"palam":["l"],
"prae":["l"],
"prō":["l"],
"sine":["l"],
"ad":["a"],
"adversus":["a"],
"ante":["a"],
"apud":["a"],
"circā":["a"],
"circum":["a"],
"circiter":["a"],
"citrā":["a"],
"contrā":["a"],
"ergā":["a"],
"extrā":["a"],
"īnfrā":["a"],
"inter":["a"],
"intrā":["a"],
"iuxtā":["a"],
"ob":["a"],
"penes":["a"],
"per":["a"],
"post":["a"],
"praeter":["a"],
"prope":["a"],
"propter":["a"],
"secundum":["a"],
"suprā":["a"],
"trāns":["a"],
"ultrā":["a"]
}
postproGRI = {
"ἕνεκα":["g"],
"ἕνεκεν":[]
}
postproLAT = {
"causā":["g"],
"grātiā":["g"]
}
artikelGRI = {
"ὁ": ["msnB"],
"τώ": ["munB", "funB", "eunB", "muaB", "fuaB", "euaB"],
"οἱ": ["mpnB"],
"τοί": ["mpnB"],
"τοῖσι": ["fpdB"],
"ἡ": ["fsnB"],
"αἱ": ["fpnB"],
"τό": ["esnB", "esaB"],
"τὸ": ["esnB", "esaB"],
"τὰ": ["epnB", "epaB"],
"τά": ["epnB", "epaB"],
"τοῦ": ["msgB", "esgB"],
"τοῖο": ["msgB", "esgB"],
"τοῖν": ["mugB", "fugB", "eugB", "mudB", "fudB", "eudB"],
"τῶν": ["mpgB", "fpgB", "epgB"],
"τῆς": ["fsgB"],
"τῷ": ["msdB", "esdB"],
"τοῖς": ["mpdB", "epdB"],
"τῇ": ["fsdB"],
"ταῖς": ["fpdB"],
"τόν": ["msaB"],
"τὸν": ["msaB"],
"τούς": ["mpaB"],
"τοὺς": ["mpaB"],
"τήν": ["fsaB"],
"τάς": ["fpaB"],
"τὴν": ["fsaB"]
}
#hinweise als Demonstrativpronomen - hinweis geht auf etwas nachfolgend im text?
demonstrativpronomLAT = { #determinativpronomen scheinen reingemsihct
"hic": ["snm"],
"haec": ["snf", "pne", "pae"],
"hoc": ["sne", "sae", "slm", "sle"],
"huius": ["sgm", "sgf", "sge"],
"huic": ["sdm", "sdf", "sde"],
"hunc": ["sam"],
"hanc": ["saf"],
"hac": ["slf"],
"hi": ["pnm"],
"hae": ["pnf"],
"horum": ["pgm", "pge"],
"harum": ["pgf"],
"his": ["pdm", "pdf", "pde", "plm", "plf", "ple"],
"hos": ["pam"],
"has": ["paf"],
"ille": ["snm"],
"illa": ["snf", "pne", "slf", "pae", "pne"],
"illud": ["sne", "sae"],
"illius": ["sgm", "sgf", "sge"],
"illi": ["sdm", "sdf", "sde", "pnm"],
"illum": ["sam"],
"illam": ["saf"],
"illo": ["slm", "sle"],
"illae": ["pnf"],
"illorum": ["pgm", "pge"],
"illis": ["pdm", "pdf", "pde", "plm", "plf", "ple"],
"illos": ["pam"],
"illas": ["paf"],
"iste": ["snm"],
"ista": ["snf", "slf", "pne", "pae"],
"istud": ["sne", "sae"],
"istius": ["sgm", "sgf", "sge"],
"isti": ["sdm", "sdf", "sde", "pnm"],
"istum": ["sam"],
"istam": ["saf"],
"isto": ["slm", "sle"],
"istae": ["pnf"],
"istorum": ["pgm", "pge"],
"istis": ["pdm", "pdf", "pde", "plm", "plf", "ple"],
"istos": ["pam"],
"istas": ["paf"],
"is": ["snm"],
"ea": ["snf", "slf", "pne", "pae"],
"id": ["sne", "sae"],
"eius": ["sgm", "sgf", "sge"],
"ei": ["sdm", "sdf", "sde", "pnm"],
"eum": ["sam"],
"eam":["saf"],
"eo": ["slm", "sle"],
"ea": ["slf", "pne", "pae"],
"ii": ["pnm"],
"eae": ["pnf"],
"eorum": ["pgm", "pge"],
"earum": ["pgf"],
"eis":["pdm", "pdf", "pde", "plm", "plf", "ple"],
"iis":["pdm", "pdf", "pde", "plm", "plf", "ple"],
"eos":["pam"],
"eas":["paf"],
"idem": ["snm", "sne", "sae"],
"eadem":["snf", "slf", "pne", "pae"],
"eiusdem": ["sgm", "sgf", "sge"],
"eidem": ["sdm", "sdf", "sde"],
"eundem": ["sam"],
"eandem": ["saf"],
"eodem": ["slm", "sle"],
"iidem": ["pnm"],
"eaedem": ["pnf"],
"eorundem": ["pgm", "pge"],
"earundem": ["pgf"],
"iisdem": ["pdm", "pdf", "pde", "plm", "plf", "ple"],
"eosdem": ["pam"],
"easdem": ["paf"],
"ipse": ["snm"],
"ipsa": ["snf", "slf", "pne", "pae"],
"ipsum": ["sne", "sam", "sae"],
"ipsius": ["sgm", "sgf", "sge"],
"ipsi": ["sdm", "sdf", "sde", "pnm"],
"ipsam": ["saf"],
"ipso": ["slm", "sle"],
"ipsae": ["pnf"],
"ipsorum": ["pgm", "pge"],
"ipsarum": ["pgf"],
"ipsis": ["pdm", "pdf", "pde", "plm", "plf", "ple"],
"ipsos": ["pam"],
"ipsas": ["paf"]
}
#https:#de.wikibooks.org/wiki/Latein/_Grammatik/_Pronomina/_Demonstrativpronomina
demonstrativpronomGRI = {
"ἥ": [],
"ὅ": [],
"ὅδε": ["snm"],
"ἥδε": ["snf"],
"τόδε": ["sne", "sae"],
"οἵδε": ["pnm"],
"αἵδε": ["pnf"],
"τάδε": ["pne", "pae"],
"τούτω": ["unm", "une", "uam", "uae"],
"ταύτα":["unf", "uaf"],
"τοῦδε": ["sgm", "sge"],
"τῆσδε": ["sgf"],
"τῶνδε": ["pgm", "pgf", "pge"],
"τούτοιν": ["ugm", "uge", "udm", "ude"],
"ταύταιν": ["ugf", "udf"],
"τῷδε": ["sdm", "sde"],
"τῇδε": ["sdf"],
"τοῖσδε": ["pdm", "pde"],
"ταῖσδε": ["pdf"],
"τόνδε": ["sam"],
"τήνδε": ["saf"],
"τούσδε": ["pam"],
"τάσδε": ["paf"],
"ἐκεῖνος": ["snm"],
"ἐκείνη": ["snf"],