23 of 94 tests failed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
ecclēsia (Classical) | /ekˈkleː.si.a/ | /ekˈkleː.si.a/ | |
ecclēsia (Ecclesiastical) | /ekˈkle.si.a/ | /ekˈkle.si.a/ | |
magnus (Classical) | /ˈmaɡ.nus/ | /ˈmaɡ.nus/ | |
magnus (Ecclesiastical) | /ˈmaɲ.ɲus/ | /ˈmaɲ.ɲus/ | |
coepī (Classical) | /ˈkoe̯.piː/ | /ˈkoe̯.piː/ | |
coepī (Ecclesiastical) | /ˈt͡ʃe.pi/ | /ˈt͡ʃe.pi/ | |
Caesar (Classical) | /ˈkae̯.sar/ | /ˈkae̯.sar/ | |
Caesar (Ecclesiastical) | /ˈt͡ʃe.sar/ | /ˈt͡ʃe.sar/ | |
adhāmō (Classical) | /adˈhaː.moː/ | /adˈhaː.moː/ | |
adhāmō (Ecclesiastical) | /aˈda.mo/ | /aˈda.mo/ | |
rhotic allophones (no allophony currently shown) | |||
rēs (Classical) | /reːs/ | /reːs/ | |
rēs (Ecclesiastical) | /res/ | /res/ | |
ferre (Classical) | /ˈfer.re/ | /ˈfer.re/ | |
ferre (Ecclesiastical) | /ˈfer.re/ | /ˈfer.re/ | |
corporis (Classical) | /ˈkor.po.ris/ | /ˈkor.po.ris/ | |
corporis (Ecclesiastical) | /ˈkor.po.ris/ | /ˈkor.po.ris/ | |
inrīdeō (Classical) | /inˈriː.de.oː/ | /inˈriː.de.oː/ | |
inrīdeō (Ecclesiastical) | /inˈri.de.o/ | /inˈri.de.o/ | |
abrumpō (Classical) | /abˈrum.poː/ | /abˈrum.poː/ | |
lateral allophones | |||
similis (Classical) | /ˈsi.mi.lis/ | /ˈsi.mi.lis/ | |
simile (Classical) | /ˈsi.mi.le/ | /ˈsi.mi.le/ | |
simul (Classical) | /ˈsi.mul/ | /ˈsi.mul/ | |
alga (Classical) | /ˈal.ɡa/ | /ˈal.ɡa/ | |
nōlle (Classical) | /ˈnoːl.le/ | /ˈnoːl.le/ | |
semivowels between vowels | |||
majus (Classical) | /ˈmai̯.i̯us/ | /ˈmai̯.i̯us/ | |
majus (Ecclesiastical) | /ˈma.jus/ | /ˈma.jus/ | |
peius (Classical) | /ˈpei̯.i̯us/ | /ˈpei̯.i̯us/ | |
peius (Ecclesiastical) | /ˈpe.jus/ | /ˈpe.jus/ | |
cuius (Classical) | /ˈkui̯.i̯us/ | /ˈkui̯.i̯us/ | |
cuius (Ecclesiastical) | /ˈku.jus/ | /ˈku.jus/ | |
trāiectus (Classical) | /traːˈi̯ek.tus/ | /traːˈi̯ek.tus/ | |
trāiectus (Ecclesiastical) | /traˈjek.tus/ | /traˈjek.tus/ | |
dēiectus (Classical) | /deːˈi̯ek.tus/ | /deːˈi̯ek.tus/ | |
dēiectus (Ecclesiastical) | /deˈjek.tus/ | /deˈjek.tus/ | |
prōiectus (Classical) | /proːˈi̯ek.tus/ | /proːˈi̯ek.tus/ | |
prōiectus (Ecclesiastical) | /proˈjek.tus/ | /proˈjek.tus/ | |
cavus (Classical) | /ˈka.u̯us/ | /ˈka.u̯us/ | |
cauus (Classical) | /ˈka.u̯us/ | /ˈka.u̯us/ | |
diphthongs before vowels and word-finally | |||
iūdaeus (Classical) | /i̯uːˈdae̯.us/ | /i̯uːˈdae̯.us/ | |
iūdaeus (Ecclesiastical) | /juˈde.us/ | /juˈde.us/ | |
Meliboea (Classical) | /me.liˈboe̯.a/ | /me.liˈboe̯.a/ | |
Meliboea (Ecclesiastical) | /me.liˈbe.a/ | /me.liˈbe.a/ | |
Agau.ē (Classical) | /aˈɡau̯.eː/ | /aˈɡau̯.eː/ | |
catasceu.a (Classical) | /ka.tasˈkeu̯.a/ | /ka.tasˈkeu̯.a/ | |
nauta (Classical) | /ˈnau̯.ta/ | /ˈnau̯.ta/ | |
nauta (Ecclesiastical) | /ˈnau̯.ta/ | /ˈnau̯.ta/ | |
auctus (Classical) | /ˈau̯k.tus/ | /ˈau̯k.tus/ | |
auctus (Ecclesiastical) | /ˈau̯k.tus/ | /ˈau̯k.tus/ | |
neu (Classical) | /neu̯/ | /neu̯/ | |
neu (Ecclesiastical) | /neu̯/ | /neu̯/ | |
hau (Classical) | /hau̯/ | /hau̯/ | |
hau (Ecclesiastical) | /au̯/ | /au̯/ | |
palatalization of c, g, sc | |||
gerō (Ecclesiastical) | /ˈd͡ʒe.ro/ | /ˈd͡ʒe.ro/ | |
certus (Ecclesiastical) | /ˈt͡ʃer.tus/ | /ˈt͡ʃer.tus/ | |
faciō (Ecclesiastical) | /ˈfa.t͡ʃi.o/ | /ˈfa.t͡ʃi.o/ | |
caelus (Ecclesiastical) | /ˈt͡ʃe.lus/ | /ˈt͡ʃe.lus/ | |
scelus (Ecclesiastical) | /ˈʃe.lus/ | /ˈʃe.lus/ | |
suggillo (Ecclesiastical) | /sudˈd͡ʒil.lo/ | /sudˈd͡ʒil.lo/ | |
conscientia (Ecclesiastical) | /kon.ʃiˈen.t͡si.a/ | /kon.ʃiˈen.t͡si.a/ | |
nescio (Ecclesiastical) | /ˈne.ʃi.o/ | /ˈneʃ.ʃi.o/ | |
masclus (Ecclesiastical) | /ˈmas.klus/ | /ˈmas.klus/ | |
perscisco (Ecclesiastical) | /perˈʃis.ko/ | /perˈʃis.ko/ | |
Volsci (Ecclesiastical) | /ˈvol.ʃi/ | /ˈvol.ʃi/ | |
abscindo (Ecclesiastical) | /apˈʃin.do/ | /abˈʃin.do/ | |
berkelium (Ecclesiastical) | /berˈke.li.um/ | /berˈke.li.um/ | |
alaskensis (Ecclesiastical) | /a.lasˈken.sis/ | /a.lasˈken.sis/ | |
palatalization of t | |||
nātiō (Ecclesiastical) | /ˈna.t͡si.o/ | /ˈnat.t͡si.o/ | |
gluttiō (Ecclesiastical) | /ˈɡlut.ti.o/ | /ˈɡlut.ti.o/ | |
Christiānus (Ecclesiastical) | /kris.tiˈa.nus/ | /kris.tiˈa.nus/ | |
satietas (Ecclesiastical) | /saˈt͡si.e.tas/ | /satˈt͡si.e.tas/ | |
narrow transcription of coronal plosives | |||
apud (Ecclesiastical) | /ˈa.pud/ | /ˈa.pud/ | |
dormiunt (Ecclesiastical) | /ˈdor.mi.unt/ | /ˈdor.mi.unt/ | |
syllabification | |||
obsolētus (Classical) | /ob.soˈleː.tus/ | /ob.soˈleː.tus/ | |
ȳpsīlon (Classical) | /yːpˈsiː.lon/ | /yːpˈsiː.lon/ | |
psychē (Classical) | /ˈpsy.kʰeː/ | /ˈpsy.kʰeː/ | |
ū̆ncia (Classical) | /ˈuːn.ki.a/ | /ˈuːn.ki.a/ | |
mig;rō (Classical) | /ˈmi.ɡroː/ | /ˈmi.ɡroː/ | |
hiatus | |||
vīnea (Classical) | /ˈu̯iː.ne.a/ | /ˈu̯iː.ne.a/ | |
vīnea (Ecclesiastical) | /ˈvi.ne.a/ | /ˈvi.ne.a/ | |
via (Classical) | /ˈu̯i.a/ | /ˈu̯i.a/ | |
via (Ecclesiastical) | /ˈvi.a/ | /ˈvi.a/ | |
Dryas (Classical) | /ˈdry.as/ | /ˈdry.as/ | |
duās (Classical) | /ˈdu.aːs/ | /ˈdu.aːs/ | |
svāvium (Classical) | /ˈsu̯aː.u̯i.um/ | /ˈsu̯aː.u̯i.um/ | |
svāvium (Ecclesiastical) | /ˈswa.vi.um/ | /ˈswa.vi.um/ | |
quantus.vīs (Classical) | /kʷanˈtus.u̯iːs/ | /kʷanˈtus.u̯iːs/ | |
quantus.vīs (Ecclesiastical) | /kwanˈtus.vis/ | /kwanˈtus.vis/ | |
voicing, place assimilation, and elision in Classical Latin heterosyllabic consonant clusters | |||
adsum (Classical) | /ˈad.sum/ | /ˈad.sum/ | |
etsī (Classical) | /ˈet.siː/ | /ˈet.siː/ | |
adpetō (Classical) | /ˈad.pe.toː/ | /ˈad.pe.toː/ | |
quad.rāns (Classical) | /ˈkʷad.rans/ | /ˈkʷad.rans/ | |
adripiō (Classical) | /adˈri.pi.oː/ | /adˈri.pi.oː/ | |
postquam (Classical) | /ˈpost.kʷam/ | /ˈpost.kʷam/ | |
stringō (Classical) | /ˈstrin.ɡoː/ | /ˈstrin.ɡoː/ |
local tests = require "Module:UnitTests"
local to_IPA = require "Module:la-pronunc".convert_words
local Latin = require "Module:languages".getByCode "la"
local function link(word)
return require "Module:links".full_link { term = word, lang = Latin }
end
local function format_IPA(phonemic, phonetic)
return ('<span class="IPA">/%s/</span> <span class="IPA"></span>')
:format(tostring(phonemic), tostring(phonetic))
end
function tests:test_all()
local examples = {
-- spelling, Classical phonemic and phonetic, Ecclesiastical phonemic and phonetic
{ "ecclēsia", { "ekˈkleː.si.a", "ɛkˈkɫ̪eːs̠iä" }, { "ekˈkle.si.a", "ɛkˈklɛːs̬iä" } },
{ "magnus", { "ˈmaɡ.nus", "ˈmäŋnʊs̠" }, { "ˈmaɲ.ɲus", "ˈmäɲːus" } },
{ "coepī", { "ˈkoe̯.piː", "ˈkoe̯piː" }, { "ˈt͡ʃe.pi", "ˈt͡ʃɛːpi" } },
{ "Caesar", { "ˈkae̯.sar", "ˈkäe̯s̠är" }, { "ˈt͡ʃe.sar", "ˈt͡ʃɛːs̬är" } },
{ "adhāmō", { "adˈhaː.moː", "äd̪ˈ(ɦ)äːmoː" }, { "aˈda.mo", "äˈd̪äːmɔ" } },
"rhotic allophones (no allophony currently shown)",
{ "rēs", { "reːs", "reːs̠" }, {"res", "rɛs"} },
{ "ferre", { "ˈfer.re", "ˈfɛrːɛ" }, {"ˈfer.re", "ˈfɛrːɛ"} },
{ "corporis", { "ˈkor.po.ris", "ˈkɔrpɔrɪs̠" }, {"ˈkor.po.ris", "ˈkɔrpɔris"} },
{ "inrīdeō", { "inˈriː.de.oː", "ɪnˈriːd̪eoː" }, {"inˈri.de.o", "inˈriːd̪ɛɔ"} },
{ "abrumpō", { "abˈrum.poː", "äbˈrʊmpoː" }, false, },
--Not implemented yet: phrases
--{ "bona rēs", { "ˈbo.na ˈreːs", "ˈbɔnäˈreːs̠" }, false, },
--{ "ācer Amor", { "ˈaː.keˈr‿amɔr", "ˈäːkɛˈrämɔɾ" }, false, },
"lateral allophones",
{ "similis", { "ˈsi.mi.lis", "ˈs̠ɪmɪlʲɪs̠" }, false, },
{ "simile", { "ˈsi.mi.le", "ˈs̠ɪmɪɫ̪ɛ" }, false, },
{ "simul", { "ˈsi.mul", "ˈs̠ɪmʊɫ̪" }, false, },
{ "alga", { "ˈal.ɡa", "ˈäɫ̪ɡä" }, false, },
{ "nōlle", { "ˈnoːl.le", "ˈnoːlːʲɛ" }, false, },
--Not implemented yet: phrases
--{ "simul ipse", { "ˈsi.muˈl‿ip.se", "ˈs̠ɪmʊˈlʲɪpsɛ" }, false, },
--{ "difficilī argūmentō", { "difˈfi.ki.l‿ar.guːˈmen.toː", "d̪ɪfˈfɪkɪɫ̪arguːˈmɛntoː" }, false, },
"semivowels between vowels",
{ "majus", { "ˈmai̯.i̯us", "ˈmäi̯ːʊs̠" }, {"ˈma.jus", "ˈmäːjus"} },
{ "peius", { "ˈpei̯.i̯us", "ˈpɛi̯ːʊs̠" }, {"ˈpe.jus", "ˈpɛːjus"} },
{ "cuius", { "ˈkui̯.i̯us", "ˈkʊi̯ːʊs̠" }, {"ˈku.jus", "ˈkuːjus"} },
{ "trāiectus", { "traːˈi̯ek.tus", "t̪räːˈi̯ɛkt̪ʊs̠" }, {"traˈjek.tus", "t̪räˈjɛkt̪us"} },
{ "dēiectus", { "deːˈi̯ek.tus", "d̪eːˈi̯ɛkt̪ʊs̠" }, {"deˈjek.tus", "d̪ɛˈjɛkt̪us"} },
{ "prōiectus", { "proːˈi̯ek.tus", "proːˈi̯ɛkt̪ʊs̠" }, {"proˈjek.tus", "prɔˈjɛkt̪us"} },
{ "cavus", { "ˈka.u̯us", "ˈkäu̯ʊs̠" } },
{ "cauus", { "ˈka.u̯us", "ˈkäu̯ʊs̠" } },
--Note: Italian words such as Baia and Febbraio have non-doubled /j/, and presumably Ecclesiastical pronunciation of majus etc. is similar.
"diphthongs before vowels and word-finally",
--Note: Heavy diphthongs before vowels can alternatively be analyzed as sequences of short vowel followed by -ww- or -jj-
{ "iūdaeus", { "i̯uːˈdae̯.us", "i̯uːˈd̪äe̯ʊs̠" }, { "juˈde.us", "juˈd̪ɛːus" } },
{ "Meliboea", { "me.liˈboe̯.a", "mɛlʲɪˈboe̯ä" }, { "me.liˈbe.a", "mɛliˈbɛːä" } },
{ "Agau.ē", { "aˈɡau̯.eː", "äˈɡäu̯eː" }, false },
{ "catasceu.a", { "ka.tasˈkeu̯.a", "kät̪äs̠ˈkɛu̯ä" }, false },
{ "nauta", { "ˈnau̯.ta", "ˈnäu̯t̪ä" }, { "ˈnau̯.ta", "ˈnäu̯t̪ä" } },
{ "auctus", { "ˈau̯k.tus", "ˈäu̯kt̪ʊs̠" }, { "ˈau̯k.tus", "ˈäu̯kt̪us" } },
{ "neu", { "neu̯", "nɛu̯" }, { "neu̯", "nɛu̯" }},
{ "hau", { "hau̯", "häu̯" }, { "au̯", "äu̯" }},
"palatalization of c, g, sc",
{ "gerō", nil, { "ˈd͡ʒe.ro", "ˈd͡ʒɛːrɔ" } },
{ "certus", nil, { "ˈt͡ʃer.tus", "ˈt͡ʃɛrt̪us" } },
{ "faciō", nil, { "ˈfa.t͡ʃi.o", "ˈfäːt͡ʃiɔ" } },
{ "caelus", nil, { "ˈt͡ʃe.lus", "ˈt͡ʃɛːlus" } },
{ "scelus", nil, { "ˈʃe.lus", "ˈʃɛːlus" } },
{ "suggillo", nil, { "sudˈd͡ʒil.lo", "sudˈd͡ʒilːɔ" } },
-- palatalization of sc (as ʃ)
{ "conscientia", nil, { "kon.ʃiˈen.t͡si.a", "kɔn̠ʲʃiˈɛnt̪͡s̪iä" } },
{ "nescio", nil, { "ˈne.ʃi.o", "ˈnɛːʃiɔ" } },
{ "masclus", nil, { "ˈmas.klus", "ˈmäsklus" } },
{ "perscisco", nil, { "perˈʃis.ko", "pɛrˈʃiskɔ" } },
{ "Volsci", nil, { "ˈvol.ʃi", "ˈvɔl̠ʲʃi" } },
{ "abscindo", nil, { "apˈʃin.do", "äpˈʃin̪d̪ɔ" } },
--edge cases spelled with K that shouldn't display as palatalized
{ "berkelium", nil, { "berˈke.li.um", "bɛrˈkɛːlium" } },
{ "alaskensis", nil, { "a.lasˈken.sis", "äläsˈkɛnsis" } },
"palatalization of t",
-- Unlike Italian, Ecclesiastical Latin is not described as regularly doubling the t͡s sound resulting from affrication of t before i.
{ "nātiō", nil, { "ˈna.t͡si.o", "ˈnäːt̪͡s̪iɔ" } },
{ "gluttiō", nil, { "ˈɡlut.ti.o", "ˈɡlut̪ːiɔ" } },
{ "Christiānus", nil, { "kris.tiˈa.nus", "krist̪iˈäːnus" } },
{ "satietas", nil, { "saˈt͡si.e.tas", "säˈt̪͡s̪iːɛt̪äs" } },
-- Some sources suggest that affrication occurs only in unstressed syllables (where /i/ could be reduced to /j/).
--But I think that while this may describe the original environment of the sound change, it's not a condition for the conventional pronunciation.
"narrow transcription of coronal plosives",
{ "apud", nil, { "ˈa.pud", "ˈäːpud̪" } },
{ "dormiunt", nil, { "ˈdor.mi.unt", "ˈd̪ɔrmiun̪t̪" } },
"syllabification",
{ "obsolētus", { "ob.soˈleː.tus", "ɔps̠ɔˈɫ̪eːt̪ʊs̠" } },
{ "ȳpsīlon", { "yːpˈsiː.lon", "yːpˈs̠iːɫ̪ɔn" } },
{ "psychē", { "ˈpsy.kʰeː", "ˈps̠ʏkʰeː" } },
{ "ū̆ncia", { "ˈuːn.ki.a", "ˈuːŋkiä" } },
{ "mig;rō", { "ˈmi.ɡroː", "ˈmɪɡroː" } },
"hiatus",
--{ "deeō", { "ˈde.e.oː", "ˈd̪eeoː" } }, --leaving this out as it's unclear what the intended behavior is.
{ "vīnea", { "ˈu̯iː.ne.a", "ˈu̯iːneä" }, { "ˈvi.ne.a", "ˈviːnɛä" } },
{ "via", { "ˈu̯i.a", "ˈu̯iä" }, { "ˈvi.a", "ˈviːä" } },
{ "Dryas", { "ˈdry.as", "ˈd̪ryäs̠" } },
{ "duās", { "ˈdu.aːs", "ˈd̪uäːs̠" } }, -- Allen doesn't mention this. Some sources say u has a w-like glide in hiatus.
{ "svāvium", { "ˈsu̯aː.u̯i.um", "ˈs̠u̯äːu̯iʊ̃ˑ" }, { "ˈswa.vi.um", "ˈswäːvium" } },
{ "quantus.vīs", { "kʷanˈtus.u̯iːs", "kʷän̪ˈt̪ʊs̠u̯iːs̠" }, { "kwanˈtus.vis", "kwän̪ˈt̪uzvis" } },
"voicing, place assimilation, and elision in Classical Latin heterosyllabic consonant clusters",
{ "adsum", { "ˈad.sum", "ˈäs̠ːʊ̃ˑ" } },
{ "etsī", { "ˈet.siː", "ˈɛt̪s̠iː" } }, --no sources describe elision in the rare /t.s/ words
{ "adpetō", { "ˈad.pe.toː", "ˈäpːɛt̪oː" } },
{ "quad.rāns", { "ˈkʷad.rans", "ˈkʷäd̪rä̃ːs̠" } }, --assimilation doesn't occur in morpheme-internal heterosyllabic /d.r/
{ "adripiō", { "adˈri.pi.oː", "äd̪ˈrɪpioː" } }, --therefore, if we indicate assimilation in ad- prefixed words, it needs to special-coded
{ "postquam", { "ˈpost.kʷam", "ˈpɔs̠(t̪)kʷä̃ˑ" } }, --optional elision of coda /t/ in /st/ before a heterosyllabic following consonant
{ "stringō", { "ˈstrin.ɡoː", "ˈs̠t̪rɪŋɡoː" } }, --but /t/ in an onset cluster should never elide
--Not implemented yet: "inter-word resyllabifications and assimilations for Classical Latin phrases",
--{ "ad fontēs", { "at ˈfon.teːs", "at̪ˈfɔn̪t̪eːs̠" } },
--{ "ad astra", { "aˈd‿as.tra", "äˈd̪äs̠t̪rä" } },
--{ "eādem mūtāta resurgō", { "eˈaː.dem muːˈtaː.ta reˈsur.ɡoː", "eˈäːd̪ɛmmuːˈt̪äːt̪ärɛˈs̠ʊrɡoː" } },
--{ "ab ōvō ūsque ad māla", { "aˈb‿oː.ˈw‿uːs.kʷ‿ad ˈmaː.la", "äˈboːˈwuːs̠kʷäd̪ˈmäːɫ̪ä" } },
}
-- local options = { display = format_IPA }
self:iterate(examples, function (self, word, Classical, Ecclesiastical)
if Classical then
self:equals(
link(word) .. " (Classical)",
format_IPA(to_IPA(word, false, false, false), to_IPA(word, true, false, false)),
format_IPA(unpack(Classical)))
end
if Ecclesiastical then
self:equals(
link(word) .. " (Ecclesiastical)",
format_IPA(to_IPA(word, false, true, false), to_IPA(word, true, true, false)),
format_IPA(unpack(Ecclesiastical)))
end
end)
end
return tests