1. George Notaras
  2. django-primary-slug

Commits

George Notaras  committed bf8b9f2

Added notes.

  • Participants
  • Parent commits aca54e5
  • Branches default

Comments (0)

Files changed (1)

File src/primary_slug/translit/greek.py

View file
     return text
 
 def greek2latin(s):
+    """
+    http://www.teicrete.gr/users/kutrulis/Ergalia/ELOT743.htm
+    http://en.wikipedia.org/wiki/ISO_843
+    """
+    
     # Δίφθογγοι αυ, ευ, ηυ
     s = re.sub(u'([αεηΑΕΗ])[υύ]([βγδζλμνραιυεοηωάίύέόήώϊϋΒΓΔΖΛΜΝΡΑΙΥΕΟΗΩΆΊΎΈΌΉΏΪΫ])', r'\1v\2', s)
     s = re.sub(u'([αεηΑΕΗ])[ΥΎ]([βγδζλμνραιυεοηωάίύέόήώϊϋΒΓΔΖΛΜΝΡΑΙΥΕΟΗΩΆΊΎΈΌΉΏΪΫ])', r'\1V\2', s)