-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.go
7629 lines (6226 loc) · 397 KB
/
definitions.go
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
package grhyph
import (
"fmt"
"regexp"
"strings"
)
// For a less error prone result, 'h' was removed from the vowels group, so that greeklish equivalents of
// words like "χροι-ά" [khri'a] (where 'h' acts as a consonant) are hyphenated as hroi-a instead of
// h-roi-a [iria].
const SpeechSoundRe = "(?i)(?P<punctuation>[\\s\\.,\\-–—―\\/'’\":!?;&@«»])|(?P<vowels>[ϊϋΐΰ]|[αa][ύυuy]|[εe][ύυuy]|[ηi][ύυuy]|[αa][ίιi]|[εe][ίιi]|[οo][ύυuy]|[οo][ίιi]|[άαa]|[έεe]|[ήηi]|[ίιi]|[όοo]|[ύυyu]|[ώωwo])|(?P<consonants>(?:[μm][πp]|b)|(?:[γg][κk]|[γg])|[νn][τtj]|[νn]|(?:[τt]h+|[θ8])|(?:[δd])|(?:[τtj][ζz]|j)|[ζz]|[τtj][σsc]|[σsc][τtj]|[βv]|[λl]|[μm]|(?:ks|κs|kσ|[ξx3])|[ρr]|[τt]|[φf]|[χx]|ch|(?:[pπ][σsc]|[ψ4])|[πp]|[σsc]|[κkq])|(?P<other>.?)"
// Valid Greek word starting consonants.
// Important: Verify the getWSCRe()'s conditions when altering.
const WordStartConsonantsRe = "(?i)^([βvb](?:[τt]h|[δdγgλlρr])|[γg](?:[τt]h|[δdκkqλlνnρr])|(?:[τt]h|[δd])[νn]|(?:[τt]h|[δd])[ρr]|(?:[τt]h|[θ8])[λlνnρr]|[κkq][βvb]|[κkq][λlνnρrj]|[κkq][τt]$|[μm][νnπp]|[νn][τtj][^h]|[πp][λlνnρrτtj]|[πp][φf]|[σsc](?:[τt](?:[^hθ8βvbγgκkqμmνnπpφfχx]|h)|[θ8βvbγgκkqλlμmπpφfχxh])|[σsc][νn]|[τt](?:[μm]$|[ζzρrσsc])|[φf](?:[τt]h?|[θ8λlρrχxh]|ch)|[φf][κkq]|(?:[χxh]|ch)(?:[θ8λlνnρr]|[τt]h?))"
type WSCReMapKey struct {
CombineConsonantsDn bool
CombineConsonantsKv bool
CombineConsonantsPf bool
CombineConsonantsSn bool
CombineConsonantsFk bool
}
var WSCReMap = map[*WSCReMapKey]*regexp.Regexp{}
// Get a WordStartConsonantsRe based on the combination options.
func GetWSCRe(combDn, combKv, combPf, combSn, combFk bool) *regexp.Regexp {
mapKey := &WSCReMapKey{combDn, combKv, combPf, combSn, combFk}
if _, ok := WSCReMap[mapKey]; ok {
return WSCReMap[mapKey]
} else {
wSCRe := WordStartConsonantsRe
if !combDn {
wSCRe = strings.Replace(wSCRe, "|(?:[τt]h|[δd])[νn]", "", 1)
}
if !combKv {
wSCRe = strings.Replace(wSCRe, "|[κkq][βvb]", "", 1)
}
if !combPf {
wSCRe = strings.Replace(wSCRe, "|[πp][φf]", "", 1)
}
if !combSn {
wSCRe = strings.Replace(wSCRe, "|[σsc][νn]", "", 1)
}
if !combFk {
wSCRe = strings.Replace(wSCRe, "|[φf][κkq]", "", 1)
}
WSCReMap[mapKey] = regexp.MustCompile(wSCRe)
return WSCReMap[mapKey]
}
}
// Vowel combinations prone to synizesis.
const SynizesisVowelsRe = "(?i)^([αάa][ηhιϊi]|[εe][ϊ]|[εe][ιi](?:[αάaοόoωώw]|[οo][υύuy])|[ιi](?:[αάaεέeοόoωώw]|[αa][ιίi]|[οo][ιίiυύuy])|[οόo](?:[ιiϊ]|[εe][ιi])|[οo][ιi](?:[αάaεέeοόoωώw]|[οo][ιίiυύuy])|[υuy][αάaιiοόoωώw])$"
var customRegexpsMap = map[string]string{ // todo: Test map records.
"(.*)": "(.*)",
"(.+)": "(.+)",
"^": "^",
"$": "$",
"(α)": "([αa])",
"(ά)": "(ά)",
"(α|ά)": "([αάa])",
"(α|ά|ε|έ|ω|ώ)": "([αάaεέeωώwοόo])",
"(α|ά|ας|άς)": "([αάa][σs]?)",
"(α|ο)": "([αaοo])",
"(α|ά|ω|ώ)": "([αάaοόoωώw])",
"(α|ε|ο|ω)": "([αaεeοoωw])",
"(α|ε|ω|ώ)": "([αaεeωώwοόo])",
"(α|ε|ω)": "([αaεeωwοo])",
"(α|ε)": "([αaεe])",
"(ά|έ)": "([άέ])",
"(ά|έ|ώ)": "([άέώό])",
"(α|ά|ας|άς|ες|ές|'ων'|'ών')": "([αάa][σs]?|[εέe][σs]|[ωώw][νn])",
"(α|ας|ες|ων)": "([αa][σs]?|[εe][σs]|[ωwοo][νn])",
"(α|ας|ες|ων 2)": "([αάa][σs]?|[εέe][σs]|[ωώwοόo][νn])",
"('ά'|'άς'|'ές'|'ών')": "([ά][σs]?|[έ][σs]|[ώό][νn])",
"(α|ες|οι|ους)": "([αa]|[εe][σs]|[οo](?:[ιi]|[υuy][σs]))",
"(α|κ)": "([αaκk])",
"(α|ας|ω|ώ|ως|ώς)": "([αa][σs]?|[ωώwοόo][σs])",
"(α|ας)": "([αa][σs]?)",
"(α|ας|ο|ου|'ως')": "([αa][σs]?|[οo][υuy]?|[ωw][σs])",
"(α|ο|ου|ων)": "([αa]|[οo][υuy]?|[ωwοo])",
"(α|ω)": "([αaοoωw])",
"(ά|ώ)": "([άόώ])",
"(α|ων)": "([αa]|[ωwοo][νn])",
"(α|ων|ών)": "([αa]|[ωώwοόo][νn])",
"(αι|αί|α|ά|ε|έ)": "([αa][ιίi]|[αάa]|[εέe])",
"(Α|Ά)": "((?-i:[ΑΆA]))",
"(β)": "([βvb])",
"(ββ|β)": "([βbv][βbv]?)",
"(Β)": "((?-i:[ΒVB]))",
"(β|μπ)": "([βvb]|[μm][πp])",
"(γ)": "([γg])",
"(!γ)": "([^γg])",
"(γ|στ|χ)": "([γg]|[σs][τt]|[χxh]|ch)",
"(γ|σ)": "([γgσs])",
"(γγ)": "([γg][γg])",
"(γκ)": "([γg][κk])",
"(γγ|γκ)": "([γg][γgκk])",
"(δ)": "([τt]h|[δd])",
"(Δ)": "((?-i:[ΤT][Hh]|[ΔD]))",
"(δ|ντ)": "([τt]h|[δd]|[νn][τt])",
"(ε)": "([εe])",
"(έ)": "(έ)",
"(αι|ε)": "([αa][ιi]|[εe])",
"(αι|αί|ε|έ)": "([αa][ιίi]|[εέe])",
"(αί|έ)": "([αa][ί]|[έ])",
"(ε|έ)": "([εέe])",
"(ε|έ|ο|ό)": "([εέeοόo])",
"(ε|ω)": "([εeωwοo])",
"(ε|έ|η|ή|ι|ί)": "([εέeηήhιίi])",
"(ε|η|ι)": "([εeηhιi])",
"(α|αν|ε|ες)": "([αa][νn]?|[εe][σs]?)",
"(ει)": "([εe][ιi])",
"(ει|ι)": "([εe][ιi]|[ιi])",
"(ε|έ|ι|ί)": "([εέeιίi])",
"(ει|εί|ι|ί)": "([εe][ιίi]|[ιίi])",
"(ευ|β)": "([εe][υuy]|[βvb])",
"(ζ)": "([ζz])",
"('Ζ')": "((?-i:[ΖZ]))",
"(ζ|σμ|στ)": "([ζz]|[σs][μm]|[σs][τt])",
"(ζ|σ|σμ|στ)": "([ζzσs]|[σs][μm]|[σs][τt])",
"(ζ|σ)": "([ζzσs])",
"(τζ|τσ)": "([τt][ζzσs]|j)",
"(ζ|κ|σμ|στ)": "([ζz]|[κk]|[σs][μmτt])",
"(ζ|ρ|σμ|στ)": "([ζz]|[ρr]|[σs][μmτt])",
"('η')": "([ηh])",
"(η)": "([ηhιi])",
"(η|ή)": "([ηήhιίi])",
"('η'|ϊ|ϋ)": "([ηhϊϋ])",
"(ης...)": "([εe]?[ιi][σs]|[εe][ωwοo][νnσs]|[ηhιi][σs]?)",
"(ης|η)": "([ηhιi][σs]?)",
"(ήπι-α)": "([αa](?:[μmτt][εe]|[νn][εe]?)?|[εe][σs]?)",
"(ισ?)": "([ιi][σs]?)",
"(ίσ?)": "([ιίi][σs]?)",
"(θ)": "([τt]h|[θ8])",
"(Ι)": "((?-i:[ΙI]))",
"(Ι|Ί)": "((?-i:[ΙΊI]))",
"(ι)": "([ιi])",
"(ι|ί)": "([ιίi])",
"(ί)": "(ί)",
"(ι|ί|ϊ|ΐ)": "([ιίϊΐi])",
"(ι|ϊ)": "([ιϊi])",
"(ϊ)": "(ϊ)",
"(ίς|ί)": "([ιίi][σs]?)",
"(ια|ιού|ιών)": "([αa]|[οo][υύuy]|[ωώwοόo][νn])",
"(ιά|ιού|ιών)": "([αάa]|[οo][υύuy]|[ωώwοόo][νn])",
"(ος|ού|ό|έ...)": "([οo](?:[υύuy][σs]?|[ιίi])|[οόo][σs]?|[εέe]|[ωώwοόo][νn])",
"(ολ-ος)": "([εe]|[οo](?:[ιiσs]|[υuy][σs]?)|[ωwοo][νn])",
"(στ|τ)": "([σs][τt]|[τt])",
"(κ)": "([κk])",
"(κκ|κ)": "([κk][κk]?)",
"(κ|χ)": "([κk]|[χxh]|ch)",
"(κ|σμ|στ)": "([κk]|[σs][μmτt])",
"(κος)": "([κk](?:[εe]|[οo](?:[ιi]|[σs]|[υuy][σs]?|[νn])?|[ωw][νn]))",
"(λ)": "([λl])",
"(λλ|λ)": "([λl][λl]?)",
"(λλ)": "([λl][λl])",
"(λ|ν)": "([λlνn])",
"(λ|ρ)": "([λlρr])",
"(μ)": "([μm])",
"(μμ|μ)": "([μm][μm]?)",
"(μ|ν|σ|τ)": "([μmνnσsτt])",
"(μπ)": "([μm][πp]|b)",
"(ν)": "([νn])",
"(νν|ν)": "([νn][νn]?)",
"(νν)": "([νn][νn])",
"(ντ)": "([νn][τt]|[νn]?d)",
"(ντ|σμ)": "([νn][τt]|d|[σs][μm])",
"(ξ)": "(k[σs]|κs|[ξx3])", // todo: Explain why no 'κσ' ("εξ-τριμ cases").
"(ο)": "([οo])",
"(ό)": "(ό)",
"(ο|ό)": "([οόo])",
"(ό|ή)": "([όή])",
"(ο|η)": "([οoηhιi])",
"(ο|ό|ε|έ|ω|ώ)": "([οόoεέeωώw])",
"(οι|ι)": "([οo][ιi]|[ιi])",
"(ο|ου)": "([oο][υuy]?)",
"(οι|οί|ι|ί)": "([οo][ιίi]|[ιίi])",
"(ου)": "([οo][υuy])",
"(ου|ού)": "([οo][υύuy])",
"(ου|υ|ι)": "([οo]?[υuy]|[ιi])",
"(π)": "([πp])",
"(ππ|π)": "([πp][πp]?)",
"(π|φ)": "([πpφf])",
"(ρρ|ρ)": "([ρr][ρr]?)",
"(ρ)": "([ρr])",
"(σ)": "([σs])",
"(σ|τ)": "([σsτt])",
"(σσ|σ)": "([σs][σs]?)",
"(σμ)": "([σs][μm])",
"(ς?)": "([σs]?)",
"(στ)": "([σs][τt])",
"(σμ|μ|ζ|τ|σ|ρ)": "([τt]|[ρr]|[μm]|[ζz]|[σs](?:[μm]|[τt])?)",
"(ειάζω)": "([ζz]|[νn]|[σs](?:[τtμm]|[αaεeοoωw]))",
"(τ)": "([τt])",
"(τ|τσ)": "([τt][σs]?)",
"(σ|τσ)": "([τt]?[σs])",
"(ν|τ)": "([νnτt])",
"(τσ)": "([τt][σs])",
"(τζ)": "([τt][ζz]|j)",
"(τ|σ)": "([τt]|[σs])",
"(υ)": "([υuy])",
"(υ|ύ)": "([υύuy])",
"(υ|β)": "([υuyβvb])",
"(υ|ύ|β)": "([υύuyβvb])",
"(υ|φ)": "([υuyφf])",
"(υ|ύ|φ)": "([υύuyφf])",
"(υ|ι)": "([υuyιi])",
"(υ|ύ|ι|ί)": "([υύuyιίi])",
"(φ)": "([φf])", // "ph" would conflict with "πη".
"(χ)": "([χxh]|ch)", // "ch" doesn't confict with "ση".
"(ψ)": "([pπ][σs]|[ψ4])",
"(ω|ώ|ο|ό)": "([ώωwοόo])",
"(ω)": "([ωwοo])",
"('ω')": "([ωw])",
"('ω|ώ')": "([ωώw])",
"(ώ)": "(ώ)",
"(ω|ώ)": "([ωώwοόo])",
"(ος|α|ο)": "([αa][σs]?|[εe][σs]?|[οo](?:[ιiσs]|[υuy][σs]?)?|[ωwοo][νn])",
"(ος|α|ο 2)": "([αάa][σs]?|[εέe][σs]?|[οόo][σs]?|[οo](?:[ιίi]|[υύuy][σs]?)|[ωώwοόo][νn])",
"(ος|η|ο)": "([αa]|[εe][σs]?|[ηhιi][σs]?|[οo](?:[σs]|[ιi]|[υuy][σs]?|[νn])?|[ωw][νn])",
"(ολ-ή)": "([εέe][σs]|[ηήh][σs]?|[ώό][νn])",
"(ολ-έας)": "([εέe](?:[αa][σs]?|[ωwοo][νn])|(?:[εe][ιίi]|[ιίi])[σs])",
"(ος...)": "([εe]|[οo](?:[ιi]|[σs]|[υuy][σs]?|[νn])?|[ωw][νn])",
"(ος|ός|ους|ούς)": "([οόo][υύuy]?[σs])",
"(ός...)": "([εέe]|[οo](?:[ιίi]|[υύuy][σs]?)|[οόo][σs]?|[ωώwοόo][νn])",
"(ι-άς...)": "([αάa][σs]?|[εέe][σs]|[ωώwοόo][νn])",
"(α|ά|ο|ό)": "([αάa]|[οόo])",
"(α|ά|ο|ό|ω|ώ)": "([αάa]|[οόo]|[ωώw])",
"(α|ά|ας|άς|ές|ών)": "([αάa][σs]?|[εέe][σs]|[ωώwοόo][νn])",
"(α|ά|ου|ού|ων|ών)": "([αάa]|[οo][υύuy]|[ωώwοόo][νn])",
"(α|ά|ου|ού)": "([αάa]|[οo][υύuy])",
"(α|ου)": "([αa]|[οo][υuy])",
"(α|ου|ού|ων|ών)": "([αa]|[οo][υύuy]|[ωώwοόo][νn])",
"(ε|έ|η|ή|ο|ό|ω|ώ)": "([εέe]|[ηήhi]|[οόo]|[ωώw])",
"(ι|ια|ου|ού|ων|ών)": "([ιi][αa]?|[οo][υύuy]|[ωώw][νn])",
"(αλ-ώ...)": "([εe]?[ιίi](?:[τt][εe]|[σs]?)|[οo][υύuy](?:[μm][εe]|[νn][εe]?|[σs][αa](?:[μmτt][εe]|[νn][εe]?)|[σs][εe][σs]?)|[ωώwοόo](?:[νn][τt][αa][σs])?)", // διαλώ
"(ας|ες|ων|ών|α)": "((?:[αa][σs])|(?:[εe][σs])|(?:[ωώw][νn])|[αa])",
"(ση|σης|σεων|σεως)": "([σs](?:[ηhιi][σs]?|[εe][ωwοo][νnσs]))",
"(άτ-ης...)": "([εe][σs]|[ηhιi][σs]?|[ιi][σs]{1,2}(?:[αa][σs]?|[εe][σs]?|[ωώwοόo][νn])|[ωώwοόo][νn])",
"(τ-ός, ή, ό)": "([εέe][σs]?|[οo](?:[ιίi]|[υύuy][σs]?)|[οόo][σs]?|[ωώwοόo][νn]|[αάa]|[ηήhιίi][σs]|)",
"(ι-ος)": "((?:[οo][υuy]?[σs]?)|(?:[αa][σs]?)|(?:[εe][σs]?)|(?:[οo](?:[ιi]|[σs]|[υuy])?)|(?:[ωw][νn]))",
"(αίνω...)": "([ηήhιίi][κk][αa](?:[μm][εe]|[νn][εe]?|[τt][εe])|[ηhιi][κk](?:[αa][νn]?|[εe][σs]?)|(?:[αa][ιίi]|[εέe])[νn](?:[αa](?:[μm][εe]|[νn][εe]?|[τt][εe])|(?:[εe][ιi]|[ιi])[σs]?|[εe][τt][εe]|[οo](?:[μm][εe]|[νn][τt][αa][σs]|[υuy](?:[μm][εe]|[νn][εe]?))?|[ωw])|(?:[αa][ιi]|[εe])[νn](?:[αa][νn]?|[εe][σs]?)|(?:[εe][ιίi]|[ιίi])(?:[σs]|[τt][εe])?|[οo][υύuy](?:[μm][εe]|[νn][εe]?)|[ωώwοόo])",
"(έμαι)": "([εέe](?:[μm](?:[αa][ιi]|[εe])|[σs](?:[αa][ιi]|[εe]|[τt][εe])|[τt](?:[αa][ιi]|[εe]))|[οo][υύuy][νn][τt](?:[εe]|[αa][ιiνn])|[οόo](?:[μm](?:[αa][σs][τt](?:[αa][νn]|[εe])|[οo][υuy][νn][αa]?)|[νn][τt](?:[αa](?:[ιi]|[νn][εe]?)|[οo][υuy][σs][αa][νn])|[σs](?:[αa][σs][τt](?:[αa][νn]|[εe])|[οo][υuy][νn][αa]?)|[τt][αa][νn][εe]?))",
"(-έγω)": "([εέe](?:[γg](?:[αa](?:[μmτt][εe]|[νn][εe]?)|(?:[εe][ιi]|[ιi])[σs]?|[εe](?:[σsτt](?:[αa][ιi]|[εe])|[σs][τt][εe])|[οo](?:(?:[μm]|[νn][τt])(?:[αa][ιi]|[εe])|[νn][τt][αa][νnσs]|[υuy](?:[μm][εe]|[νn][εe]?))?|[ωw])|(?:k(?:s|σ)|κs|[ξx3])(?:[αa](?:[μmτt][εe]|[νn][εe]?)|(?:[εe][ιi]|[ιi])[σs]?|[εe][τt][εe]|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?)?)?|[τt][εe]|[ωw])|(?:[χxh]|ch)[τt][ηhιi][κk](?:[αa][νn]?|[εe][σs]?))|[εe](?:[γg](?:[αa][νn]?|[εe][σs]?|[μm][εέe][νn].*|[οόo](?:[μm](?:[αa][σs][τt](?:[αa][νn]|[εe])|[οo][υuy][νn][αa]?)|[νn][τt](?:[αa][νn][εe]|[οo][υuy][σs][αa][νn])|[σs](?:[αa][σs][τt](?:[αa][νn]|[εe])|[οo][υuy][νn][αa]?)|[τt][αa][νn][εe]?))|(?:k(?:s|σ)|κs|[ξx3])(?:[αa][νn]|[εe][σs]?)|(?:[χxh]|ch)[τt](?:[ηήhιίi][κk](?:[αa](?:[μmτt][εe]|[νn][εe]?))|(?:[εe][ιίi]|[ιίi])(?:[σs]|[τt][εe])?|[οo][υύuy](?:[μm][εe]|[νn][εe]?)|[ωώwοόo])))",
"(ά-ζω)": "([ζzσs](?:[αa](?:[μm][εe]|[νn][εe]?|[τt][εe])?|[εέe](?:[ιi][σs]?|[σs]|[τt][εe])?|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?))?|[ωw])|[ζz](?:[εe](?:[σs](?:[εe]|[αa][ιi]|[τt][εe])|[τt](?:[εe]|[αa][ιi]))|[οo](?:[μm][αa][ιi]|[νn][τt](?:[εe]|[αa][ιiνnσs]))|[οόo](?:[μmσs](?:[αa](?:[σs][τt](?:[αa][νn]|[εe]))|[οo][υuy][νn][αa]?)|[νn][τt](?:[αa][νn][εe]|[οo][υuy][σs][αa][νn])|[τt][αa][νn][εe]?))|[σs](?:[μm][εέe][νn].*|[οo][υuy]|[τt](?:[ηhήιίi][κk][αa](?:[μm][εe]|[νn][εe]?|[τt][εe])|[ηhιi][κk](?:[αa]|[εe][σs]?)|[εe](?:[ιίi](?:[σs]|[τt][εe])?)?|[οo][υύuy](?:[μm][εe]|[νn][εe]?)|[ωώwοόo])))",
"(ώ-νω)": "([νnσs](?:[αa](?:[μm][εe]|[νn][εe]?|[τt][εe])?|[εέe](?:[ιi][σs]?|[σs]|[τt][εe])?|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?))?|[ωw])|[νn](?:[εe](?:[σs](?:[εe]|[αa][ιi]|[τt][εe])|[τt](?:[εe]|[αa][ιi]))|[οo](?:[μm][αa][ιi]|[νn][τt](?:[εe]|[αa][ιiνnσs]))|[οόo](?:[μmσs](?:[αa](?:[σs][τt](?:[αa][νn]|[εe]))|[οo][υuy][νn][αa]?)|[νn][τt](?:[αa][νn][εe]|[οo][υuy][σs][αa][νn])|[τt][αa][νn][εe]?))|[σs](?:[μm][εέe][νn].*|[οo][υuy]|[τt](?:[ηhήιίi][κk][αa](?:[μm][εe]|[νn][εe]?|[τt][εe])|[ηhιi][κk](?:[αa]|[εe][σs]?)|[εe](?:[ιίi](?:[σs]|[τt][εe])?)?|[οo][υύuy](?:[μm][εe]|[νn][εe]?)|[ωώwοόo])))",
"(α...)": "([αa](?:[μm][εe]|[νn][εe]?|[τt][εe])?|[εe](?:[ιi][σs]?|[σs]|[τt][εe])?|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?))?|[τt][εe]|[ωw])",
"(βιά-ζω)": "([αάa](?:[ζz](?:[αa](?:[μmτt][εe]|[νn][εe]?)|[εe](?:[ιi][σs]?|[σs](?:[αa][ιi]|[τt][εe])|<τt]($6?:[αa][ιi]|[εe]))|[οόo](?:[μm](?:[αa](?:[ιi]|[σs][τt](?:[αa][νn]|[εe]))|[εe]|[οo][υuy][νn][αa]?)|[νn][τt](?:[αa](?:[ιiσs]|[νn][εe]?)|[οo][υuy][σs][αa][νn])|[σs](?:[αa][σs][τt](?:[αa][νn]|[εe])|[οo][υuy][νn][αa]?)|[τt][αa][νn][εe]?[υuy](?:[μm][εe]|[νn][εe]?))|[ωwοo])|[σs](?:[αa](?:[μmτt][εe]|[νn][εe]?)|[εe](?:[ιi][σs]?|[τt][εe])|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?)?)|[τt](?:(?:[εe][ιίi]|[ιίi])(?:[σs]|[τt][εe])?|[εe]|[ηήhιίi](?:[κk](?:[αa](?:[μmτt][εe]|[νn][εe]?)?|[εe][σs]?))|[οo][υύuy](?:[μm][εe]|[νn][εe]?)|[ωώwοόo])|[ωwοo])))",
"(ιώ-ξω)": "([αa](?:[μmτt][eε]|[νn][εe]?)?|[εe](?:[ιi][σs]?|[σs]|[τt][εe])?|[οo](?:[μm][εe]|[υuy](?:[μm][εe]|[νn][εe]?)?)?|[τt][εe]|[ωw])",
"(στος|στη|στο)": "([σs][τt](?:[αa]|[εe](?:[σs])?|[ηhιi](?:[σs])?|[οo](?:[ιi]|[σs]|[υuy](?:[σs])?|[νn])?|[ωw][νn]))",
"(-ιάση)": "([αάa][σs](?:[εe]?[ιi][σs]|[εe][ωwοo][νnσs]|[ηhιi][σs]?))",
"(ους|ούς|ες|ές|ων|ών|ου|ού|α|ά|ε|έ|ο|ό)": "((?:[οo][ύυuy][σs])|(?:[εέe][σs])|(?:[ωώw][νn])|(?:[οo][ύυuy])|[αάa]|[εέe]|[οόo])",
}
type GrhyphRule struct {
CompiledCustomRe *regexp.Regexp
Replacement string
}
// Transforms the custom regexps into the canonical format, and compiles the result.
func customRegexpCompile(grhyphRegexps []string) *regexp.Regexp {
var canonRegexp []byte
canonRegexp = append(canonRegexp, "(?i)"...)
for _, grhyphRegexp := range grhyphRegexps {
if mappedRe, ok := customRegexpsMap[grhyphRegexp]; ok {
canonRegexp = append(canonRegexp, mappedRe...)
} else {
canonRegexp = append(canonRegexp, grhyphRegexp...)
// debug
fmt.Println("warning: custom regexp not found in map", grhyphRegexp) // todo: Error.
}
}
return regexp.MustCompile(string(canonRegexp[:])) // todo: Error instead of panic.
}
// This list catalogs whole words, or parts of words, for which synizesis is most likely to occur.
// Rules to separate vowels may also exist, useful for words where accents/diacritics are missing (e.g. Greeklish).
var GrhyphRules = []GrhyphRule{
// GrhyphRule{customRegexpCompile([]string{}), ""},
// αβάισσα, αβάισα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ββ|β)", "(α)", "(ι)", "(σσ|σ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*βαισ*&dq=
// Αγλαΐα, αγλαΐζω, αγλάισμα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γ)", "(λ)", "(α)", "(ι|ί)", "(.*)"}), "$1$2$3$4$5>-<$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγλαί*&dq=
// Αδελαΐδα (adela-ida)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(δ)", "(ε)", "(λ)", "(α)", "(ι|ί)", "(δ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*δελαιδ*&dq=
// αδενοϋπόφυση
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(υ)", "(π)", "(ο)", "(φ)", "(.*)"}), "$1$2>-<$3$4$5$6$7"},
// http://multilingual.sensegates.com/ΟΥΠΟΦ/string.html
// αδιανόητα (adiano-ita)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ν)", "(ο)", "(ι)", "(τ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ανοιτ*&dq=
// ναυσιπλοίαρχος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(α|ά)", "(ρ)", "(.*)"}), "$1$2$3$4>$5-<$6$7$8"},
// ποντοπλοΐα (ποντοπλο-ια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(ντ)", "(ο)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(.*)"}),
"$1$2$3$4$5$6$7>-<$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αυσιπλο*&dq=
// ακτοπλοΐα (ακτοπλο-ια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(τ)", "(ο)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*τοπλοι*&dq=
// αξιοπλοΐα (αξιοπλο-ια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ξ)", "(ι)", "(ο)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(.*)"}), "$1$2$3$4$5$6$7>-<$8$9"},
// *ξιοπλοι*
// ιστιοπλοΐα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(στ)", "(ι)", "(ο)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(.*)"}), "$1$2$3$4$5$6$7>-<$8$9"},
// todo: όπλοια rule?
// ναυσιπλοΐα (ναυσιπλο-ια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(υ|φ)", "(σ)", "(ι)", "(π)", "(λ)", "(ο)", "(ι|ί)", "(.*)"}),
"$1$2$3$4$5$6$7$8>-<$9$10"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αυσιπλο*&dq=
// αεροπλοΐα (αεροπλο-ια, όμως αεροπλοι-αρχος και διαστημόπλοι-α)
// GrhyphRule{customRegexpCompile(
// []string{"(.+)", "(π)", "(λ)", "(ο)", "(ί)", "(α)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*πλοια*&dq=
// αεροπλοϊκός (αεροπλο-ικος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(λ)", "(ο)", "(ι)", "(κ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*ΠΛΟΙΚ*&dq=
// Αζερμπαϊτζάν
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(μπ)", "(α)", "(ι)", "(τ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*μπαϊτ*&dq=
// αζωικός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ζ)", "(ο)", "(ι)", "(κ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ζωικ*&dq=
// άηχος (a-ixos)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι)", "(χ)", "(ο)", "(.*)"}), "$1$2>-$3-$4<$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αιχο*&dq=
// αθεΐα (αθε-ια)
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(θ)", "(ε)", "(ι)", "(α|ά)", "(φ)", "(.*)"}), "$1-$2$3$4$5-<$6$7"},
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(θ)", "(ε)", "(ι|ί)", "(α)", "(.*)"}), "$1$2$3>-<$4$5$6"}, //"$1-$2$3-<$4$5$6"
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=αθεια*&dq=
// αθεΐζω, αθεϊσμός, αθεϊστής
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(θ)", "(ε)", "(ι|ί)", "(ζ|σμ|στ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*θειζ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*θεισμ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*θειστ*&dq=
// αθηναϊκός (αθηνα-ικος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(η)", "(ν)", "(α)", "(ι)", "(κ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ηναικ*&dq=
// αϊκιού (α-ϊ-κιού)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ί|ϊ|ΐ)", "(κ)", "(ι)", "(ο)", "(.*)"}), "$1$2>-$3-$4$5<$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αικιου*&dq=
// αϊλάινερ (α-ι-λ-α-ι-νερ)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ί|ϊ|ΐ)", "(λ)", "(α|ά)", "(ι|ί|ϊ|ΐ)", "(.*)"}), "$1$2>-$3-$4$5-<$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αιλάι*&dq=
// Αϊνστάιν, αϊνσταΐνιο
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ϊ)", "(ν)", "(στ)", "(α)", "(ι|ί|ϊ|ΐ)", "(.*)"}), "$1$2>-$3$4-$5$6-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αϊνστα*&dq=
// αϊράνι (α-ιρανι)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ϊ)", "(ρ)", "(α)", "(ν)", "(ι)", "(α|ά|ο|ό|ω|ώ)", "(.*)"}), "$1$2>$3-$4$5-$6$7<$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αιράν*&dq=
// Αϊτή
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(ι|ϊ)", "(τ)", "(η|ή)", "(ς?)", "$"}), "$1-$2-$3$4$5"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*Αϊτήσ*&dq=
// Αϊτινός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ϊ)", "(τ)", "(ι)", "(ν)", "(ε|έ|η|ή|ο|ό|ω|ώ)", "(.*)"}), "$1$2>-<$3$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*Αϊτιν*&dq=
// Αϊ (Αϊ-βαλί), άι (άι-Γιάννης)
GrhyphRule{customRegexpCompile(
[]string{"^", "(ά)", "(ι)", "(.*)"}), "$1<$2$3"}, //^άι
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(ϊ)", "(.*)"}), "$1<$2$3"}, //^αϊ
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=αι*&dq=
// αϊβαλιώτης, αϊβαλιώτικος, αϊβαλιώτισσα, ...
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ι|ί|ϊ|ΐ)", "(β)", "(α)", "(λ)", "(ι)", "(α|ά|ο|ό|ω|ώ)", "(.*)"}), "$1$2-$3$4-$5$6<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αιβα*&dq=
// αϊδίνι (α-ιδινι)
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(ι)", "(δ)", "(ι|ί)", "(ν)", "(.*)"}), "$1-<$2$3$4$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=αϊδίν*&dq=
// αΐδιος (α-ιδιος)
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(ι|ί)", "(δ)", "(ι)", "(.*)"}), "$1-$2-<$3$4$5"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=αιδι*&dq=
// αιμορροϊδες (αιμορρο-ιδες)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(μ)", "(ο)", "(ρρ|ρ)", "(ο)", "(ι|ί)", "(δ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*μοροϊδ*&dq=
// αϊνάς (α-ινας)
GrhyphRule{customRegexpCompile(
[]string{"^", "(α)", "(ι)", "(ν)", "(α|ά)", "(.*)"}), "$1-<$2$3$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=αϊνά*&dq=
// ακαδημαϊκός (ακαδημα-ικος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(δ)", "(η)", "(μ)", "(α)", "(ι|ί)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αδημαϊ*&dq=
// ακαΐα (ακα-ια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(κ)", "(α)", "(ι)", "(α)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ακαια*&dq=
// ακατανόητα (akatano-ita)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ν)", "(ο)", "(ι)", "(τ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=40&lq=*ανόητ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ανόιτ*&dq=
// ακορόιδευτος (ακο-ρόι-δευτος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(ρ)", "(ο|ό)", "(ι|ϊ)", "(δ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ορόιδ*&dq=
// ακρολεΐνη (ακρολε-ινη)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(ο)", "(λ)", "(ε)", "(ι|ί)", "(ν)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρολεΐν*&dq=
// αλαφροΐσκιωτος (αλαφρο-ισκιωτος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(ι|ί|ϊ|ΐ)", "(σ)", "(κ)", "(ι)", "(ω|ώ)", "(.*)"}), "$1$2>-$3-$4$5$6<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*οΐσκιω*&dq=
// ακτινοϋποδοχέας (ακτινο-υποδοχέας)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ν)", "(ο)", "(υ|ι)", "(π)", "(ο)", "(δ)", "(.*)"}), "$1$2$3>-<$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*νοϋποδ*&dq=
// αλδεΰδη (αλδε-υδη)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(λ)", "(δ)", "(ε)", "(υ|ύ)", "(.*)"}), "$1$2$3$4>-<$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*λδευ*&dq=
// καϊκάκι
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ι|ϊ)", "(κ)", "(α|ά)", "(κ)", "(ι)", "(α|ά|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6$7><$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ικάκι*&dq=
// καΐκι, καϊκιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(κ)", "(α)", "(ι|ί|ϊ|ΐ)", "(κ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3>-$4-$5$6<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*καικι*&dq=
// αλκαϊκός (αλκα-ικος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(κ)", "(α)", "(ι|ί|ϊ|ΐ)", "(κ)", "(.*)"}), "$1$2$3>-<$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*καϊκ*&dq=
// αλληλοϋποστήριξη
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(λ)", "(ο)", "(υ|ι)", "(π)", "(ο)", "(στ)", "(.*)"}), "$1$2$3>-<$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*λοϋποστ*&dq=
// αλταϊκός (αλτα-ικος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(λ)", "(τ)", "(α)", "(ι)", "(κ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*λταικ*&dq=
// Αλτσχάιμερ (Αλτσ-χάι-μερ)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(λ)", "(τσ)", "(χ)", "(α|ά)", "(ι)", "(μ)", "(.*)"}), "$1$2$3>-$4$5$6-<$7$8"},
// http://lexilogia.gr/forum/showthread.php?13995-Ο-συλλαβισμός-των-λέξεων&p=249383&viewfull=1#post249383
// αμινοξεϊκός (aminokse-ikos)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(ξ)", "(ε)", "(ι)", "(κ)", "(.*)"}), "$1$2>-$3$4-$5<$6$7$8"},
// *οξεϊκ*
// αμφισσαϊκός (αμφισσα-ικός)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ι)", "(σσ|σ)", "(α)", "(ι)", "(κ)", "(.*)"}), "$1$2$3$4>-<$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ισαϊκό*&dq=
// αναπνοή (anapno-i)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ν)", "(α)", "(π)", "(ν)", "(ο)", "(ι)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ναπνοι&dq=
// ανατολικοευρωπαϊκός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ω)", "(π)", "(α)", "(ι)", "(κ|σμ|στ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρωπαϊκ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ωπαισ*&dq=
// ανευθυνοϋπεύθυνος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(υ|ι)", "(π)", "(ε)", "(υ|ύ|φ)", "(θ)", "(.*)"}), "$1$2>-<$3$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ουπέυ*&dq=
// ανισοϋψής (ανισο-υψης)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ι)", "(σ)", "(ο)", "(υ|ι)", "(ψ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ισοϋψ*&dq=
// ανοησία (ano-isia)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(ν)", "(ο)", "(ι)", "(σ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ανοιτ*&dq=
// ανοσοϊστοχημεία (ανασο-ιστοχημεια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ν)", "(ο)", "(σ)", "(ο)", "(ι)", "(στ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*νοσοϊστ*&dq=
// αντιλαϊκά (αντιλα-ικά)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(λ)", "(α)", "(ι)", "(κ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=20&lq=*λαϊκ*&dq=
// αντινατοϊκός (αντινατο-ικός)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ν)", "(α)", "(τ)", "(ο)", "(ι)", "(κ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*νατοικ*&dq=
// αντιηρωικός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(η)", "(ρ)", "(ο)", "(ι)", "(κ|σμ|στ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ηρωικ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ιροικ*&dq=
// αουτσάιντερ (αουτσα-ιντερ)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(σ)", "(α)", "(ι)", "(ντ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*σαιντερ*&dq=
// απαλλιώς
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(π)", "(α)", "(λλ|λ)", "(οι|ι)", "(ω|ώ)", "(σ)", "$"}), "$1$2$3$4$5$6><$7$8"},
// απαρτχάιντ
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(τ)", "(χ)", "(α)", "(ι)", "(ντ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*τχάιντ*&dq=
// αποηχηροποίηση (apo-ixiropoiisi)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(ο)", "(ι)", "(χ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ποηχ*&dq=
// αποϊδρυματισμός (απο-ιδρυματισμός)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(ο)", "(ι)", "(δ)", "(ρ)", "(.*)"}), "$1$2$3>-<$4$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ποϊδρ*&dq=
// αποκαΐδια (αποκα-ι-δια)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(κ)", "(α)", "(ι|ί|ϊ|ΐ)", "(δ)", "(ι)", "(α)", "(.*)"}), "$1$2$3$4>-$5-$6$7<$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*οκαίδια*&dq=
// απονενοημένος (απενο-ιμενος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ε)", "(ν)", "(ο)", "(ι)", "(μ)", "(ε)", "(.*)"}), "$1$2$3$4>-<$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ενοιμέ*&dq=
// αποϋλοποίηση (απο-υλοποιηση)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(π)", "(ο)", "(υ|ι)", "(λ)", "(ο)", "(π)", "(.*)"}), "$1$2$3$4>-<$5$6$7$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*απουλοπ*&dq=
// απράυντος (απρα-υντος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(ρ)", "(α)", "(υ|ύ|ι|ί)", "(ντ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*πράυντ*&dq=
// απρονόητος (aprono-itos), απρονοησία
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(ν)", "(ο)", "(ι)", "(τ|σ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ονόιτ*&dq=
// απτόητα (apto-ita)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(π)", "(τ)", "(ο)", "(ι|ί)", "(τ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*απτοιτ*&dq=
// αραμαϊκός (αραμα-ικός)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(μ)", "(α)", "(ι|ί)", "(κ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αμαϊκ*&dq=
// αραχνοΰφαντος (αραχνο-ύφαντος), αραχνοΰφασμα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(χ)", "(ν)", "(ο)", "(υ|ύ|ι|ί)", "(φ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*χνουφ*&dq=
// αργατολόι (αργατολο-ι)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(γ)", "(α)", "(τ)", "(ο)", "(λ)", "(ο)", "(ι)", "(.*)"}), "$1$2$3$4$5$6$7$8>-<$9$10"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ργατολόι*&dq=
// αργυροχοΐα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(χ)", "(ο)", "(ι|ί)", "(α)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*οχοΐα*&dq=
// αρνησιθεΐα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(η)", "(σ)", "(ι)", "(θ)", "(ε)", "(ι|ί)", "(α)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ησιθεΐα*&dq=
// Άρπυια (Άρπυι-α)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(π)", "(υ)", "(ι)", "(.*)"}), "$1$2$3$4><$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρπυι*&dq=
// Αρσινόη
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(σ)", "(ι)", "(ν)", "(ο)", "(ι)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρσινόη*&dq=
// αρχαΐζω
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(χ)", "(α)", "(ι|ί)", "(ζ|κ|σμ|στ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρχαιζ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρχαικ*&dq=
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ρχαϊσ*&dq=
// αρχαιοϊστορικός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ρ)", "(χ)", "(αι|ε)", "(ο)", "(ι)", "(στ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// ρχαιοϊστ
// αρχοντολόι
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ντ)", "(ο)", "(λ)", "(ο)", "(ι)", "(.*)"}), "$1$2$3$4$5>-<$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ντολόι*&dq=
// ασυνεννόητα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ν)", "(ε)", "(νν|ν)", "(ο)", "(ι|ί)", "(σ|τ)", "(.*)"}), "$1$2$3$4$5>-<$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*νεννόητ*&dq=
// αστεΐζομαι, αστεϊσμός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(στ)", "(ε)", "(ι|ί)", "(ζ|σμ|στ)", "(.*)"}), "$1$2$3>-<$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*στεΐσ*&dq=
// ατάιστος (ατα-ιστος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(τ)", "(α)", "(ι)", "(στ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αταιστ*&dq=
// ατμοηλεκτρικός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(τ)", "(μ)", "(ο)", "(ι)", "(λ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*τμοηλ*&dq=
// ατμόιππος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(τ)", "(μ)", "(ο)", "(ι)", "(π)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*τμοιπ*&dq=
// αϋπνία
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(υ|ι)", "(π)", "(ν)", "(.*)"}), "$1$2>-<$3$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αυπν*&dq=
// αυτηκοΐα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(η)", "(κ)", "(ο)", "(ι|ί)", "(α)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ηκοΐα*&dq=
// αυτοϊκανοποίηση
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(τ)", "(ο)", "(ι)", "(κ)", "(α)", "(ν)", "(.*)"}), "$1$2$3>-<$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*τοϊκαν*&dq=
// Αχαΐα, αχαϊκός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(χ)", "(α)", "(ι|ί)", "(α|κ)", "(.*)"}), "$1$2$3$4>-<$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αχαια*&dq=
// αχάιδευτος (α-χάι-δευτος, α-χαϊ-δευτος)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(χ)", "(α|ά)", "(ι|ϊ)", "(δ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αχάιδε*&dq=
// αχαΐρευτος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(χ)", "(α)", "(ι|ί)", "(ρ)", "(ε)", "(υ|φ)", "(.*)"}), "$1$2$3>-<$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*χαΐρευ*&dq=
// αχολόημα (axolo-ima)
// GrhyphRule{customRegexpCompile(
// []string{"(.*)", "(ο)", "(λ)", "(ο)", "(ι|ί)", "(μ)", "(α)", "(.*)"}), "$1$2$3$4>-<$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*ολοιμα*&dq=
// αχολόι
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(χ)", "(ο)", "(λ)", "(ο)", "(ι)", "(.*)"}), "$1$2$3$4$5$6>-<$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αχολόι*&dq=
// αβανιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(β)", "(α)", "(ν)", "(ι)", "(α|ά)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αβανια*&dq=
// αβάν πρεμιέρ
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(ρ)", "(ε|έ)", "(μ)", "(ι)", "(ε|έ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*πρεμιέ*&dq=
// αβαριάτος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(β)", "(α|ά)", "(ρ)", "(ι)", "(α|ά)", "(τ)", "(.*)"}), "$1$2$3$4$5><$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*βαριάτ*&dq=
// αβροχιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(β)", "(ρ)", "(ο|ό)", "(χ)", "(ι)", "(α|ά)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*βροχιά*&dq=
// αγαθιάρης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α|ά)", "(θ)", "(ι)", "(α|ά)", "(ρ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αθιάρ*&dq=
// αγάλια, αγάλλιασμα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γ)", "(α|ά)", "(λ)", "(ι)", "(α)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γ)", "(ά)", "(λλ|λ)", "(ι)", "(α)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγάλια*&dq=
// αγαπησιάρης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(π)", "(η)", "(σ)", "(ι)", "(α|ά)", "(ρ)", "(.*)"}), "$1$2$3$4$5><$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*πησιάρ*&dq=
// αγγελιάζομαι
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ε|έ)", "(λ)", "(ι)", "(α|ά)", "(ζ|σμ|στ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γελιάζ*&dq=
// αγγουριά, αγγούρια
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ου|ού)", "(ρ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5><$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γουρια*&dq=
// todo: ολιγουρία ?
// αγδίκιωτος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(δ)", "(ι|ί)", "(κ)", "(ι)", "(ω|ώ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γδίκιω*&dq=
// αγελαδήσιος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(δ)", "(η|ή)", "(σ)", "(ι)", "(α|ε|ο|ω)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αδίσιο*&dq=
// άγιος
GrhyphRule{customRegexpCompile(
[]string{"^", "(α|ά)", "(γ)", "(ι)", "(ι-ος)", "$"}), "$1-$2$3$4"},
// αγιάζι
// GrhyphRule{customRegexpCompile(
// []string{"(.*)", "(α)", "(γ)", "(ι)", "(α|ά)", "(ζ)", "(ι)", "(α)", "(.*)"}), "$1$2>-$3$4$5-$6$7<$8$9"},
// GrhyphRule{customRegexpCompile(
// []string{"(.*)", "(α)", "(γ)", "(ι)", "(α|ά)", "(ζ)", "(ι)", "(.*)"}), "$1$2$3$4><$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγιάζι*&dq=
// αγιάζω
GrhyphRule{customRegexpCompile(
[]string{"^", "(α|ά)", "(γ)", "(ι)", "(α|ά)", "(ά-ζω)", "$"}), "$1$2$3><$4$5"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγιάζω*&dq=
// άγιασμα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ά)", "(γ)", "(ι)", "(α)", "(σ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// todo: fix: άγιασμα, αγιάσματος
// αγιαστήρα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(α)", "(στ)", "(η|ή)", "(ρ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιαστήρ*&dq=
// αγιαστούρα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(α)", "(στ)", "(ου|ού)", "(ρ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιαστούρ*&dq=
// αγιατολάχ
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γ)", "(ι)", "(α)", "(τ)", "(ο)", "(λλ|λ)", "(.*)"}), "$1$2$3$4><$5$6$7$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγιατολ*&dq=
// αγιάτρευτα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(α|ά)", "(τ)", "(ρ)", "(.*)"}), "$1$2$3><$4$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=20&lq=*γιάτρ*&dq=
// αγιοβασιλιάτικα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(β)", "(α)", "(σ)", "(ι)", "(λ)", "(ι)", "(α|ά)", "(.*)"}),
"$1>-$2$3$4-$5$6-$7$8-$9$10<$11$12"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιοβασιλιάτ*&dq=
// Αγιοβασίλης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(β)", "(α)", "(σ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιοβασ*&dq=
// αγιοβότανο
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(β)", "(ο|ό)", "(τ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιοβότ*&dq=
// αγιογδύτης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(γ)", "(δ)", "(.*)"}), "$1$2$3><$4$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιογδ*&dq=
// αγιοδημητριακός
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(δ)", "(η)", "(μ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγιοδημ*&dq=
// αγιοκέρι
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(κ)", "(ε|έ)", "(ρ)", "(ι)", "(α)", "(.*)"}), "$1$2$3>$4-$5$6-$7$8<$9$10"},
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(κ)", "(ε|έ)", "(ρ)", "(.*)"}), "$1$2$3>$4-<$5$6$7$8"},
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(ο)", "(κ)", "(ε|έ)", "(ρ)", "(ι)", "(α|ά)", "$"}), "$1$2$3$4$5$6>$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*κέρι&dq=
// todo kalokairiwn, kakokairi-wn "(αι|αί|ε|έ)"
// αγιόκλημα
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο|ό)", "(κ)", "(λ)", "(.*)"}), "$1$2$3><$4$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιόκλ*&dq=
// Αγιονορείτης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(ν)", "(ο)", "(ρ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιονορ*&dq=
// Αγιορειτικός (Αγι-ορειτικός)
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(ρ)", "(ει|ι)", "(τ)", "(ι)", "(κ)", "(ό|ή)", "(.*)"}),
"$1$2$3>-<$4$5$6$7$8$9$10$11"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιοριτικο*&dq=
// Αγιορείτικος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(ρ)", "(ει|εί|ι|ί)", "(τ)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιορειτ*&dq=
// αγιοστράτηγος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ο)", "(στ)", "(ρ)", "(α|ά)", "(.*)"}), "$1$2$3><$4$5$6$7$8"},
// *γιοστρά*
// αγιούπας
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ι)", "(ου|ού)", "(π)", "(.*)"}), "$1$2$3><$4$5$6"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γιούπ*&dq=
// αγκαθένιος
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γγ|γκ)", "(α)", "(θ)", "(ε|έ)", "(ν)", "(ι)", "(α|ε|ο|ω)", "(.*)"}),
"$1$2$3$4$5$6$7><$8$9"},
// http://www.neurolingo.gr/en/online_tools/lexiscope.htm?term=αγκαθένιος
// αγκαθιά, αγκάθια, αγκαθιώνας
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γγ|γκ)", "(α|ά)", "(θ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5><$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*γκαθι*&dq=
// αγκαλιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γγ|γκ)", "(α|ά)", "(λ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5><$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*αγκαλιά*&dq=
// αγκιναριά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γγ|γκ)", "(ι)", "(ν)", "(α|ά)", "(ρ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}),
"$1$2$3$4$5$6$7><$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γκιναριά*&dq=
// αγκιναροκούκια
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(κ)", "(ου|ού)", "(κ)", "(ι)", "(α|ά|ω|ώ)", "(.*)"}), "$1$2$3$4$5><$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*κούκι*&dq=
// αγκιστριά, αγκίστρια
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γγ|γκ)", "(ι|ί)", "(στ)", "(ρ)", "(ι)", "(α|ά|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γκίστρια*&dq=
// αγκωνιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γκ)", "(ω)", "(ν)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*γκωνι*&dq=
// αγνάντια
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ν)", "(α|ά)", "(ντ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?start=10&lq=*γνάντι*&dq=
// αγουστιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ου)", "(στ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5><$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γουστι*&dq=
// Αγραφιώτης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ρ)", "(α)", "(φ)", "(ι)", "(ω|ώ)", "(τ)", "(.*)"}), "$1$2$3$4$5$6><$7$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γραφιώτ*&dq=
// αγριελιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ρ)", "(ι)", "(ε)", "(λ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6$7><$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γριελι*&dq=
// Αγρινιώτης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ρ)", "(ι)", "(ν)", "(ι)", "(ω|ώ)", "(τ)", "(.*)"}), "$1$2$3$4$5$6><$7$8$9"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γρινιώτ*&dq=
// αγροτιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ρ)", "(ο)", "(τ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6><$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γροτιά*&dq=
// αγρυπνιά
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ρ)", "(υ)", "(π)", "(ν)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4$5$6$7><$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγρύπνια*&dq=
// αγυιά, αγυιόπαιδο
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(α)", "(γ)", "(υ)", "(ι)", "(α|ά|ε|έ|ω|ώ)", "(.*)"}), "$1$2$3$4><$5$6$7"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*αγυι*&dq=
// αγωγιάτης
GrhyphRule{customRegexpCompile(
[]string{"(.*)", "(γ)", "(ω)", "(γ)", "(ι)", "(α|ά)", "(στ|τ)", "(.*)"}), "$1$2$3$4$5><$6$7$8"},
// http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/search.html?lq=*γωγιάτ*&dq=
// άδεια