Jump to content

Module:la-pronunc/testcases

From Wiktionary, the free dictionary

23 of 94 tests failed. (refresh)

TextExpectedActual
test_all:
Passedecclēsia (Classical)/ekˈkleː.si.a/ [ɛkˈkɫ̪eːs̠iä]/ekˈkleː.si.a/ [ɛkˈkɫ̪eːs̠iä]
Failedecclēsia (Ecclesiastical)/ekˈkle.si.a/ [ɛkˈklɛːs̬iä]/ekˈkle.si.a/ [ekˈklɛːs̬iä]
Passedmagnus (Classical)/ˈmaɡ.nus/ [ˈmäŋnʊs̠]/ˈmaɡ.nus/ [ˈmäŋnʊs̠]
Passedmagnus (Ecclesiastical)/ˈmaɲ.ɲus/ [ˈmäɲːus]/ˈmaɲ.ɲus/ [ˈmäɲːus]
Passedcoepī (Classical)/ˈkoe̯.piː/ [ˈkoe̯piː]/ˈkoe̯.piː/ [ˈkoe̯piː]
Passedcoepī (Ecclesiastical)/ˈt͡ʃe.pi/ [ˈt͡ʃɛːpi]/ˈt͡ʃe.pi/ [ˈt͡ʃɛːpi]
PassedCaesar (Classical)/ˈkae̯.sar/ [ˈkäe̯s̠är]/ˈkae̯.sar/ [ˈkäe̯s̠är]
PassedCaesar (Ecclesiastical)/ˈt͡ʃe.sar/ [ˈt͡ʃɛːs̬är]/ˈt͡ʃe.sar/ [ˈt͡ʃɛːs̬är]
Passedadhāmō (Classical)/adˈhaː.moː/ [äd̪ˈ(ɦ)äːmoː]/adˈhaː.moː/ [äd̪ˈ(ɦ)äːmoː]
Failedadhāmō (Ecclesiastical)/aˈda.mo/ [äˈd̪äːmɔ]/aˈda.mo/ [äˈd̪äːmo]
rhotic allophones (no allophony currently shown)
Passedrēs (Classical)/reːs/ [reːs̠]/reːs/ [reːs̠]
Passedrēs (Ecclesiastical)/res/ [rɛs]/res/ [rɛs]
Passedferre (Classical)/ˈfer.re/ [ˈfɛrːɛ]/ˈfer.re/ [ˈfɛrːɛ]
Failedferre (Ecclesiastical)/ˈfer.re/ [ˈfɛrːɛ]/ˈfer.re/ [ˈfɛrːe]
Passedcorporis (Classical)/ˈkor.po.ris/ [ˈkɔrpɔrɪs̠]/ˈkor.po.ris/ [ˈkɔrpɔrɪs̠]
Failedcorporis (Ecclesiastical)/ˈkor.po.ris/ [ˈkɔrpɔris]/ˈkor.po.ris/ [ˈkɔrporis]
Passedinrīdeō (Classical)/inˈriː.de.oː/ [ɪnˈriːd̪eoː]/inˈriː.de.oː/ [ɪnˈriːd̪eoː]
Failedinrīdeō (Ecclesiastical)/inˈri.de.o/ [inˈriːd̪ɛɔ]/inˈri.de.o/ [inˈriːd̪eo]
Passedabrumpō (Classical)/abˈrum.poː/ [äbˈrʊmpoː]/abˈrum.poː/ [äbˈrʊmpoː]
lateral allophones
Passedsimilis (Classical)/ˈsi.mi.lis/ [ˈs̠ɪmɪlʲɪs̠]/ˈsi.mi.lis/ [ˈs̠ɪmɪlʲɪs̠]
Passedsimile (Classical)/ˈsi.mi.le/ [ˈs̠ɪmɪɫ̪ɛ]/ˈsi.mi.le/ [ˈs̠ɪmɪɫ̪ɛ]
Passedsimul (Classical)/ˈsi.mul/ [ˈs̠ɪmʊɫ̪]/ˈsi.mul/ [ˈs̠ɪmʊɫ̪]
Passedalga (Classical)/ˈal.ɡa/ [ˈäɫ̪ɡä]/ˈal.ɡa/ [ˈäɫ̪ɡä]
Passednōlle (Classical)/ˈnoːl.le/ [ˈnoːlːʲɛ]/ˈnoːl.le/ [ˈnoːlːʲɛ]
semivowels between vowels
Passedmajus (Classical)/ˈmai̯.i̯us/ [ˈmäi̯ːʊs̠]/ˈmai̯.i̯us/ [ˈmäi̯ːʊs̠]
Passedmajus (Ecclesiastical)/ˈma.jus/ [ˈmäːjus]/ˈma.jus/ [ˈmäːjus]
Passedpeius (Classical)/ˈpei̯.i̯us/ [ˈpɛi̯ːʊs̠]/ˈpei̯.i̯us/ [ˈpɛi̯ːʊs̠]
Passedpeius (Ecclesiastical)/ˈpe.jus/ [ˈpɛːjus]/ˈpe.jus/ [ˈpɛːjus]
Passedcuius (Classical)/ˈkui̯.i̯us/ [ˈkʊi̯ːʊs̠]/ˈkui̯.i̯us/ [ˈkʊi̯ːʊs̠]
Passedcuius (Ecclesiastical)/ˈku.jus/ [ˈkuːjus]/ˈku.jus/ [ˈkuːjus]
Passedtrāiectus (Classical)/traːˈi̯ek.tus/ [t̪räːˈi̯ɛkt̪ʊs̠]/traːˈi̯ek.tus/ [t̪räːˈi̯ɛkt̪ʊs̠]
Passedtrāiectus (Ecclesiastical)/traˈjek.tus/ [t̪räˈjɛkt̪us]/traˈjek.tus/ [t̪räˈjɛkt̪us]
Passeddēiectus (Classical)/deːˈi̯ek.tus/ [d̪eːˈi̯ɛkt̪ʊs̠]/deːˈi̯ek.tus/ [d̪eːˈi̯ɛkt̪ʊs̠]
Faileddēiectus (Ecclesiastical)/deˈjek.tus/ [d̪ɛˈjɛkt̪us]/deˈjek.tus/ [d̪eˈjɛkt̪us]
Passedprōiectus (Classical)/proːˈi̯ek.tus/ [proːˈi̯ɛkt̪ʊs̠]/proːˈi̯ek.tus/ [proːˈi̯ɛkt̪ʊs̠]
Failedprōiectus (Ecclesiastical)/proˈjek.tus/ [prɔˈjɛkt̪us]/proˈjek.tus/ [proˈjɛkt̪us]
Passedcavus (Classical)/ˈka.u̯us/ [ˈkäu̯ʊs̠]/ˈka.u̯us/ [ˈkäu̯ʊs̠]
Passedcauus (Classical)/ˈka.u̯us/ [ˈkäu̯ʊs̠]/ˈka.u̯us/ [ˈkäu̯ʊs̠]
diphthongs before vowels and word-finally
Passediūdaeus (Classical)/i̯uːˈdae̯.us/ [i̯uːˈd̪äe̯ʊs̠]/i̯uːˈdae̯.us/ [i̯uːˈd̪äe̯ʊs̠]
Passediūdaeus (Ecclesiastical)/juˈde.us/ [juˈd̪ɛːus]/juˈde.us/ [juˈd̪ɛːus]
PassedMeliboea (Classical)/me.liˈboe̯.a/ [mɛlʲɪˈboe̯ä]/me.liˈboe̯.a/ [mɛlʲɪˈboe̯ä]
FailedMeliboea (Ecclesiastical)/me.liˈbe.a/ [mɛliˈbɛːä]/me.liˈbe.a/ [meliˈbɛːä]
PassedAgau.ē (Classical)/aˈɡau̯.eː/ [äˈɡäu̯eː]/aˈɡau̯.eː/ [äˈɡäu̯eː]
Passedcatasceu.a (Classical)/ka.tasˈkeu̯.a/ [kät̪äs̠ˈkɛu̯ä]/ka.tasˈkeu̯.a/ [kät̪äs̠ˈkɛu̯ä]
Passednauta (Classical)/ˈnau̯.ta/ [ˈnäu̯t̪ä]/ˈnau̯.ta/ [ˈnäu̯t̪ä]
Failednauta (Ecclesiastical)/ˈnau̯.ta/ [ˈnäu̯t̪ä]/ˈnau̯.ta/ [ˈnäːu̯t̪ä]
Passedauctus (Classical)/ˈau̯k.tus/ [ˈäu̯kt̪ʊs̠]/ˈau̯k.tus/ [ˈäu̯kt̪ʊs̠]
Passedauctus (Ecclesiastical)/ˈau̯k.tus/ [ˈäu̯kt̪us]/ˈau̯k.tus/ [ˈäu̯kt̪us]
Passedneu (Classical)/neu̯/ [nɛu̯]/neu̯/ [nɛu̯]
Failedneu (Ecclesiastical)/neu̯/ [nɛu̯]/neu̯/ [nɛːu̯]
Passedhau (Classical)/hau̯/ [häu̯]/hau̯/ [häu̯]
Failedhau (Ecclesiastical)/au̯/ [äu̯]/au̯/ [äːu̯]
palatalization of c, g, sc
Failedgerō (Ecclesiastical)/ˈd͡ʒe.ro/ [ˈd͡ʒɛːrɔ]/ˈd͡ʒe.ro/ [ˈd͡ʒɛːro]
Passedcertus (Ecclesiastical)/ˈt͡ʃer.tus/ [ˈt͡ʃɛrt̪us]/ˈt͡ʃer.tus/ [ˈt͡ʃɛrt̪us]
Failedfaciō (Ecclesiastical)/ˈfa.t͡ʃi.o/ [ˈfäːt͡ʃiɔ]/ˈfa.t͡ʃi.o/ [ˈfäːt͡ʃio]
Passedcaelus (Ecclesiastical)/ˈt͡ʃe.lus/ [ˈt͡ʃɛːlus]/ˈt͡ʃe.lus/ [ˈt͡ʃɛːlus]
Passedscelus (Ecclesiastical)/ˈʃe.lus/ [ˈʃɛːlus]/ˈʃe.lus/ [ˈʃɛːlus]
Failedsuggillo (Ecclesiastical)/sudˈd͡ʒil.lo/ [sudˈd͡ʒilːɔ]/sudˈd͡ʒil.lo/ [sudˈd͡ʒilːo]
Failedconscientia (Ecclesiastical)/kon.ʃiˈen.t͡si.a/ [kɔn̠ʲʃiˈɛnt̪͡s̪iä]/kon.ʃiˈen.t͡si.a/ [kon̠ʲʃiˈɛnt̪͡s̪iä]
Failednescio (Ecclesiastical)/ˈne.ʃi.o/ [ˈnɛːʃiɔ]/ˈneʃ.ʃi.o/ [ˈnɛʃːio]
Passedmasclus (Ecclesiastical)/ˈmas.klus/ [ˈmäsklus]/ˈmas.klus/ [ˈmäsklus]
Failedperscisco (Ecclesiastical)/perˈʃis.ko/ [pɛrˈʃiskɔ]/perˈʃis.ko/ [perˈʃisko]
PassedVolsci (Ecclesiastical)/ˈvol.ʃi/ [ˈvɔl̠ʲʃi]/ˈvol.ʃi/ [ˈvɔl̠ʲʃi]
Failedabscindo (Ecclesiastical)/apˈʃin.do/ [äpˈʃin̪d̪ɔ]/abˈʃin.do/ [äbˈʃin̪d̪o]
Failedberkelium (Ecclesiastical)/berˈke.li.um/ [bɛrˈkɛːlium]/berˈke.li.um/ [berˈkɛːlium]
Passedalaskensis (Ecclesiastical)/a.lasˈken.sis/ [äläsˈkɛnsis]/a.lasˈken.sis/ [äläsˈkɛnsis]
palatalization of t
Failednātiō (Ecclesiastical)/ˈna.t͡si.o/ [ˈnäːt̪͡s̪iɔ]/ˈnat.t͡si.o/ [ˈnät̪ː͡s̪io]
Failedgluttiō (Ecclesiastical)/ˈɡlut.ti.o/ [ˈɡlut̪ːiɔ]/ˈɡlut.ti.o/ [ˈɡlut̪ːio]
PassedChristiānus (Ecclesiastical)/kris.tiˈa.nus/ [krist̪iˈäːnus]/kris.tiˈa.nus/ [krist̪iˈäːnus]
Failedsatietas (Ecclesiastical)/saˈt͡si.e.tas/ [säˈt̪͡s̪iːɛt̪äs]/satˈt͡si.e.tas/ [sät̪ˈt̪͡s̪iːet̪äs]
narrow transcription of coronal plosives
Passedapud (Ecclesiastical)/ˈa.pud/ [ˈäːpud̪]/ˈa.pud/ [ˈäːpud̪]
Passeddormiunt (Ecclesiastical)/ˈdor.mi.unt/ [ˈd̪ɔrmiun̪t̪]/ˈdor.mi.unt/ [ˈd̪ɔrmiun̪t̪]
syllabification
Passedobsolētus (Classical)/ob.soˈleː.tus/ [ɔps̠ɔˈɫ̪eːt̪ʊs̠]/ob.soˈleː.tus/ [ɔps̠ɔˈɫ̪eːt̪ʊs̠]
Passedȳpsīlon (Classical)/yːpˈsiː.lon/ [yːpˈs̠iːɫ̪ɔn]/yːpˈsiː.lon/ [yːpˈs̠iːɫ̪ɔn]
Passedpsychē (Classical)/ˈpsy.kʰeː/ [ˈps̠ʏkʰeː]/ˈpsy.kʰeː/ [ˈps̠ʏkʰeː]
Passedū̆ncia (Classical)/ˈuːn.ki.a/ [ˈuːŋkiä]/ˈuːn.ki.a/ [ˈuːŋkiä]
Passedmig;rō (Classical)/ˈmi.ɡroː/ [ˈmɪɡroː]/ˈmi.ɡroː/ [ˈmɪɡroː]
hiatus
Passedvīnea (Classical)/ˈu̯iː.ne.a/ [ˈu̯iːneä]/ˈu̯iː.ne.a/ [ˈu̯iːneä]
Failedvīnea (Ecclesiastical)/ˈvi.ne.a/ [ˈviːnɛä]/ˈvi.ne.a/ [ˈviːneä]
Passedvia (Classical)/ˈu̯i.a/ [ˈu̯iä]/ˈu̯i.a/ [ˈu̯iä]
Passedvia (Ecclesiastical)/ˈvi.a/ [ˈviːä]/ˈvi.a/ [ˈviːä]
PassedDryas (Classical)/ˈdry.as/ [ˈd̪ryäs̠]/ˈdry.as/ [ˈd̪ryäs̠]
Passedduās (Classical)/ˈdu.aːs/ [ˈd̪uäːs̠]/ˈdu.aːs/ [ˈd̪uäːs̠]
Passedsvāvium (Classical)/ˈsu̯aː.u̯i.um/ [ˈs̠u̯äːu̯iʊ̃ˑ]/ˈsu̯aː.u̯i.um/ [ˈs̠u̯äːu̯iʊ̃ˑ]
Passedsvāvium (Ecclesiastical)/ˈswa.vi.um/ [ˈswäːvium]/ˈswa.vi.um/ [ˈswäːvium]
Passedquantus.vīs (Classical)/kʷanˈtus.u̯iːs/ [kʷän̪ˈt̪ʊs̠u̯iːs̠]/kʷanˈtus.u̯iːs/ [kʷän̪ˈt̪ʊs̠u̯iːs̠]
Passedquantus.vīs (Ecclesiastical)/kwanˈtus.vis/ [kwän̪ˈt̪uzvis]/kwanˈtus.vis/ [kwän̪ˈt̪uzvis]
voicing, place assimilation, and elision in Classical Latin heterosyllabic consonant clusters
Passedadsum (Classical)/ˈad.sum/ [ˈäs̠ːʊ̃ˑ]/ˈad.sum/ [ˈäs̠ːʊ̃ˑ]
Passedetsī (Classical)/ˈet.siː/ [ˈɛt̪s̠iː]/ˈet.siː/ [ˈɛt̪s̠iː]
Passedadpetō (Classical)/ˈad.pe.toː/ [ˈäpːɛt̪oː]/ˈad.pe.toː/ [ˈäpːɛt̪oː]
Passedquad.rāns (Classical)/ˈkʷad.rans/ [ˈkʷäd̪rä̃ːs̠]/ˈkʷad.rans/ [ˈkʷäd̪rä̃ːs̠]
Passedadripiō (Classical)/adˈri.pi.oː/ [äd̪ˈrɪpioː]/adˈri.pi.oː/ [äd̪ˈrɪpioː]
Passedpostquam (Classical)/ˈpost.kʷam/ [ˈpɔs̠(t̪)kʷä̃ˑ]/ˈpost.kʷam/ [ˈpɔs̠(t̪)kʷä̃ˑ]
Passedstringō (Classical)/ˈstrin.ɡoː/ [ˈs̠t̪rɪŋɡoː]/ˈstrin.ɡoː/ [ˈs̠t̪rɪŋɡ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">[%s]</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