| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 | // This file is UTF-8 encoded
// Reference:
// Allen, W. Sidney. Vox Latina — a Guide to the Pronunciation of Classical Latin.
// Cambridge University Press, Second edition, 2003. ISBN 0-521-37936-9.
// Orthographic notes:
//
// In classical latin the letters A B C D E F G H I K L M N O P Q R S T V X Y Z were
// used. I and V were used for both the vowels /i/ and /u/, and the semivowels /j/ and
// /w/. Here the distinction between U and the V for /u/ and /w/ is assumed, as is the
// case in most modern texts. Also long vowels are indicated with macrons. Diaresis is
// used to prevent a diphtong being formed. Y with macron has to be replaced by 'yy', 
// since this character is incompatible with older unicode versions.
.replace
â	ā
ê	ē
î	ī
ô	ō
û	ū
ŷ	yy
.L01 ae au eu oe a e i o u yy y ā ē ī ō ū ë ü é æ
.L02 ng qu pr tr cr chr br dr gr pl cl bl gl ph th ch 
.group a
             a            a
    // Weak penultimate syllable: put stress on antepenutimate
             a (L01X      =a
             a (CL01X     =a
             a (L02L01X   =a
             a (guL01X    =a
             a (x+        a
    // Diphtongs
             ae (+++      aI
             au (+++      aU
.group ā
             ā            a:
.group æ
             æ            aI
.group b
             b            b
             bb           b:
.group c
             c            k
             cc           k:
             cch          k:<h> // e.g. bracchium
             ch           k<h>
.group d
             d            d
             dd           d:
.group e
             e            E
    // Weak penultimate syllable: put stress on antepenutimate
             e (L01X      =E
             e (CL01X     =E
             e (L02L01X   =E
             e (guL01X    =E
             e (x+        E
    // Diphtongs
             eu (+++      EU
.group ē
             ē            e:
.group f
             f            f
             ff           f:
.group g
             g            g
             gg           g:
             g (n         N
             ggu (A       g:w // Does this ever occur?
             gu (A        gw //g<w>
.group h
             h            h
             h:           h:
.group i
             i            I
    // Weak penultimate syllable: put stress on antepenutimate
             i (L01X      =I
             i (CL01X     =I
             i (L02L01X   =I
             i (guL01X    =I
             i (x+        I
    // Two adjacent 'i's should be separated by a glottal stop
             i (iX        =I?
             i (i         I?
    // Cases in which 'i' is pronounced as the semi-vowel /j/
          _) i (A         j
          A) i (A+        j:
    // Exceptions where u is a consonant
         qu) i (L01X++    =I
         qu) i (A++        I
         gu) i (L01X++    =I
         gu) i (A++        I
         _u) i (L01X++    =I
         _u) i (A++        I
         Au) i (L01X++    =I
         Au) i (A++        I
    // Exceptions to the exceptions
         au) i (A+++       j:
         eu) i (A+++       j:
.group ī
             ī            i:
.group k
             k            k
             kk           k:
.group l
             l            l
             ll           l:
.group m
             m            m
             mm           m:
.group n
             n            n
             nn           n:
             n (g         N
             n (c         N
             n (k         N
             n (x         N
             n (q         N
.group o
             o            O
    // Weak penultimate syllable: put stress on antepenutimate
             o (L01X      =O
             o (CL01X     =O
             o (L02L01X   =O
             o (guL01X    =O
             o (x+        O
    // Diphtongs
             oe (+++      OI
.group ō
             ō            o:
.group p
             p            p
             pp           p:
             pph          p:<h>
             ph           p<h>
.group qu
             qu           kw //k<w>
.group r
          C) r            @-*
             r            R
          _) r            R
             rr           R*
          A) r (A         R
.group s
             s            s
             ss           s:
.group t
             t            t
             tt           t:
             tth          t:<h> //Does this occur? It does at least across word boundaries e.g. leget Thyni
             th           t<h>
.group u
             u            U
    // Weak penultimate syllable: put stress on antepenutimate
             u (L01X      =U
             u (CL01X     =U
             u (L02L01X   =U
             u (guL01X    =U
             u (x+        U
    // Cases in which 'u' is pronounced as the semi-vowel /w/
          A) u (A++       w
          _) u (A+        w
.group ū
             ū            u:
.group v
             v            w
          _) v            w
             vv (+++      w:
.group x
             x            ks
.group y
             y            y  // Kirshenbaum I.
             yy           y: // Should be y with macron, which is not present in older Unicode versions
.group z
             z            z
             zz           z:
          A) z (A         z:
.group
             j            j
             w            w
 |