interscript 0.1.5 → 2.1.0a8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +29 -0
  5. data/LICENSE.adoc +31 -0
  6. data/README.md +3 -0
  7. data/Rakefile +53 -0
  8. data/bin/console +14 -0
  9. data/bin/interscript +3 -39
  10. data/bin/maps_analyze_staging +168 -0
  11. data/bin/maps_debug_compilers +58 -0
  12. data/bin/maps_debug_ordering +88 -0
  13. data/bin/maps_debug_ruby_compile +24 -0
  14. data/bin/maps_debug_step_by_step +44 -0
  15. data/bin/maps_optimize_order +112 -0
  16. data/bin/maps_v1_analyze_regexps +45 -0
  17. data/bin/maps_v1_to_v2 +426 -0
  18. data/exe/interscript +6 -0
  19. data/interscript.gemspec +31 -0
  20. data/lib/interscript.rb +81 -123
  21. data/lib/interscript/command.rb +5 -5
  22. data/lib/interscript/compiler.rb +22 -0
  23. data/lib/interscript/compiler/javascript.rb +292 -0
  24. data/lib/interscript/compiler/ruby.rb +262 -0
  25. data/lib/interscript/dsl.rb +67 -0
  26. data/lib/interscript/dsl/aliases.rb +23 -0
  27. data/lib/interscript/dsl/document.rb +46 -0
  28. data/lib/interscript/dsl/group.rb +45 -0
  29. data/lib/interscript/dsl/group/parallel.rb +6 -0
  30. data/lib/interscript/dsl/items.rb +89 -0
  31. data/lib/interscript/dsl/metadata.rb +26 -0
  32. data/lib/interscript/dsl/stage.rb +6 -0
  33. data/lib/interscript/dsl/symbol_mm.rb +11 -0
  34. data/lib/interscript/dsl/tests.rb +12 -0
  35. data/lib/interscript/interpreter.rb +251 -0
  36. data/lib/interscript/node.rb +25 -0
  37. data/lib/interscript/node/alias_def.rb +15 -0
  38. data/lib/interscript/node/dependency.rb +13 -0
  39. data/lib/interscript/node/document.rb +45 -0
  40. data/lib/interscript/node/group.rb +34 -0
  41. data/lib/interscript/node/group/parallel.rb +9 -0
  42. data/lib/interscript/node/group/sequential.rb +2 -0
  43. data/lib/interscript/node/item.rb +52 -0
  44. data/lib/interscript/node/item/alias.rb +42 -0
  45. data/lib/interscript/node/item/any.rb +61 -0
  46. data/lib/interscript/node/item/capture.rb +50 -0
  47. data/lib/interscript/node/item/group.rb +51 -0
  48. data/lib/interscript/node/item/repeat.rb +40 -0
  49. data/lib/interscript/node/item/stage.rb +23 -0
  50. data/lib/interscript/node/item/string.rb +51 -0
  51. data/lib/interscript/node/metadata.rb +18 -0
  52. data/lib/interscript/node/rule.rb +6 -0
  53. data/lib/interscript/node/rule/funcall.rb +18 -0
  54. data/lib/interscript/node/rule/run.rb +15 -0
  55. data/lib/interscript/node/rule/sub.rb +65 -0
  56. data/lib/interscript/node/stage.rb +19 -0
  57. data/lib/interscript/node/tests.rb +15 -0
  58. data/lib/interscript/stdlib.rb +211 -0
  59. data/lib/interscript/utils/regexp_converter.rb +283 -0
  60. data/lib/interscript/version.rb +1 -1
  61. data/requirements.txt +1 -0
  62. metadata +73 -311
  63. data/README.adoc +0 -298
  64. data/bin/rspec +0 -29
  65. data/lib/__pycache__/g2pwrapper.cpython-38.pyc +0 -0
  66. data/lib/g2pwrapper.py +0 -34
  67. data/lib/interscript-opal.rb +0 -2
  68. data/lib/interscript/fs.rb +0 -69
  69. data/lib/interscript/mapping.rb +0 -142
  70. data/lib/interscript/opal.rb +0 -23
  71. data/lib/interscript/opal/maps.js.erb +0 -7
  72. data/lib/interscript/opal_map_translate.rb +0 -12
  73. data/lib/model-7 +0 -0
  74. data/lib/tha-pt-b-7 +0 -0
  75. data/maps/acadsin-zho-Hani-Latn-2002.yaml +0 -38912
  76. data/maps/alalc-aze-Cyrl-Latn-1997.yaml +0 -141
  77. data/maps/alalc-bel-cyrl-latn-1997.yaml +0 -125
  78. data/maps/alalc-ben-Beng-Latn-2017.yaml +0 -130
  79. data/maps/alalc-bul-Cyrl-Latn-1997.yaml +0 -94
  80. data/maps/alalc-ell-Grek-Latn-1997.yaml +0 -625
  81. data/maps/alalc-ell-Grek-Latn-2010.yaml +0 -628
  82. data/maps/alalc-kat-Geok-Latn-1997.yaml +0 -112
  83. data/maps/alalc-kat-Geor-Latn-1997.yaml +0 -146
  84. data/maps/alalc-kor-Hang-Latn-1997.yaml +0 -94
  85. data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +0 -103
  86. data/maps/alalc-mkd-cyrl-latn-1997.yaml +0 -114
  87. data/maps/alalc-rus-Cyrl-Latn-1997.yaml +0 -222
  88. data/maps/alalc-rus-Cyrl-Latn-2012.yaml +0 -162
  89. data/maps/alalc-srp-Cyrl-Latn-1997.yaml +0 -114
  90. data/maps/alalc-srp-cyrl-latn-2013.yaml +0 -135
  91. data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +0 -141
  92. data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +0 -16
  93. data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +0 -283
  94. data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +0 -175
  95. data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +0 -169
  96. data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +0 -294
  97. data/maps/bgn-kor-Hang-Latn-1943.yaml +0 -31
  98. data/maps/bgn-kor-Kore-Latn-1943.yaml +0 -31
  99. data/maps/bgna-bul-Cyrl-Latn-2006.yaml +0 -208
  100. data/maps/bgna-bul-Cyrl-Latn-2009.yaml +0 -208
  101. data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +0 -108
  102. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +0 -104
  103. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +0 -184
  104. data/maps/bgnpcgn-bel-cyrl-latn-1979.yaml +0 -285
  105. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +0 -115
  106. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +0 -38
  107. data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +0 -702
  108. data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +0 -20
  109. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +0 -257
  110. data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +0 -127
  111. data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +0 -43
  112. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +0 -253
  113. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +0 -48
  114. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +0 -48
  115. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +0 -159
  116. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +0 -190
  117. data/maps/bgnpcgn-per-Arab-Latn-1956.yaml +0 -93
  118. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +0 -314
  119. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +0 -166
  120. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +0 -163
  121. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +0 -208
  122. data/maps/bgnpcgn-zho-Hans-Latn-1979.yaml +0 -7456
  123. data/maps/by-bel-Cyrl-Latn-1998.yaml +0 -168
  124. data/maps/by-bel-Cyrl-Latn-2007.yaml +0 -115
  125. data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +0 -685
  126. data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +0 -681
  127. data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +0 -20
  128. data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +0 -32
  129. data/maps/ggg-kat-Geor-Latn-2002.yaml +0 -89
  130. data/maps/gki-bel-cyrl-latn-1992.yaml +0 -33
  131. data/maps/gki-bel-cyrl-latn-2000.yaml +0 -201
  132. data/maps/gost-rus-cyrl-latn-16876-71-1983.yaml +0 -186
  133. data/maps/hk-yue-Hani-Latn-1888.yaml +0 -38497
  134. data/maps/icao-bel-Cyrl-Latn-9303.yaml +0 -141
  135. data/maps/icao-bul-Cyrl-Latn-9303.yaml +0 -122
  136. data/maps/icao-heb-Hebr-Latn-9303.yaml +0 -151
  137. data/maps/icao-mkd-Cyrl-Latn-9303.yaml +0 -117
  138. data/maps/icao-per-Arab-Latn-9303.yaml +0 -104
  139. data/maps/icao-rus-Cyrl-Latn-9303.yaml +0 -118
  140. data/maps/icao-srp-Cyrl-Latn-9303.yaml +0 -117
  141. data/maps/icao-ukr-Cyrl-Latn-9303.yaml +0 -120
  142. data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +0 -610
  143. data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +0 -41
  144. data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +0 -62
  145. data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +0 -272
  146. data/maps/iso-tha-Thai-Latn-11940-1998.yaml +0 -109
  147. data/maps/kp-kor-Hang-Latn-2002.yaml +0 -901
  148. data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +0 -44820
  149. data/maps/mext-jpn-Hrkt-Latn-1954.yaml +0 -411
  150. data/maps/moct-kor-Hang-Latn-2000.yaml +0 -803
  151. data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +0 -541
  152. data/maps/mvd-bel-Cyrl-Latn-2008.yaml +0 -225
  153. data/maps/mvd-bel-Cyrl-Latn-2010.yaml +0 -63
  154. data/maps/mvd-rus-Cyrl-Latn-2008.yaml +0 -110
  155. data/maps/mvd-rus-Cyrl-Latn-2010.yaml +0 -37
  156. data/maps/nil-kor-Hang-Hang-jamo.yaml +0 -11193
  157. data/maps/odni-aze-Cyrl-Latn-2015.yaml +0 -144
  158. data/maps/odni-bel-Cyrl-Latn-2015.yaml +0 -148
  159. data/maps/odni-bul-Cyrl-Latn-2015.yaml +0 -96
  160. data/maps/odni-kat-Geor-Latn-2015.yaml +0 -88
  161. data/maps/odni-kaz-Cyrl-Latn-2015.yaml +0 -148
  162. data/maps/odni-kir-Cyrl-Latn-2015.yaml +0 -136
  163. data/maps/odni-mkd-cyrl-latn-2015.yaml +0 -122
  164. data/maps/odni-rus-Cyrl-Latn-2015.yaml +0 -77
  165. data/maps/odni-srp-Cyrl-Latn-2015.yaml +0 -129
  166. data/maps/odni-tat-Cyrl-Latn-2015.yaml +0 -142
  167. data/maps/odni-tgk-Cyrl-Latn-2015.yaml +0 -148
  168. data/maps/odni-uig-Cyrl-Latn-2015.yaml +0 -138
  169. data/maps/odni-ukr-Cyrl-Latn-2015.yaml +0 -157
  170. data/maps/odni-uzb-Cyrl-Latn-2015.yaml +0 -167
  171. data/maps/royin-tha-Thai-Latn-1939-generic.yaml +0 -90
  172. data/maps/royin-tha-Thai-Latn-1968.yaml +0 -179
  173. data/maps/royin-tha-Thai-Latn-1999-chained.yaml +0 -180
  174. data/maps/royin-tha-Thai-Latn-1999.yaml +0 -76
  175. data/maps/sac-zho-Hans-Latn-1979.yaml +0 -24759
  176. data/maps/ses-ara-arab-latn-1930.yaml +0 -275
  177. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +0 -222
  178. data/maps/ua-ukr-Cyrl-Latn-1996.yaml +0 -193
  179. data/maps/un-ara-Arab-Latn-1971.yaml +0 -127
  180. data/maps/un-ara-Arab-Latn-1972.yaml +0 -152
  181. data/maps/un-ara-Arab-Latn-2017.yaml +0 -383
  182. data/maps/un-bel-Cyrl-Latn-2007.yaml +0 -114
  183. data/maps/un-ben-Beng-Latn-2016.yaml +0 -534
  184. data/maps/un-ell-Grek-Latn-1987-tl.yaml +0 -32
  185. data/maps/un-ell-Grek-Latn-1987-ts.yaml +0 -20
  186. data/maps/un-ell-Grek-Latn-phonetic-1987.yaml +0 -780
  187. data/maps/un-mon-Mong-Latn-2013.yaml +0 -93
  188. data/maps/un-rus-Cyrl-Latn-1987.yaml +0 -166
  189. data/maps/un-ukr-cyrl-latn-1998.yaml +0 -30
  190. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +0 -406
  191. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +0 -386
  192. data/maps/var-kor-Hang-Latn-mr-1939.yaml +0 -1054
  193. data/maps/var-kor-Kore-Hang-2013.yaml +0 -59754
  194. data/maps/var-kor-Kore-Latn-mr-1939.yaml +0 -37
  195. data/maps/var-tha-Thai-Thai-phonemic.yaml +0 -59
  196. data/maps/var-tha-Thai-Zsym-ipa.yaml +0 -301
  197. data/maps/var-zho-Hani-Latn-1979.yaml +0 -38908
  198. data/spec/interscript/mapping_spec.rb +0 -42
  199. data/spec/interscript_spec.rb +0 -26
  200. data/spec/spec_helper.rb +0 -3
