1# ***************************************************************************
2# *
3# *  Copyright (C) 2004-2015, International Business Machines
4# *  Corporation; Unicode, Inc.; and others.  All Rights Reserved.
5# *
6# ***************************************************************************
7# File: Greek_Latin.txt
8# Generated from CLDR
9#
10:: [;µ·ÄËÏÖÜäëïöüÿ-āĒ-ēĪ-īŌ-ōŪ-ūŸǕ-ǜǞ-ǣǬ-ǭȪ-ȭȰ-ȳ\u0304\u0308\u0313-\u0314\u0342-\u0345ͺ;Ά-ΊΌΎ-ΡΣ-ώϐ-ϗϛϝϟϡϣϥϧϩϫϭϯ-ϵϷ-\u07FBЁЇёїӒ-ӓӚ-ӟӢ-ӧӪ-ӱӴ-ӵӸ-ӹḔ-ḗḠ-ḡḦ-ḧḮ-ḯḸ-ḹṎ-ṓṜ-ṝṺ-ṻẄ-ẅẌ-ẍẗἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼι῁-ῄῆ-ῌ῏-ΐῖ-Ί῟-Ῥῲ-ῴῶ-ῼΩϹ] ;
11:: NFD (NFC) ;
12$lower = [[:latin:][:greek:] & [:Ll:]];
13$glower = [[:greek:] & [:Ll:]];
14$upper = [[:latin:][:greek:] & [:Lu:]] ;
15$accent = [:M:] ;
16$accentMinus = [ [\u0300-\u0345] & [:M:] - [\u0338]] ;
17$macron = \u0304 ;
18$ddot = \u0308 ;
19$ddotmac = [$ddot$macron];
20$lcgvowel = [αεηιουω] ;
21$ucgvowel = [ΑΕΗΙΟΥΩ] ;
22$gvowel = [$lcgvowel $ucgvowel] ;
23$lcgvowelC = [$lcgvowel $accent] ;
24$evowel = [aeiouyAEIOUY];
25$evowel2 = [iuyIUY];
26$vowel = [ $evowel $gvowel] ;
27$gammaLike = [ΓΚΞΧγκξχϰ] ;
28$egammaLike = [GKXCgkxc] ;
29$smooth = \u0313 ;
30$rough = \u0314 ;
31$iotasub = \u0345 ;
32$evowel_i = [$evowel-[iI]] ;
33$evowel2_i = [uyUY];
34$underbar = \u0331;
35$afterLetter = [:L:] [[:M:]\']* ;
36$beforeLetter = [[:M:]\']* [:L:] ;
37$beforeLower = $accent * $lower ;
38$notLetter = [^[:L:][:M:]] ;
39$under = \u0331;
40\: ↔ \: $under ;
41\? ↔ \? $under ;
42\; ↔ \? ;
43· ↔ \: ;
44\u0342 ↔ \u0302 ;
45$accent_minus = [[$accent]-[$iotasub$macron]];
46Α } $accent_minus * $iotasub → | Α $macron ;
47α } $accent_minus * $iotasub → | α $macron ;
48$upper $accent * { $iotasub → I ;
49$iotasub → i ;
50| $1 $iotasub ← ($evowel $macron $accentMinus *) i ;
51| $1 $iotasub ← ($evowel $macron $accentMinus *) I ;
52Α ($macron?) $rough } $beforeLower → H | α $1;
53Ε $rough } $beforeLower → H | ε;
54Η $rough } $beforeLower → H | η ;
55Ι ($ddot?) $rough } $beforeLower → H | ι  $1;
56Ο $rough } $beforeLower → H | ο ;
57Υ $rough } $beforeLower → H | υ ;
58Ω ($ddot?) $rough } $beforeLower → H | ω $1;
59Α ($glower $macron?) $rough → H | α $1 ;
60Ε ($glower) $rough → H | ε $1 ;
61Η ($glower) $rough → H | η $1 ;
62Ι ($glower $ddot?) $rough → H | ι $1 ;
63Ο ($glower) $rough → H | ο $1 ;
64Υ ($glower) $rough → H | υ $1 ;
65Ω ($glower  $ddot?) $rough → H | ω $1 ;
66($lcgvowel + $ddotmac? ) $rough → h | $1 ;
67($gvowel + $ddotmac? ) $rough → H | $1 ;
68| $1 $rough ← h ($evowel $macron $ddot? $evowel2_i $macron?) ;
69| $1 $rough ← h ($evowel $ddot? $evowel2 $macron?) ;
70| $1 $rough ← h ($evowel $macron? $ddot?) ;
71| $1 $rough ← H ([AEIOUY] $macron $ddot? $evowel2_i $macron?) ;
72| $1 $rough ← H ([AEIOUY] $ddot? $evowel2 $macron?) ;
73| $1 $rough ← H ([AEIOUY] $macron? $ddot?) ;
74| A $1 $rough ← H a ($macron  $ddot? $evowel2_i $macron?) ;
75| E $1 $rough ← H e ($macron  $ddot? $evowel2_i $macron?) ;
76| I $1 $rough ← H i ($macron  $ddot? $evowel2_i $macron?) ;
77| O $1 $rough ← H o ($macron  $ddot? $evowel2_i $macron?) ;
78| U $1 $rough ← H u ($macron $ddot? $evowel2_i $macron?) ;
79| Y $1 $rough ← H y ($macron $ddot? $evowel2_i $macron?) ;
80| A $1 $rough ← H a ($ddot? $evowel2 $macron?) ;
81| E $1 $rough ← H e ($ddot? $evowel2 $macron?) ;
82| I $1 $rough ← H i ($ddot? $evowel2 $macron?) ;
83| O $1 $rough ← H o ($ddot? $evowel2 $macron?) ;
84| U $1 $rough ← H u ($ddot? $evowel2 $macron?) ;
85| Y $1 $rough ← H y ($ddot? $evowel2 $macron?) ;
86| A $1 $rough ← H a ($macron? $ddot? ) ;
87| E $1 $rough ← H e ($macron? $ddot? ) ;
88| I $1 $rough ← H i ($macron? $ddot? ) ;
89| O $1 $rough ← H o ($macron? $ddot? ) ;
90| U $1 $rough ← H u ($macron? $ddot? ) ;
91| Y $1 $rough ← H y ($macron? $ddot? ) ;
92$smooth → ;
93| $1 $smooth ← $notLetter { ([rR]) } [^hH$smooth$rough] ;
94| $1 $smooth ← $notLetter { ($evowel $macron? $evowel2 $macron?) } [^$smooth$rough] ;
95| $1 $smooth ← $notLetter { ($evowel $macron?) } [^$evowel2$smooth$rough] ;
96Α ← A $macron ;
97α ← a $macron ;
98η ↔ e $macron ;
99Η ↔ E $macron ;
100φ ↔ ph ;
101Ψ } $beforeLower ↔ Ps ;
102Ψ ↔ PS ;
103Φ } $beforeLower ↔ Ph ;
104Φ ↔ PH ;
105ψ ↔ ps ;
106ω ↔ o $macron ;
107Ω ↔  O $macron;
108α ↔ a ;
109Α ↔ A ;
110β ↔ b ;
111Β ↔ B ;
112γ } $gammaLike ↔ n } $egammaLike ;
113γ ↔ g ;
114Γ } $gammaLike ↔ N } $egammaLike ;
115Γ ↔ G ;
116δ ↔ d ;
117Δ ↔ D ;
118ε ↔ e ;
119Ε ↔ E ;
120ζ ↔ z ;
121Ζ ↔ Z ;
122θ ↔ th ;
123Θ } $beforeLower ↔ Th ;
124Θ ↔ TH ;
125ι ↔ i ;
126Ι ↔ I ;
127κ ↔ k ;
128Κ ↔ K ;
129λ ↔ l ;
130Λ ↔ L ;
131μ ↔ m ;
132Μ ↔ M ;
133ν } $gammaLike → n\' ;
134ν ↔ n ;
135Ν } $gammaLike ↔ N\' ;
136Ν ↔ N ;
137ξ ↔ x ;
138Ξ ↔ X ;
139ο ↔ o ;
140Ο ↔ O ;
141π ↔ p ;
142Π ↔ P ;
143ρ $rough ↔ rh;
144Ρ $rough } $beforeLower ↔ Rh ;
145Ρ $rough ↔ RH ;
146ρ ↔ r ;
147Ρ ↔ R ;
148[Pp] { } [ςσΣϷϸϺϻ] → \' ;
149Ϸ ↔ S\u030C ; # Ϸ GREEK CAPITAL LETTER SHO Uppercase_Letter Grek - L
150ϸ ↔ s\u030C ; #ϸ GREEK SMALL LETTER SHO Lowercase_Letter Grek - L
151Ϻ ↔ S\u0302 ; # Ϻ GREEK CAPITAL LETTER SAN Uppercase_Letter Grek - L
152ϻ ↔ s\u0302 ; # ϻ GREEK SMALL LETTER SAN Lowercase_Letter Grek - L
153ς } $beforeLetter ↔ s $underbar } $beforeLetter;
154σ } $beforeLetter ↔ s } $beforeLetter;
155$afterLetter { σ ↔ $afterLetter { s $underbar;
156$afterLetter { ς ↔ $afterLetter { s ;
157ς ↔ s $underbar;
158σ ↔ s ;
159Σ ↔ S ;
160τ ↔ t ;
161Τ ↔ T ;
162$vowel {υ } ↔ u ;
163υ ↔ y ;
164$vowel { Υ ↔ U ;
165Υ ↔ Y ;
166χ ↔ ch ;
167Χ } $beforeLower ↔ Ch ;
168Χ ↔ CH ;
169$ignore = [[:Mark:]''] * ;
170| k  ← c ;
171| ph ← f ;
172| i  ← j ;
173| k ← q ;
174| b ← v } $vowel ;
175| b ← w } $vowel;
176| u ← v ;
177| u ← w;
178| K ← C ;
179| Ph ← F ;
180| I ← J ;
181| K ← Q ;
182| B ← V  } $vowel ;
183| B ← W  } $vowel ;
184| U ← V ;
185| U ← W ;
186$rough } $ignore [:UppercaseLetter:] → H ;
187$ignore [:UppercaseLetter:] { $rough → H ;
188$rough ← H ;
189$rough ↔ h ;
190ϐ → | β ;
191ϑ → | θ ;
192ϒ → | Υ ;
193ϕ → | φ ;
194ϖ → | π ;
195ϰ → | κ ;
196ϱ → | ρ ;
197ϲ → | σ ;
198Ϲ → | Σ; #U+03F9 GREEK CAPITAL LUNATE SIGMA SYMBOL
199ϳ → j ;
200ϴ → | Θ ;
201ϵ → | ε ;
202µ → | μ ;
203ͺ → i;
204← [Ππ] { \' } [Ss] ;
205← [Νν] { \' } $egammaLike ;
206::NFC (NFD) ;
207:: ( [':?A-Za-zÀ-ÅÇ-ÏÑ-ÖÙ-Ýà-åç-ïñ-öù-ýÿ-ďĒ-ĥĨ-İĴ-ķĹ-ľŃ-ňŌ-őŔ-ťŨ-žƠ-ơƯ-ưǍ-ǜǞ-ǣǦ-ǰǴ-ǵǸ-țȞ-ȟȦ-ȳ\u0300-\u0337\u0339-\u0345΅-ΆΈ-ΊΌΎ-ΐΪ-ΰϊ-ώϓ-ϔЀ-ЁЃЇЌ-ЎЙйѐ-ёѓїќ-ўѶ-ѷӁ-ӂӐ-ӓӖ-ӗӚ-ӟӢ-ӧӪ-ӵӸ-ӹḀ-ẙẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼ῁-ῄῆ-ΐῖ-Ί῝-΅ῲ-ῴῶ-ῼK-Å] ) ;
208