# Italian to Amharic Transliteration ::NFD(NFC); ::Lower(); ::[:Latin:] fullwidth-halfwidth(); # # # Variables. $vowel = [aeiou]; $consonant = [bcdfghjklmnpqrstvwxyz]; # # # Ignore apostrophe. ($consonant) \' → | $1; \' → ; # # cqu → ኩ ; cc → | c; ca → ካ; cia → ቻ; cio → ቺዮ; ciu → ቺዩ; ci → ቺ; cu → ኩ; ce → ቼ; co → ኮ; cha → ካ; chi → ኪ; chu → ኩ; che → ኬ; cho → ኮ; c } $consonant → ክ; # # gg → | g; ghi → ጊ; ghe → ጌ; ghu → ጉ; gli → | li; gna → ኛ; gni → ኚ; gnu → ኙ; gne → ኜ; gno → ኞ; gn } $consonant → ኝ; # # ga → ጋ; gia → ጂያ; giu → ጂዩ; gio → ጂዮ; gi → ጂ; gu → ጉ; ge → ጄ; go → ጎ; g } $consonant → ግ; # # rr → | r; ra → ራ; ri → ሪ; ru → ሩ; re → ሬ; ro → ሮ; r } $consonant → ር; # # ll → | l; la → ላ; li → ሊ; lu → ሉ; le → ሌ; lo → ሎ; l } $consonant → ል; # # tt → | t; ta → ታ; ti → ቲ; thi → ቲ; tu → ቱ; thu → ቱ; te → ቴ; the → ቴ; to → ቶ; tho → ቶ; tzu → ፁ; tz → | zz; t } $consonant → ት; # # dd → | d; da → ዳ; di → ዲ; du → ዱ; de → ዴ; do → ዶ; d } $consonant → ድ; # # mm → | m; ma → ማ; mi → ሚ; mu → ሙ; me → ሜ; mo → ሞ; m } $consonant → ም; # # nn → | n; na → ና; ni → ኒ; nu → ኑ; ne → ኔ; no → ኖ; n } $consonant → ን; # # ff → | f; fa → ፋ; fi → ፊ; fu → ፉ; fe → ፌ; fo → ፎ; f } $consonant → ፍ; # # bb → | b; ba → ባ; bi → ቢ; bu → ቡ; be → ቤ; bo → ቦ; b } $consonant → ብ; # # pp → | p; pa → ፓ; pi → ፒ; pu → ፑ; pe → ፔ; po → ፖ; p } $consonant → ፕ; # # vv → | v; va → ቫ; vi → ቪ; vu → ቩ; ve → ቬ; vo → ቮ; v } $consonant → ቩ; # # sa } nt[ao] → ሣ; ss → | \~s; # # # 's' is voiced before [bdglmnrv]. sb → ዝ | b; sd → ዝ | d; sg → ዝ | g; sl → ዝ | l; sm → ዝ | m; sn → ዝ | n; sr → ዝ | r; sv → ዝ | v; # # # Force 's' after a consonat to be unvoiced. ($consonant) s } $vowel → | $1 \~ s; \~sa → ሣ; \~si → ሢ; \~su → ሡ; \~se → ሤ; \~so → ሦ; # # # 's' at the beginning is usually unvoiced. [:^Letter:] { sa → ሣ; [:^Letter:] { si → ሢ; [:^Letter:] { su → ሡ; [:^Letter:] { se → ሤ; [:^Letter:] { so → ሦ; # # # Otherwise voiced 's' are common. sa → ዛ; si → ዚ; su → ዙ; se → ዜ; so → ዞ; # # scia → ሺያ; sci → ሺ; sce → ሼ; # # zz → | \~z; # # Force 'z' after a consonat to be unvoiced. ($consonant) z → | $1 \~z; \~za → ጻ; \~zi → ጺ; \~zu → ጹ; \~ze → ጼ; \~zo → ጾ; # # # Otherwise voiced 'z' are common except for 'zi'. za → ዛ; [:^Letter:] { zi → ዚ; zi → ዚ; zu → ዙ; ze → ዜ; zo → ዞ; # # ja → ያ; je → ዬ; j → | i; # # # Standalone vowels and consonants. a → አ; i → ዒ; u → ዑ; e → ዔ; o → ዖ; # # b → ብ; c → ክ; d → ድ; f → ፍ; g → ግ; h → ህ; k → ክ; l → ል; m → ም; n → ን; p → ፕ; q → ክ; r → ር; s → ስ; t → ት; v → ው; x → | cs; y → | i; z → ዝ; # # [:nonspacing mark:] → ; ::NFC(NFD);