@@ -1,681 +0,0 @@
1
- ---
2
- authority_id: elot
3
- id: 1982
4
- language: ell
5
- source_script: Grek
6
- destination_script: Latn
7
- name: ELOT 743:1982
8
- url:
9
- creation_date: 1982
10
- description: |
11
- ELOT 743:1982 transcription table for Greek.
12
- note:
13
- - Also adopted as ISO 843:1997, by United Nations Group of Experts on Geographical Names (UNGEGN) (http://www.eki.ee/wgrs), and as the BGN/PCGN 1996 transliteration.
14
- - "\"Transliteration\" as used in this specification and its inheritors refers to reversible transliteration, as distinct from \"transcription\", which is a simpler transliteration and which is intended for default use."
15
- tests:
16
- - source: |
17
- Ένα πράμα μόνον με παρακίνησε κι εμένα να γράψω ότι τούτην την πατρίδα την έχομεν όλοι μαζί, και σοφοί κι αμαθείς και πλούσιοι και φτωχοί και πολιτικοί και στρατιωτικοί και οι πλέον μικρότεροι άνθρωποι· όσοι αγωνιστήκαμεν, αναλόγως ο καθείς, έχομεν να ζήσομεν εδώ. Το λοιπόν δουλέψαμεν όλοι μαζί, να την φυλάμεν κι όλοι μαζί και να μην λέγει ούτε ο δυνατός «εγώ» ούτε ο αδύνατος. Ξέρετε πότε να λέγει ο καθείς «εγώ»; Όταν αγωνιστεί μόνος του και φκιάσει ή χαλάσει, να λέγει «εγώ»· όταν όμως αγωνίζονται πολλοί και φκιάνουν, τότε να λένε «εμείς». Είμαστε εις το «εμείς» κι όχι εις το «εγώ». Και εις το εξής να μάθομεν γνώση, αν θέλομεν να φκιάσομεν χωριόν, να ζήσομεν όλοι μαζί.
18
-
19
- Γιάννης Μακρυγιάννης.
20
-
21
- expected: |
22
- Éna práma mónon me parakínise ki eména na grápso óti toútin tin patrída tin échomen óloi mazí, kai sofoí ki amatheís kai ploúsioi kai ftochoí kai politikoí kai stratiotikoí kai oi pléon mikróteroi ánthropoi; ósoi agonistíkamen, analógos o katheís, échomen na zísomen edó. To loipón doulépsamen óloi mazí, na tin fylámen ki óloi mazí kai na min légei oúte o dynatós «egó» oúte o adýnatos. Xérete póte na légei o katheís «egó»? Ótan agonisteí mónos tou kai fkiásei í chalásei, na légei «egó»; ótan ómos agonízontai polloí kai fkiánoun, tóte na léne «emeís». Eímaste eis to «emeís» ki óchi eis to «egó». Kai eis to exís na máthomen gnósi, an thélomen na fkiásomen chorión, na zísomen óloi mazí.
23
-
24
- Giánnis Makrygiánnis.
25
-
26
- - source: ΑΘΗΝΑ
27
- expected: ATHINA
28
- - source: μπαμπάκι
29
- expected: bampáki
30
- - source: νταντά
31
- expected: ntantá
32
- - source: γκέγκε
33
- expected: gkégke
34
- - source: Γκαμπόν
35
- expected: Gkampón
36
- - source: Μάγχη
37
- expected: Mánchi
38
- - source: κογξ
39
- expected: konx
40
- - source: υιός
41
- expected: yiós
42
- - source: Υιός
43
- expected: Yiós
44
- - source: νεράντζι
45
- expected: nerántzi
46
- - source: Γοίθιος
47
- expected: Goíthios
48
- - source: μπέικον
49
- expected: béikon
50
- - source: μπέϊκον
51
- expected: béïkon
52
- - source: βόλεϊ
53
- expected: vóleï
54
- - source: αθεΐα
55
- expected: atheḯa
56
- - source: Εϊγιαφιάτλαγιοκουτλ
57
- expected: Eïgiafiátlagiokoutl
58
- - source: Εΐτζι
59
- expected: Eḯtzi
60
- - source: Μυρτώο
61
- expected: Myrtóo
62
- - source: αέρας
63
- expected: aéras
64
- - source: γαυ γαυ
65
- expected: gaf gaf
66
- - source: Ταΰγετος
67
- expected: Taÿ́getos
68
- - source: σπρέυ
69
- expected: spréy
70
-
71
- - source: Αθήνα
72
- expected: Athína
73
- - source: Άγιον Όρος
74
- expected: Ágion Óros
75
- - source: Άγραφα
76
- expected: Ágrafa
77
- - source: Αγρίνιο
78
- expected: Agrínio
79
- - source: Αίγινα
80
- expected: Aígina
81
- - source: Αίγιο
82
- expected: Aígio
83
- - source: Αλεξανδρούπολη
84
- expected: Alexandroúpoli
85
- - source: Αλεποχώρι
86
- expected: Alepochóri
87
- - source: Αμοργός
88
- expected: Amorgós
89
- - source: Άμφισσα
90
- expected: Ámfissa
91
- - source: Αράχωβα
92
- expected: Aráchova
93
- - source: Άργος
94
- expected: Árgos
95
- - source: Αρκαδία
96
- expected: Arkadía
97
- - source: Άρτα
98
- expected: Árta
99
- - source: Βελούχι
100
- expected: Veloúchi
101
- - source: Βέροια
102
- expected: Véroia
103
- - source: Βοιωτία
104
- expected: Voiotía
105
- - source: Βόλος
106
- expected: Vólos
107
- - source: Βόνιτσα
108
- expected: Vónitsa
109
- - source: Γαλαξίδι
110
- expected: Galaxídi
111
- - source: Γαλάτσι
112
- expected: Galátsi
113
- - source: Γιαννιτσά
114
- expected: Giannitsá
115
- - source: Γλυφάδα
116
- expected: Glyfáda
117
- - source: Γρανίτσα
118
- expected: Granítsa
119
- - source: Γρεβενά
120
- expected: Grevená
121
- - source: Γύθειο
122
- expected: Gýtheio
123
- - source: Διόνυσος
124
- expected: Diónysos
125
- - source: Δίστομο
126
- expected: Dístomo
127
- - source: Δολιανά
128
- expected: Dolianá
129
- - source: Δράμα
130
- expected: Dráma
131
- - source: Δωδεκάνησα
132
- expected: Dodekánisa
133
- - source: Έδεσσα
134
- expected: Édessa
135
- - source: Ελευσίνα
136
- expected: Elefsína
137
- - source: Επίδαυρος
138
- expected: Epídavros
139
- - source: Επτάνησα
140
- expected: Eptánisa
141
- - source: Ερμούπολη
142
- expected: Ermoúpoli
143
- - source: Εύβοια
144
- expected: Évvoia
145
- - source: Ζάκυνθος
146
- expected: Zákynthos
147
- - source: Ήπειρος
148
- expected: Ípeiros
149
- - source: Ηράκλειο
150
- expected: Irákleio
151
- - source: Θάσος
152
- expected: Thásos
153
- - source: Θεσσαλονίκη
154
- expected: Thessaloníki
155
- - source: Θεσσαλία
156
- expected: Thessalía
157
- - source: Θεσπρωτία
158
- expected: Thesprotía
159
- - source: Θήβα
160
- expected: Thíva
161
- - source: Θράκη
162
- expected: Thráki
163
- - source: Ιθάκη
164
- expected: Itháki
165
- - source: Ίος
166
- expected: Íos
167
- - source: Ιωάννινα
168
- expected: Ioánnina
169
- - source: Καβάλα
170
- expected: Kavála
171
- - source: Καλάβρυτα
172
- expected: Kalávryta
173
- - source: Καλαμάτα
174
- expected: Kalamáta
175
- - source: Καλαμπάκα
176
- expected: Kalampáka
177
- - source: Καλύβια
178
- expected: Kalývia
179
- - source: Κάλυμνος
180
- expected: Kálymnos
181
- - source: Καρδίτσα
182
- expected: Kardítsa
183
- - source: Καρπενήσι
184
- expected: Karpenísi
185
- - source: Κάρυστος
186
- expected: Kárystos
187
- - source: Καστελλόριζο
188
- expected: Kastellórizo
189
- - source: Καστοριά
190
- expected: Kastoriá
191
- - source: Κατερίνη
192
- expected: Kateríni
193
- - source: Κάτω Αχαΐα
194
- expected: Káto Achaḯa
195
- - source: Κερατέα
196
- expected: Keratéa
197
- - source: Κέρκυρα
198
- expected: Kérkyra
199
- - source: Κεφαλλονιά
200
- expected: Kefalloniá
201
- - source: Κηφισιά
202
- expected: Kifisiá
203
- - source: Κιλκίς
204
- expected: Kilkís
205
- - source: Κοζάνη
206
- expected: Kozáni
207
- - source: Κολωνός
208
- expected: Kolonós
209
- - source: Κομοτηνή
210
- expected: Komotiní
211
- - source: Κόρινθος
212
- expected: Kórinthos
213
- - source: Κορώνη
214
- expected: Koróni
215
- - source: Κρανίδι
216
- expected: Kranídi
217
- - source: Κρέστενα
218
- expected: Kréstena
219
- - source: Κρήτη
220
- expected: Kríti
221
- - source: Κύθηρα
222
- expected: Kýthira
223
- - source: Κυκλάδες
224
- expected: Kykládes
225
- - source: Κύμη
226
- expected: Kými
227
- - source: Κυψέλη
228
- expected: Kypséli
229
- - source: Κως
230
- expected: Kos
231
- - source: Λαγκαδάς
232
- expected: Lagkadás
233
- - source: Λαμία
234
- expected: Lamía
235
- - source: Λάρισα
236
- expected: Lárisa
237
- - source: Λαύριο
238
- expected: Lávrio
239
- - source: Λέρος
240
- expected: Léros
241
- - source: Λέσβος
242
- expected: Lésvos
243
- - source: Λευκάδα
244
- expected: Lefkáda
245
- - source: Λήμνος
246
- expected: Límnos
247
- - source: Λιβαδειά
248
- expected: Livadeiá
249
- - source: Μακεδονία
250
- expected: Makedonía
251
- - source: Μάνη
252
- expected: Máni
253
- - source: Μαραθώνας
254
- expected: Marathónas
255
- - source: Μαρκόπουλο
256
- expected: Markópoulo
257
- - source: Μαρούσι
258
- expected: Maroúsi
259
- - source: Μέγαρα
260
- expected: Mégara
261
- - source: Μεσολόγγι
262
- expected: Mesolóngi
263
- - source: Μεταξουργείο
264
- expected: Metaxourgeío
265
- - source: Μέτσοβο
266
- expected: Métsovo
267
- - source: Μήλος
268
- expected: Mílos
269
- - source: Μύκονος
270
- expected: Mýkonos
271
- - source: Μυστράς
272
- expected: Mystrás
273
- - source: Μυτιλήνη
274
- expected: Mytilíni
275
- - source: Νάξος
276
- expected: Náxos
277
- - source: Νάουσα
278
- expected: Náousa
279
- - source: Ναύπακτος
280
- expected: Náfpaktos
281
- - source: Ναύπλιο
282
- expected: Náfplio
283
- - source: Νέα Σμύρνη
284
- expected: Néa Smýrni
285
- - source: Νίσυρος
286
- expected: Nísyros
287
- - source: Ξάνθη
288
- expected: Xánthi
289
- - source: Όλυμπος
290
- expected: Ólympos
291
- - source: Παγκράτι
292
- expected: Pagkráti
293
- - source: Παπάγου
294
- expected: Papágou
295
- - source: Πάρος
296
- expected: Páros
297
- - source: Πασαλιμάνι
298
- expected: Pasalimáni
299
- - source: Πατήσια
300
- expected: Patísia
301
- - source: Πάτμος
302
- expected: Pátmos
303
- - source: Πάτρα
304
- expected: Pátra
305
- - source: Πειραιάς
306
- expected: Peiraiás
307
- - source: Πελοπόννησος
308
- expected: Pelopónnisos
309
- - source: Περιστέρι
310
- expected: Peristéri
311
- - source: Πεύκη
312
- expected: Péfki
313
- - source: Πήλιο
314
- expected: Pílio
315
- - source: Πολύγυρος
316
- expected: Polýgyros
317
- - source: Πόρος
318
- expected: Póros
319
- - source: Πρέβεζα
320
- expected: Préveza
321
- - source: Πτολεμαΐδα
322
- expected: Ptolemaḯda
323
- - source: Πύλος
324
- expected: Pýlos
325
- - source: Πύργος
326
- expected: Pýrgos
327
- - source: Ρέθυμνο
328
- expected: Réthymno
329
- - source: Ρόδος
330
- expected: Ródos
331
- - source: Ρούμελη
332
- expected: Roúmeli
333
- - source: Σαλαμίνα
334
- expected: Salamína
335
- - source: Σαμοθράκη
336
- expected: Samothráki
337
- - source: Σάμος
338
- expected: Sámos
339
- - source: Σαντορίνη
340
- expected: Santoríni
341
- - source: Σέρρες
342
- expected: Sérres
343
- - source: Σίκινος
344
- expected: Síkinos
345
- - source: Σίφνος
346
- expected: Sífnos
347
- - source: Σκιάθος
348
- expected: Skiáthos
349
- - source: Σκόπελος
350
- expected: Skópelos
351
- - source: Σούλι
352
- expected: Soúli
353
- - source: Σπάρτη
354
- expected: Spárti
355
- - source: Στερεά Ελλάδα
356
- expected: Stereá Elláda
357
- - source: Στύρα
358
- expected: Stýra
359
- - source: Σύμη
360
- expected: Sými
361
- - source: Σύρος
362
- expected: Sýros
363
- - source: Σφακιά
364
- expected: Sfakiá
365
- - source: Τήλος
366
- expected: Tílos
367
- - source: Τήνος
368
- expected: Tínos
369
- - source: Τρίκαλα
370
- expected: Tríkala
371
- - source: Τρίπολη
372
- expected: Trípoli
373
- - source: Τσακωνιά
374
- expected: Tsakoniá
375
- - source: Ύδρα
376
- expected: Ýdra
377
- - source: Φάληρο
378
- expected: Fáliro
379
- - source: Φλώρινα
380
- expected: Flórina
381
- - source: Φολέγανδρος
382
- expected: Folégandros
383
- - source: Χάλκη
384
- expected: Chálki
385
- - source: Χαλκίδα
386
- expected: Chalkída
387
- - source: Χαλάνδρι
388
- expected: Chalándri
389
- - source: Χαλκιδική
390
- expected: Chalkidikí
391
- - source: Χανιά
392
- expected: Chaniá
393
- - source: Χίος
394
- expected: Chíos
395
- - source: Ψαρά
396
- expected: Psará
397
- - source: Αβάνα
398
- expected: Avána
399
- - source: Αγγλία
400
- expected: Anglía
401
- - source: Αϊβαλί
402
- expected: Aïvalí
403
- - source: Αλεξάνδρεια
404
- expected: Alexándreia
405
- - source: Άμστερνταμ
406
- expected: Ámsterntam
407
- - source: Βαυαρία
408
- expected: Vavaría
409
- - source: Βενετία
410
- expected: Venetía
411
- - source: Βερολίνο
412
- expected: Verolíno
413
- - source: Βερόνα
414
- expected: Veróna
415
- - source: Βιέννη
416
- expected: Viénni
417
- - source: Γένοβα
418
- expected: Génova
419
- - source: Δουβλίνο
420
- expected: Douvlíno
421
- - source: Καλαβρία
422
- expected: Kalavría
423
- - source: Καλιφόρνια
424
- expected: Kalifórnia
425
- - source: Καύκασος
426
- expected: Káfkasos
427
- - source: Κονγκό
428
- expected: Kongkó
429
- - source: Κορσική
430
- expected: Korsikí
431
- - source: Κουρδιστάν
432
- expected: Kourdistán
433
- - source: Κωνσταντινούπολη
434
- expected: Konstantinoúpoli
435
- - source: Κατεχόμενη Κύπρος
436
- expected: Katechómeni Kýpros
437
- - source: Λαπωνία
438
- expected: Laponía
439
- - source: Λευκωσία
440
- expected: Lefkosía
441
- - source: Λιβόρνο
442
- expected: Livórno
443
- - source: Λονδίνο
444
- expected: Londíno
445
- - source: Λυών
446
- expected: Lyón
447
- - source: Μάλαγα
448
- expected: Málaga
449
- - source: Μασσαλία
450
- expected: Massalía
451
- - source: Μικρονησία
452
- expected: Mikronisía
453
- - source: Μιλάνο
454
- expected: Miláno
455
- - source: Μόσχα
456
- expected: Móscha
457
- - source: Μπολόνια
458
- expected: Bolónia
459
- - source: Νάπολη
460
- expected: Nápoli
461
- - source: Νταγκεστάν
462
- expected: Ntagkestán
463
- - source: Νέα Υόρκη
464
- expected: Néa Yórki
465
- - source: Οξφόρδη
466
- expected: Oxfórdi
467
- - source: Ουαλία
468
- expected: Oualía
469
- - source: Παρίσι
470
- expected: Parísi
471
- - source: Πάφος
472
- expected: Páfos
473
- - source: Πολυνησία
474
- expected: Polynisía
475
- - source: Ρώμη
476
- expected: Rómi
477
- - source: Σαμάρεια
478
- expected: Samáreia
479
- - source: Σικελία
480
- expected: Sikelía
481
- - source: Σκανδιναβία
482
- expected: Skandinavía
483
- - source: Σκόπια
484
- expected: Skópia
485
- - source: Σκωτία
486
- expected: Skotía
487
- - source: Σμύρνη
488
- expected: Smýrni
489
- - source: Ταϊτή
490
- expected: Taïtí
491
- - source: Ταταρστάν
492
- expected: Tatarstán
493
- - source: Τζαμάικα
494
- expected: Tzamáika
495
- - source: Τηλλυρία
496
- expected: Tillyría
497
- - source: Τιρόλο
498
- expected: Tirólo
499
- - source: Τορίνο
500
- expected: Toríno
501
- - source: Φανάρι
502
- expected: Fanári
503
- - source: Φλωρεντία
504
- expected: Florentía
505
- - source: Χαβάη
506
- expected: Chavái
507
- - source: Χονγκ Κονγκ
508
- expected: Chongk Kongk
509
-
510
- map:
511
- # https://en.wikipedia.org/wiki/Romanization_of_Greek
512
- rules:
513
- - pattern: (?<=[ΑαΕεΗη])\u03A5(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Υ (after Α, Ε, Η)
514
- result: F
515
- - pattern: (?<=[ΑαΕεΗη])\u03A5(?=\b) # Υ (after Α, Ε, Η)
516
- result: F
517
- - pattern: (?<=[ΑαΕεΗη])\u03C5(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # υ (after Α, Ε, Η)
518
- result: f
519
- - pattern: (?<=[ΑαΕεΗη])\u03C5(?=\b) # υ (after Α, Ε, Η)
520
- result: f
521
- - pattern: (?<=[ΑαΕεΗη])\u03A5 # Υ (after Α, Ε, Η)
522
- result: V
523
- - pattern: (?<=[ΑαΕεΗη])\u03C5 # υ (after Α, Ε, Η)
524
- result: v
525
- - pattern: \u0391\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Αύ
526
- result: Áf
527
- - pattern: \u0391\u03CD(?=\b) # Αύ
528
- result: Áf
529
- - pattern: \u0391\u03CD # Αύ
530
- result: Áv
531
- - pattern: \u03B1\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Αύ
532
- result: áf
533
- - pattern: \u03B1\u03CD(?=\b) # Αύ
534
- result: áf
535
- - pattern: \u03B1\u03CD # Αύ
536
- result: áv
537
- - pattern: \u0395\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Εύ
538
- result: Éf
539
- - pattern: \u0395\u03CD(?=\b) # Εύ
540
- result: Éf
541
- - pattern: \u0395\u03CD # Εύ
542
- result: Év
543
- - pattern: \u03B5\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Εύ
544
- result: éf
545
- - pattern: \u03B5\u03CD(?=\b) # Εύ
546
- result: éf
547
- - pattern: \u03B5\u03CD # Εύ
548
- result: év
549
- - pattern: \u0397\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Εύ
550
- result: Íf
551
- - pattern: \u0397\u03CD(?=\b) # Εύ
552
- result: Íf
553
- - pattern: \u0397\u03CD # Εύ
554
- result: Ív
555
- - pattern: \u03B7\u03CD(?=[θΘκΚξΞπΠσΣςτΤφΦχΧψΨ]) # Εύ
556
- result: íf
557
- - pattern: \u03B7\u03CD(?=\b) # Εύ
558
- result: íf
559
- - pattern: \u03B7\u03CD # Εύ
560
- result: ív
561
- - pattern: (?<=[Οο])\u03A5 # Υ (after Ο)
562
- result: U
563
- - pattern: (?<=[Οο])\u03C5 # υ (after Ο)
564
- result: u
565
- - pattern: (?<=[Οο])\u03CD # ύ (after Ο)
566
- result: ú
567
- - pattern: (?<=[ΆάΈέΉήΌό])\u03A5 # Άυ, Έυ, Ήυ, Όυ
568
- result: Υ
569
- - pattern: (?<=[ΆάΈέΉήΌό])\u03C5 # Άυ, Έυ, Ήυ, Όυ
570
- result: y
571
- - pattern: \u0393(?=[ξΞχΧ]) # Γ (before Γ, Ξ, Χ)
572
- result: N
573
- - pattern: \u03B3(?=[ξΞχΧ]) # γ (before Γ, Ξ, Χ)
574
- result: n
575
- - pattern: \u0393[Γγ] # Γ (before Γ)
576
- result: Ng
577
- - pattern: \u03B3\u03B3 # γ (before Γ)
578
- result: ng
579
- - pattern: \u0393[Κκ] # Γ (before Κ)
580
- result: Gk
581
- - pattern: \u03B3[Κκ] # γ (before Κ)
582
- result: gk
583
- - pattern: (?<=\b)\u039C[πΠ] # ΜΠ (initially)
584
- result: B
585
- - pattern: (?<=\b)\u03BC[πΠ] # μπ (initially)
586
- result: b
587
- - pattern: \u039C[πΠ](?=\b) # ΜΠ (finally)
588
- result: B
589
- - pattern: \u03BC[πΠ](?=\b) # μπ (finally)
590
- result: b
591
- - pattern: (?<!\b)\u039C[πΠ] # ΜΠ (medially)
592
- result: Mp
593
- - pattern: (?<!\b)\u03BC[πΠ] # μπ (medially)
594
- result: mp
595
- - pattern: \u037E # ;
596
- result: "?"
597
- - pattern: \u003B # ;
598
- result: "?"
599
-
600
- characters:
601
- "\u0027": ""
602
- "\u0386": "Á" # Ά
603
- "\u0391": "A" # Α
604
- "\u0392": "V" # Β
605
- "\u0393": "G" # Γ
606
- "\u0394": "D" # Δ
607
- "\u0395": "E" # Ε
608
- "\u0395\u03AA": "Εï" # ΕΪ
609
- "\u0395\u03CA": "Εï" # Εϊ
610
- "\u0388\u03CA": "Éï" # Έϊ
611
- "\u0396": "Z" # Ζ
612
- "\u0397": "I" # Η
613
- "\u0398": "Th" # Θ
614
- "\u0399": "I" # Ι
615
- "\u039A": "K" # Κ
616
- "\u039B": "L" # Λ
617
- "\u039C": "M" # Μ
618
- "\u039D": "N" # Ν
619
- "\u039E": "X" # Ξ
620
- "\u039F": "O" # Ο
621
- "\u03A0": "P" # Π
622
- "\u03A1": "R" # Ρ
623
- "\u03A3": "S" # Σ
624
- "\u03A4": "T" # Τ
625
- "\u03A5": "Y" # Υ
626
- "\u03A6": "F" # Φ
627
- "\u03A7": "Ch" # Χ
628
- "\u03A8": "Ps" # Ψ
629
- "\u03A9": "O" # Ω
630
- "\u0388": "É" # Έ
631
- "\u0389": "Í" # Ή
632
- "\u038A": "Í" # Ί
633
- "\u038C": "Ó" # Ό
634
- "\u038E": "Ý" # Ύ
635
- "\u038F": "Ó" # Ώ
636
- "\u03AA": "Ï" # Ϊ
637
- "\u03AB": "Ÿ" # Ϋ
638
-
639
- "\u03AC": "á" # ά
640
- "\u03B1": "a" # α
641
- "\u03B2": "v" # β
642
- "\u03B3": "g" # γ
643
- "\u03B4": "d" # δ
644
- "\u03B5": "e" # ε
645
- "\u03B5\u03CA": "eï" # εϊ
646
- "\u03AD\u03CA": "éï" # έϊ
647
- "\u03AD\u03B9": "éi" # έι
648
- "\u03B6": "z" # ζ
649
- "\u03B7": "i" # η
650
- "\u03B8": "th" # θ
651
- "\u03B9": "i" # ι
652
- "\u03BA": "k" # κ
653
- "\u03BB": "l" # λ
654
- "\u03BC": "m" # μ
655
- "\u03BD": "n" # ν
656
- "\u03BE": "x" # ξ
657
- "\u03BF": "o" # ο
658
- "\u03C0": "p" # π
659
- "\u03C1": "r" # ρ
660
- "\u03C3": "s" # σ
661
- "\u03C2": "s" # ς
662
- "\u03C4": "t" # τ
663
- "\u03C5": "y" # υ
664
- "\u03C6": "f" # φ
665
- "\u03C7": "ch" # χ
666
- "\u03C8": "ps" # ψ
667
- "\u03C9": "o" # ω
668
- "\u03AD": "é" # έ
669
- "\u03AE": "í" # ή
670
- "\u03AF": "í" # ί
671
- "\u03CC": "ó" # ό
672
- "\u03CD": "ý" # ύ
673
- "\u03CE": "ó" # ώ
674
- "\u03CA": "ï" # ϊ
675
- "\u03CB": "ÿ" # ϋ
676
- "\u0390": "ḯ" # ΐ
677
- "\u03B0": "ÿ́" # ΰ
678
-
679
- "\u0387": ";" # ·
680
- "\u00B7": ";" # ·
681
-