The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE translit SYSTEM "translit.dtd">


<!--

  Transliteration definitions for ISO 843: Greek to Latin.

  Copyright (C) 2007-2008 Alex Linke <alinke@lingua-systems.com>
  Copyright (C) 2009 Lingua-Systems Software GmbH

  See http://en.wikipedia.org/wiki/ISO_843 as an introduction.

  See http://transliteration.eki.ee/pdf/Greek.pdf for details.

-->


<translit>

    <!-- meta data -->

    <name>ISO 843</name>

    <desc>ISO 843:1997 TL (Type 1), Greek to Latin</desc>

    <reverse>false</reverse>


    <!-- set of transliteration rules -->


    <rules>

        <!-- Unaccented characters in (Greek) alphabetical order -->

        <rule>
            <from>&#x0391;</from>   <!-- Α -->
            <to>A</to>
        </rule>
        <rule>
            <from>&#x03B1;</from>   <!-- α -->
            <to>a</to>
        </rule>

        <rule>
            <from>&#x0392;</from>   <!-- Β -->
            <to>V</to>
        </rule>
        <rule>
            <from>&#x03B2;</from>   <!-- β -->
            <to>v</to>
        </rule>

        <rule>
            <from>&#x0393;</from>   <!-- Γ -->
            <to>G</to>
        </rule>
        <rule>
            <from>&#x03B3;</from>   <!-- γ -->
            <to>g</to>
        </rule>

        <rule>
            <from>&#x0394;</from>   <!-- Δ -->
            <to>D</to>
        </rule>
        <rule>
            <from>&#x03B4;</from>   <!-- δ -->
            <to>d</to>
        </rule>

        <rule>
            <from>&#x0395;</from>   <!-- Ε -->
            <to>E</to>
        </rule>
        <rule>
            <from>&#x03B5;</from>   <!-- ε -->
            <to>e</to>
        </rule>

        <rule>
            <from>&#x0396;</from>   <!-- Ζ -->
            <to>Z</to>
        </rule>
        <rule>
            <from>&#x03B6;</from>   <!-- ζ -->
            <to>z</to>
        </rule>

        <rule>
            <from>&#x0397;</from>   <!-- Η -->
            <to>&#x012A;</to>	    <!-- Ī -->
        </rule>
        <rule>
            <from>&#x03B7;</from>   <!-- η -->
            <to>&#x012B;</to>	    <!-- ī -->
        </rule>
        <!-- Alternation skipped -->

        <rule>
            <from>&#x0398;</from>   <!-- Θ -->
            <to>Th</to>
        </rule>
        <rule>
            <from>&#x03B8;</from>   <!-- θ -->
            <to>th</to>
        </rule>

        <rule>
            <from>&#x0399;</from>   <!-- Ι -->
            <to>I</to>
        </rule>
        <rule>
            <from>&#x03B9;</from>   <!-- ι -->
            <to>i</to>
        </rule>

        <rule>
            <from>&#x039A;</from>   <!-- Κ -->
            <to>K</to>
        </rule>
        <rule>
            <from>&#x03BA;</from>   <!-- κ -->
            <to>k</to>
        </rule>

        <rule>
            <from>&#x039B;</from>   <!-- Λ -->
            <to>L</to>
        </rule>
        <rule>
            <from>&#x03BB;</from>   <!-- λ -->
            <to>l</to>
        </rule>

        <rule>
            <from>&#x039C;</from>   <!-- Μ -->
            <to>M</to>
        </rule>
        <rule>
            <from>&#x03BC;</from>   <!-- μ -->
            <to>m</to>
        </rule>

        <rule>
            <from>&#x039D;</from>   <!-- Ν -->
            <to>N</to>
        </rule>
        <rule>
            <from>&#x03BD;</from>   <!-- ν -->
            <to>n</to>
        </rule>

        <rule>
            <from>&#x039E;</from>   <!-- Ξ -->
            <to>X</to>
        </rule>
        <rule>
            <from>&#x03BE;</from>   <!-- ξ -->
            <to>x</to>
        </rule>

        <rule>
            <from>&#x039F;</from>   <!-- Ο -->
            <to>O</to>
        </rule>
        <rule>
            <from>&#x03BF;</from>   <!-- ο -->
            <to>o</to>
        </rule>

        <rule>
            <from>&#x03A0;</from>   <!-- Π -->
            <to>P</to>
        </rule>
        <rule>
            <from>&#x03C0;</from>   <!-- π -->
            <to>p</to>
        </rule>

        <rule>
            <from>&#x03A1;</from>   <!-- Ρ -->
            <to>R</to>
        </rule>
        <rule>
            <from>&#x03C1;</from>   <!-- ρ -->
            <to>r</to>
        </rule>

        <rule>
            <from>&#x03A3;</from>   <!-- Σ -->
            <to>S</to>
        </rule>
        <rule>			    <!-- Ambiguity, see below -->
            <from>&#x03C2;</from>   <!-- ς -->
            <to>s</to>
        </rule>
        <rule>
            <from>&#x03C3;</from>   <!-- σ -->
            <to>s</to>
        </rule>

        <rule>
            <from>&#x03A4;</from>   <!-- Τ -->
            <to>T</to>
        </rule>
        <rule>
            <from>&#x03C4;</from>   <!-- τ -->
            <to>t</to>
        </rule>

        <rule>
            <from>&#x03A5;</from>   <!-- Υ -->
            <to>Y</to>
        </rule>
        <rule>
            <from>&#x03C5;</from>   <!-- υ -->
            <to>y</to>
        </rule>

        <rule>
            <from>&#x03A6;</from>   <!-- Φ -->
            <to>F</to>
        </rule>
        <rule>
            <from>&#x03C6;</from>   <!-- φ -->
            <to>f</to>
        </rule>

        <rule>
            <from>&#x03A7;</from>   <!-- Χ -->
            <to>Ch</to>
        </rule>
        <rule>
            <from>&#x03C7;</from>   <!-- χ -->
            <to>ch</to>
        </rule>

        <rule>
            <from>&#x03A8;</from>   <!-- Ψ -->
            <to>Ps</to>
        </rule>
        <rule>
            <from>&#x03C8;</from>   <!-- ψ -->
            <to>ps</to>
        </rule>

        <rule>
            <from>&#x03A9;</from>   <!-- Ω -->
            <to>&#x014C;</to>	    <!-- Ō -->
        </rule>
        <rule>
            <from>&#x03C9;</from>   <!-- ω -->
            <to>&#x014D;</to>	    <!-- ō -->
        </rule>
        <!-- Alternation skipped -->


        <!-- archaic characters -->


        <rule>
            <from>&#x03DA;</from>   <!-- Ϛ -->
            <to>S</to>
        </rule>
        <rule>
            <from>&#x03DB;</from>   <!-- ϛ -->
            <to>s</to>
        </rule>

        <rule>
            <from>&#x03DC;</from>   <!-- Ϝ -->
            <to>W</to>
        </rule>
        <rule>
            <from>&#x03DD;</from>   <!-- ϝ -->
            <to>f</to>
        </rule>

        <rule>
            <from>&#x03F3;</from>   <!-- ϳ -->
            <to>j</to>
        </rule>


        <!-- Diacritic marks -->


        <rule>
            <from>&#x0384;</from>   <!-- GREEK TONOS (spacing) -->
            <to>&#x00B4;</to>	    <!-- ACUTE ACCENT -->
        </rule>

        <rule>
            <from>&#x0385;</from>   <!-- GREEK DIALYTIKA TONOS (spacing) -->
            <to>&#x00A8;&#x0301;</to> <!-- DIAERESIS & ACUTE -->
        </rule>

        <rule>
            <from>&#x0342;</from>   <!-- COMBINING GREEK PERISPOMENI -->
            <to>&#x0302;</to>	    <!-- COMBINING CIRCUMFLEX ACCENT -->
        </rule>

        <rule>
            <from>&#x0343;</from>   <!-- COMBINING GREEK KORONIS -->
            <to>&#x02BC;</to>	    <!-- MODIFIER LETTER APOSTROPHE -->
        </rule>

        <rule>			    <!-- Psili -->
            <from>&#x0313;</from>   <!-- COMBINING COMMA ABOVE -->
            <to>&#x02BC;</to>	    <!-- MODIFIER LETTER APOSTROPHE -->
        </rule>

        <rule>			    <!-- Dasia -->
            <from>&#x0314;</from>   <!-- COMBINING REVERSED COMMA ABOVE -->
            <to>h</to>
        </rule>

        <rule>
            <from>&#x0345;</from>   <!-- COMBINING GREEK YPOGEGRAMMENI -->
            <to>&#x0327;</to>	    <!-- COMBINING CEDILLA -->
        </rule>

        <rule>
            <from>&#x0345;</from>   <!-- GREEK YPOGEGRAMMENI -->
            <to>&#x0327;</to>	    <!-- COMBINING CEDILLA -->
        </rule>



        <!-- Accented characters in (Greek) alphabetical order -->


        <rule>
            <from>&#x0386;</from>   <!-- Ά -->	    <!-- ...tonos -->
            <to>&#x00C1;</to>	    <!-- Á -->
        </rule>
        <rule>
            <from>&#x03AC;</from>   <!-- ά -->
            <to>&#x00E1;</to>	    <!-- á -->
        </rule>

        <rule>
            <from>&#x0388;</from>   <!-- Έ -->
            <to>&#x00C9;</to>	    <!-- É -->
        </rule>
        <rule>
            <from>&#x03AD;</from>   <!-- έ -->
            <to>&#x00E9;</to>	    <!-- é -->
        </rule>

        <rule>
            <from>&#x0389;</from>	<!-- Ή -->
            <to>&#x012A;&#x0301;</to>	<!-- Ī & acute -->
        </rule>
        <rule>
            <from>&#x03AE;</from>	<!-- ή -->
            <to>&#x012B;&#x301;</to>    <!-- ī & acute -->
        </rule>

        <rule>
            <from>&#x038A;</from>   <!-- Ί -->
            <to>&#x00CD;</to>	    <!-- Í -->
        </rule>
        <rule>
            <from>&#x03AF;</from>   <!-- ί -->
            <to>&#x00ED;</to>	    <!-- í -->
        </rule>

        <rule>
            <from>&#x038C;</from>   <!-- Ό -->
            <to>&#x00D3;</to>	    <!-- Ó -->
        </rule>
        <rule>
            <from>&#x03CC;</from>   <!-- ό -->
            <to>&#x00F3;</to>	    <!-- ó -->
        </rule>

        <rule>
            <from>&#x038E;</from>   <!-- Ύ -->
            <to>&#x00DD;</to>	    <!-- Ý -->
        </rule>
        <rule>
            <from>&#x03CD;</from>   <!-- ύ -->
            <to>&#x00FD;</to>	    <!-- ý -->
        </rule>

        <rule>
            <from>&#x038F;</from>   <!-- Ώ -->
            <to>&#x1E52;</to>	    <!-- Ṓ -->
        </rule>
        <rule>
            <from>&#x03CE;</from>   <!-- ώ -->
            <to>&#x1E53;</to>	    <!-- ṓ -->
        </rule>


        <rule>
            <from>&#x03AA;</from>   <!-- Ϊ -->	    <!-- ...dialytika -->
            <to>&#x00CF;</to>	    <!-- Ï -->
        </rule>
        <rule>
            <from>&#x03CA;</from>   <!-- ϊ -->
            <to>&#x00EF;</to>	    <!-- ï -->
        </rule>

        <rule>
            <from>&#x03AB;</from>   <!-- Ϋ -->
            <to>&#x0178;</to>	    <!-- Ÿ -->
        </rule>
        <rule>
            <from>&#x03CB;</from>   <!-- ϋ -->
            <to>&#x00FF;</to>	    <!-- ÿ -->
        </rule>

        <rule>
            <from>&#x0390;</from>   <!-- ΐ -->	    <!-- ...dialytika... -->
            <to>&#x1E2F;</to>	    <!-- ḯ -->	    <!-- ...and acute    -->
        </rule>

        <rule>
            <from>&#x03B0;</from>	<!-- ΰ -->
            <to>&#x00FF;&#x0301;</to>	<!-- ÿ́ -->
        </rule>


        <!-- Punctation marks -->


        <rule>
            <from>&#x037E;</from>   <!-- GREEK QUESTION MARK, EROTIMATIKO -->
            <to>?</to>
            <context>
                <after>\b</after>   <!-- always sentence-final! -->
            </context>
        </rule>

        <rule>
            <from>;</from>	    <!-- preferred for EROTIMATIKO -->
            <to>?</to>
            <context>
                <after>\b</after>   <!-- always sentence-final! -->
            </context>
        </rule>

        <rule>
            <from>&#x00B7;</from>   <!-- MIDDLE DOT, Greek ano teleia -->
            <to>;</to>
        </rule>

        <rule>
            <from>&#x203F;</from>   <!-- UNDERTIE, Greek enotikon -->
            <to>-</to>
        </rule>

        <!-- TODO:          telia == "." ? -->
        <!-- TODO: ano-kato telia == ":" ? -->

    </rules>

</translit>


<!--
  vim: sts=4 sw=4 ai et
-->