Module:akk-IPA/sandbox/testcases
Appearance
- The following documentation is located at Module:akk-IPA/sandbox/testcases/documentation. [edit] Categories were auto-generated by Module:module categorization. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • tested module • sandbox of (diff)
All tests passed. (refresh)
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
abnum | ˈab.num | ˈab.num | ||
abum | ˈa.bum | ˈa.bum | ||
adi | ˈa.di | ˈa.di | ||
agammum | aˈɡam.mum | aˈɡam.mum | ||
akalum | ˈa.ka.lum | ˈa.ka.lum | ||
akālum | aˈkaː.lum | aˈkaː.lum | ||
alaktum | aˈlak.tum | aˈlak.tum | ||
alpum | ˈal.pum | ˈal.pum | ||
alākum | aˈlaː.kum | aˈlaː.kum | ||
amtum | ˈam.tum | ˈam.tum | ||
amurdinnum | a.murˈdin.num | a.murˈdin.num | ||
anāku | aˈnaː.ku | aˈnaː.ku | ||
aplum | ˈap.lum | ˈap.lum | ||
aptum | ˈap.tum | ˈap.tum | ||
arārum | aˈraː.rum | aˈraː.rum | ||
atta | ˈat.ta | ˈat.ta | ||
atti | ˈat.ti | ˈat.ti | ||
-atum | -a.tum | -a.tum | ||
awīltum | aˈwiːl.tum | aˈwiːl.tum | ||
awīlum | aˈwiː.lum | aˈwiː.lum | ||
aššatum | ˈas.sa.tum | ˈas.sa.tum | ||
aḫum | ˈa.xum | ˈa.xum | ||
aḫûm | aˈxuːm | aˈxuːm | ||
aḫātum | aˈxaː.tum | aˈxaː.tum | ||
birkum | ˈbir.kum | ˈbir.kum | ||
Bābilim | ˈbaː.bi.lim | ˈbaː.bi.lim | ||
bābum | ˈbaː.bum | ˈbaː.bum | ||
bēltum | ˈbeːl.tum | ˈbeːl.tum | ||
bēlum | ˈbeː.lum | ˈbeː.lum | ||
bītum | ˈbiː.tum | ˈbiː.tum | ||
damāqum | daˈmaː.k’um | daˈmaː.k’um | ||
danānum | daˈnaː.num | daˈnaː.num | ||
dayyānum | dajˈjaː.num | dajˈjaː.num | ||
dārum | ˈdaː.rum | ˈdaː.rum | ||
eleppum | eˈlep.pum | eˈlep.pum | ||
elēpum | eˈleː.pum | eˈleː.pum | ||
emūqum | eˈmuː.k’um | eˈmuː.k’um | ||
eperum | ˈe.pe.rum | ˈe.pe.rum | ||
erbum | ˈer.bum | ˈer.bum | ||
ergilum | ˈer.ɡi.lum | ˈer.ɡi.lum | ||
erṣetum | ˈer.t͡s’e.tum | ˈer.t͡s’e.tum | ||
gišimmarum | ɡiˈsim.ma.rum | ɡiˈsim.ma.rum | ||
idum | ˈi.dum | ˈi.dum | ||
ilkum | ˈil.kum | ˈil.kum | ||
iltum | ˈil.tum | ˈil.tum | ||
ilum | ˈi.lum | ˈi.lum | ||
imērum | iˈmeː.rum | iˈmeː.rum | ||
ina | ˈi.na | ˈi.na | ||
itti | ˈit.ti | ˈit.ti | ||
išarum | ˈi.sa.rum | ˈi.sa.rum | ||
išdum | ˈis.dum | ˈis.dum | ||
Ištar | ˈis.tar | ˈis.tar | ||
ištēn | isˈteːn | isˈteːn | ||
iṣum | ˈi.t͡s’um | ˈi.t͡s’um | ||
kakkabum | ˈkak.ka.bum | ˈkak.ka.bum | ||
kalbum | ˈkal.bum | ˈkal.bum | ||
kankum | ˈkan.kum | ˈkan.kum | ||
kanākum | kaˈnaː.kum | kaˈnaː.kum | ||
kanīkum | kaˈniː.kum | kaˈniː.kum | ||
kappum | ˈkap.pum | ˈkap.pum | ||
kaspum | ˈkat͡s.pum | ˈkat͡s.pum | ||
kašādum | kaˈsaː.dum | kaˈsaː.dum | ||
kirûm | kiˈruːm | kiˈruːm | ||
kunukkum | kuˈnuk.kum | kuˈnuk.kum | ||
kāsum | ˈkaː.t͡sum | ˈkaː.t͡sum | ||
lamassum | laˈmat.t͡sum | laˈmat.t͡sum | ||
libbum | ˈlib.bum | ˈlib.bum | ||
lûm | ˈluːm | ˈluːm | ||
lā | laː | laː | ||
līmum | ˈliː.mum | ˈliː.mum | ||
lītum | ˈliː.tum | ˈliː.tum | ||
marrum | ˈmar.rum | ˈmar.rum | ||
mazzaztum | madˈd͡zad͡z.tum | madˈd͡zad͡z.tum | ||
midrum | ˈmid.rum | ˈmid.rum | ||
musukkannum | mu.t͡sukˈkan.num | mu.t͡sukˈkan.num | ||
mutum | ˈmu.tum | ˈmu.tum | ||
muškēnum | musˈkeː.num | musˈkeː.num | ||
mû | ˈmuː | ˈmuː | ||
mārtum | ˈmaːr.tum | ˈmaːr.tum | ||
mārum | ˈmaː.rum | ˈmaː.rum | ||
mātum | ˈmaː.tum | ˈmaː.tum | ||
mēsum | ˈmeː.t͡sum | ˈmeː.t͡sum | ||
nadānum | naˈdaː.num | naˈdaː.num | ||
nagbum | ˈnaɡ.bum | ˈnaɡ.bum | ||
nārum | ˈnaː.rum | ˈnaː.rum | ||
nīšum | ˈniː.sum | ˈniː.sum | ||
paššūrum | pasˈsuː.rum | pasˈsuː.rum | ||
pûm | ˈpuːm | ˈpuːm | ||
pān šattim | ˈpaːn ˈsat.tim | ˈpaːn ˈsat.tim | ||
pānum | ˈpaː.num | ˈpaː.num | ||
qabûm | k’aˈbuːm | k’aˈbuːm | ||
qanûm | k’aˈnuːm | k’aˈnuːm | ||
qaqqadum | ˈk’ak’.k’a.dum | ˈk’ak’.k’a.dum | ||
qaqqarum | ˈk’ak’.k’a.rum | ˈk’ak’.k’a.rum | ||
qarnum | ˈk’ar.num | ˈk’ar.num | ||
rēšum | ˈreː.sum | ˈreː.sum | ||
sinništum | t͡sinˈnis.tum | t͡sinˈnis.tum | ||
sīḫum | ˈt͡siː.xum | ˈt͡siː.xum | ||
u | u | u | ||
ugārum | uˈɡaː.rum | uˈɡaː.rum | ||
ummum | ˈum.mum | ˈum.mum | ||
Urarṭu | uˈrar.t’u | uˈrar.t’u | ||
urrum | ˈur.rum | ˈur.rum | ||
uznum | ˈud͡z.num | ˈud͡z.num | ||
waklum | ˈwak.lum | ˈwak.lum | ||
walādum | waˈlaː.dum | waˈlaː.dum | ||
wardum | ˈwar.dum | ˈwar.dum | ||
warāqum | waˈraː.k’um | waˈraː.k’um | ||
warḫum | ˈwar.xum | ˈwar.xum | ||
yâti | ˈjaː.ti | ˈjaː.ti | ||
zikarum | ˈd͡zi.ka.rum | ˈd͡zi.ka.rum | ||
zikrum | ˈd͡zik.rum | ˈd͡zik.rum | ||
ziqqurratum | d͡zik’ˈk’ur.ra.tum | d͡zik’ˈk’ur.ra.tum | ||
ālikum | ˈaː.li.kum | ˈaː.li.kum | ||
ālum | ˈaː.lum | ˈaː.lum | ||
ēkallum | eːˈkal.lum | eːˈkal.lum | ||
ēnum | ˈeː.num | ˈeː.num | ||
-ī | -iː | -iː | ||
īkum | ˈiː.kum | ˈiː.kum | ||
īnum | ˈiː.num | ˈiː.num | ||
ša | sa | sa | ||
šamaššammum | sa.masˈsam.mum | sa.masˈsam.mum | ||
šammi Šamaš | ˈsam.mi ˈsa.mas | ˈsam.mi ˈsa.mas | ||
šammum | ˈsam.mum | ˈsam.mum | ||
šamnum | ˈsam.num | ˈsam.num | ||
šamû | saˈmuː | saˈmuː | ||
šamšum | ˈsam.sum | ˈsam.sum | ||
šarqum | ˈsar.k’um | ˈsar.k’um | ||
šarratum | ˈsar.ra.tum | ˈsar.ra.tum | ||
šarrum | ˈsar.rum | ˈsar.rum | ||
Šarrum-kīn | sar.rum-ˈkiːn | sar.rum-ˈkiːn | ||
šarrāqum | sarˈraː.k’um | sarˈraː.k’um | ||
šarāqum | saˈraː.k’um | saˈraː.k’um | ||
šattum | ˈsat.tum | ˈsat.tum | ||
šinnum | ˈsin.num | ˈsin.num | ||
šumma | ˈsum.ma | ˈsum.ma | ||
šumum | ˈsu.mum | ˈsu.mum | ||
šārtum | ˈsaːr.tum | ˈsaːr.tum | ||
šēdum | ˈseː.dum | ˈseː.dum | ||
šīpātum | siːˈpaː.tum | siːˈpaː.tum | ||
šūmū | ˈsuː.muː | ˈsuː.muː | ||
ūmum | ˈuː.mum | ˈuː.mum | ||
ḫalāqum | xaˈlaː.k’um | xaˈlaː.k’um | ||
ḫaṣṣinnum | xatˈt͡s’in.num | xatˈt͡s’in.num | ||
ḫurāṣum | xuˈraː.t͡s’um | xuˈraː.t͡s’um | ||
ṣerretum | ˈt͡s’er.re.tum | ˈt͡s’er.re.tum | ||
ṣeḫrum | ˈt͡s’ex.rum | ˈt͡s’ex.rum | ||
ṣeḫērum | t͡s’eˈxeː.rum | t͡s’eˈxeː.rum | ||
ṣuprum | ˈt͡s’up.rum | ˈt͡s’up.rum | ||
ṣuḫārtum | t͡s’uˈxaːr.tum | t͡s’uˈxaːr.tum | ||
ṣuḫārum | t͡s’uˈxaː.rum | t͡s’uˈxaː.rum | ||
ṣābum | ˈt͡s’aː.bum | ˈt͡s’aː.bum | ||
ṭabtum | ˈt’ab.tum | ˈt’ab.tum | ||
ṭuppum | ˈt’up.pum | ˈt’up.pum | ||
ṭābum | ˈt’aː.bum | ˈt’aː.bum |
local tests = require("Module:UnitTests")
local m_IPA = require("Module:akk-IPA/sandbox")
local lang = require("Module:languages").getByCode("akk")
local function tag_IPA(IPA) return '<span class="IPA">' .. IPA .. '</span>' end
local options = {display = tag_IPA}
function tests:check_pron(word, expected)
self:equals(
require("Module:links").full_link({term = word, lang = lang}, nil, true), m_IPA.pronunciation_phonemic(word), expected, options
)
end
function tests:test_pron()
local examples = {
{"abnum", "ˈab.num"},
{"abum", "ˈa.bum"},
{"adi", "ˈa.di"},
{"agammum", "aˈɡam.mum"},
{"akalum", "ˈa.ka.lum"},
{"akālum", "aˈkaː.lum"},
{"alaktum", "aˈlak.tum"},
{"alpum", "ˈal.pum"},
{"alākum", "aˈlaː.kum"},
{"amtum", "ˈam.tum"},
{"amurdinnum", "a.murˈdin.num"},
{"anāku", "aˈnaː.ku"},
{"aplum", "ˈap.lum"},
{"aptum", "ˈap.tum"},
{"arārum", "aˈraː.rum"},
{"atta", "ˈat.ta"},
{"atti", "ˈat.ti"},
{"-atum", "-a.tum"},
{"awīltum", "aˈwiːl.tum"},
{"awīlum", "aˈwiː.lum"},
{"aššatum", "ˈas.sa.tum"},
{"aḫum", "ˈa.xum"},
{"aḫûm", "aˈxuːm"},
{"aḫātum", "aˈxaː.tum"},
{"birkum", "ˈbir.kum"},
{"Bābilim", "ˈbaː.bi.lim"},
{"bābum", "ˈbaː.bum"},
{"bēltum", "ˈbeːl.tum"},
{"bēlum", "ˈbeː.lum"},
{"bītum", "ˈbiː.tum"},
{"damāqum", "daˈmaː.k’um"},
{"danānum", "daˈnaː.num"},
{"dayyānum", "dajˈjaː.num"},
{"dārum", "ˈdaː.rum"},
{"eleppum", "eˈlep.pum"},
{"elēpum", "eˈleː.pum"},
{"emūqum", "eˈmuː.k’um"},
{"eperum", "ˈe.pe.rum"},
{"erbum", "ˈer.bum"},
{"ergilum", "ˈer.ɡi.lum"},
{"erṣetum", "ˈer.t͡s’e.tum"},
{"gišimmarum", "ɡiˈsim.ma.rum"},
{"idum", "ˈi.dum"},
{"ilkum", "ˈil.kum"},
{"iltum", "ˈil.tum"},
{"ilum", "ˈi.lum"},
{"imērum", "iˈmeː.rum"},
{"ina", "ˈi.na"},
{"itti", "ˈit.ti"},
{"išarum", "ˈi.sa.rum"},
{"išdum", "ˈis.dum"},
{"Ištar", "ˈis.tar"},
{"ištēn", "isˈteːn"},
{"iṣum", "ˈi.t͡s’um"},
{"kakkabum", "ˈkak.ka.bum"},
{"kalbum", "ˈkal.bum"},
{"kankum", "ˈkan.kum"},
{"kanākum", "kaˈnaː.kum"},
{"kanīkum", "kaˈniː.kum"},
{"kappum", "ˈkap.pum"},
{"kaspum", "ˈkat͡s.pum"},
{"kašādum", "kaˈsaː.dum"},
{"kirûm", "kiˈruːm"},
{"kunukkum", "kuˈnuk.kum"},
{"kāsum", "ˈkaː.t͡sum"},
{"lamassum", "laˈmat.t͡sum"},
{"libbum", "ˈlib.bum"},
{"lûm", "ˈluːm"},
{"lā", "laː"},
{"līmum", "ˈliː.mum"},
{"lītum", "ˈliː.tum"},
{"marrum", "ˈmar.rum"},
{"mazzaztum", "madˈd͡zad͡z.tum"},
{"midrum", "ˈmid.rum"},
{"musukkannum", "mu.t͡sukˈkan.num"},
{"mutum", "ˈmu.tum"},
{"muškēnum", "musˈkeː.num"},
{"mû", "ˈmuː"},
{"mārtum", "ˈmaːr.tum"},
{"mārum", "ˈmaː.rum"},
{"mātum", "ˈmaː.tum"},
{"mēsum", "ˈmeː.t͡sum"},
{"nadānum", "naˈdaː.num"},
{"nagbum", "ˈnaɡ.bum"},
{"nārum", "ˈnaː.rum"},
{"nīšum", "ˈniː.sum"},
{"paššūrum", "pasˈsuː.rum"},
{"pûm", "ˈpuːm"},
{"pān šattim", "ˈpaːn ˈsat.tim"},
{"pānum", "ˈpaː.num"},
{"qabûm", "k’aˈbuːm"},
{"qanûm", "k’aˈnuːm"},
{"qaqqadum", "ˈk’ak’.k’a.dum"},
{"qaqqarum", "ˈk’ak’.k’a.rum"},
{"qarnum", "ˈk’ar.num"},
{"rēšum", "ˈreː.sum"},
{"sinništum", "t͡sinˈnis.tum"},
{"sīḫum", "ˈt͡siː.xum"},
{"u", "u"},
{"ugārum", "uˈɡaː.rum"},
{"ummum", "ˈum.mum"},
{"Urarṭu", "uˈrar.t’u"},
{"urrum", "ˈur.rum"},
{"uznum", "ˈud͡z.num"},
{"waklum", "ˈwak.lum"},
{"walādum", "waˈlaː.dum"},
{"wardum", "ˈwar.dum"},
{"warāqum", "waˈraː.k’um"},
{"warḫum", "ˈwar.xum"},
{"yâti", "ˈjaː.ti"},
{"zikarum", "ˈd͡zi.ka.rum"},
{"zikrum", "ˈd͡zik.rum"},
{"ziqqurratum", "d͡zik’ˈk’ur.ra.tum"},
{"ālikum", "ˈaː.li.kum"},
{"ālum", "ˈaː.lum"},
{"ēkallum", "eːˈkal.lum"},
{"ēnum", "ˈeː.num"},
{"-ī", "-iː"},
{"īkum", "ˈiː.kum"},
{"īnum", "ˈiː.num"},
{"ša", "sa"},
{"šamaššammum", "sa.masˈsam.mum"},
{"šammi Šamaš", "ˈsam.mi ˈsa.mas"},
{"šammum", "ˈsam.mum"},
{"šamnum", "ˈsam.num"},
{"šamû", "saˈmuː"},
{"šamšum", "ˈsam.sum"},
{"šarqum", "ˈsar.k’um"},
{"šarratum", "ˈsar.ra.tum"},
{"šarrum", "ˈsar.rum"},
{"Šarrum-kīn", "sar.rum-ˈkiːn"},
{"šarrāqum", "sarˈraː.k’um"},
{"šarāqum", "saˈraː.k’um"},
{"šattum", "ˈsat.tum"},
{"šinnum", "ˈsin.num"},
{"šumma", "ˈsum.ma"},
{"šumum", "ˈsu.mum"},
{"šārtum", "ˈsaːr.tum"},
{"šēdum", "ˈseː.dum"},
{"šīpātum", "siːˈpaː.tum"},
{"šūmū", "ˈsuː.muː"},
{"ūmum", "ˈuː.mum"},
{"ḫalāqum", "xaˈlaː.k’um"},
{"ḫaṣṣinnum", "xatˈt͡s’in.num"},
{"ḫurāṣum", "xuˈraː.t͡s’um"},
{"ṣerretum", "ˈt͡s’er.re.tum"},
{"ṣeḫrum", "ˈt͡s’ex.rum"},
{"ṣeḫērum", "t͡s’eˈxeː.rum"},
{"ṣuprum", "ˈt͡s’up.rum"},
{"ṣuḫārtum", "t͡s’uˈxaːr.tum"},
{"ṣuḫārum", "t͡s’uˈxaː.rum"},
{"ṣābum", "ˈt͡s’aː.bum"},
{"ṭabtum", "ˈt’ab.tum"},
{"ṭuppum", "ˈt’up.pum"},
{"ṭābum", "ˈt’aː.bum"}
}
tests:iterate(examples, "check_pron")
end
return tests