Module:ha-IPA/sandbox/testcases
< Module:ha-IPA | sandbox
- The following documentation is located at Module:ha-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 | |
---|---|---|---|---|
[Term?] | sàn.nɪ́ | sàn.nɪ́ | ||
[Term?] | bə̀.hàr rɪ̂ŋ | bə̀.hàr rɪ̂ŋ | ||
[Term?] | kéi.ɡə́.mə̀ | kéi.ɡə́.mə̀ | ||
[Term?] | táu.ɽèː | táu.ɽèː | ||
[Term?] | tâu.ɽáː | tâu.ɽáː | ||
[Term?] | ʔáb.dɪ̀ | ʔáb.dɪ̀ | ||
[Term?] | ʔàb.dɪ̀l.hà.mɪ̂d | ʔàb.dɪ̀l.hà.mɪ̂d | ||
[Term?] | sʼáb.ɡàː | sʼáb.ɡàː | ||
[Term?] | sʼáb.ɡʷóː.ɟíː | sʼáb.ɡʷóː.ɟíː | ||
[Term?] | ʔát.t͡ʃàː | ʔát.t͡ʃàː | ||
[Term?] | ʔàd.dɪ́.ʔàː | ʔàd.dɪ́.ʔàː | ||
[Term?] | ʔád.dɪ́.ʔóː.ʔíː | ʔád.dɪ́.ʔóː.ʔíː | ||
[Term?] | ʔá.ɸɪ̀r.kə̀ tə́ kʷʊ́.dɪ̀ | ʔá.ɸɪ̀r.kə̀ tə́ kʷʊ́.dɪ̀ | ||
[Term?] | ʔà.ɡʷàː.ɡʷáː | ʔà.ɡʷàː.ɡʷáː | ||
[Term?] | ʔà.ɡʷàː.ɟíː | ʔà.ɡʷàː.ɟíː | ||
[Term?] | ʔái.làŋ | ʔái.làŋ | ||
[Term?] | ʔà.d͡ʒə̀.mɪ́ | ʔà.d͡ʒə̀.mɪ́ | ||
[Term?] | ʔá.kʼál.lə́ | ʔá.kʼál.lə́ | ||
[Term?] | ʔàl.ɸɪ́.d͡ʒɪ̀r | ʔàl.ɸɪ́.d͡ʒɪ̀r | ||
[Term?] | ʔál.làːh | ʔál.làːh | ||
[Term?] | ʔál.làː | ʔál.làː | ||
[Term?] | -án.t͡ʃíː | -án.t͡ʃíː | ||
[Term?] | bə̀- | bə̀- | ||
[Term?] | bàː.cíː | bàː.cíː | ||
[Term?] | báː.kʷʊ́.nàː | báː.kʷʊ́.nàː | ||
[Term?] | bàŋ.ɡáː | bàŋ.ɡáː | ||
[Term?] | báŋ.ɡʷʊ́.nàː | báŋ.ɡʷʊ́.nàː | ||
[Term?] | bə̀.sákʷ.kʷə́.t͡ʃèː | bə̀.sákʷ.kʷə́.t͡ʃèː | ||
[Term?] | ɓáː.ɓʊ̀.ɽə̀ | ɓáː.ɓʊ̀.ɽə̀ | ||
[Term?] | dɪ̀.mò.kʷʊ̀.ɽə̀.ɗɪ́j.jàː | dɪ̀.mò.kʷʊ̀.ɽə̀.ɗɪ́j.jàː | ||
[Term?] | ʔáŋ.ʔèː | ʔáŋ.ʔèː | ||
[Term?] | ʔáŋ.ʔèː.ʔáŋ.ʔèː | ʔáŋ.ʔèː.ʔáŋ.ʔèː | ||
[Term?] | ɟɪ̀.ɟɪ̀ɲ.jí | ɟɪ̀.ɟɪ̀ɲ.jí | ||
[Term?] | ɡʷáɡʷ.ɡʷò | ɡʷáɡʷ.ɡʷò | ||
[Term?] | ɡʷáɡʷ.ɡʷò | ɡʷáɡʷ.ɡʷò | ||
[Term?] | háɓ.ɓóː.d͡ʒè | háɓ.ɓóː.d͡ʒè | ||
[Term?] | hád.d͡ʒɪ̀ | hád.d͡ʒɪ̀ | ||
[Term?] | hà.kʷʼʊ̀.ɽáu | hà.kʷʼʊ̀.ɽáu | ||
[Term?] | háu.sə́ | háu.sə́ | ||
[Term?] | háu.sə́ | háu.sə́ | ||
[Term?] | hʊ́.ɗɪ́ | hʊ́.ɗɪ́ | ||
[Term?] | ʔɪ̀kʷ.kʷó | ʔɪ̀kʷ.kʷó | ||
[Term?] | ʔɪ̀.râː.cʼɪ̀ | ʔɪ̀.râː.cʼɪ̀ | ||
[Term?] | d͡ʒár.rə̀.bâː.wáː | d͡ʒár.rə̀.bâː.wáː | ||
[Term?] | d͡ʒɪ́ɽ.ɟíː | d͡ʒɪ́ɽ.ɟíː | ||
[Term?] | kʷòː.ɟíː | kʷòː.ɟíː | ||
[Term?] | kʷʊ̀.t͡ʃáː.cíː | kʷʊ̀.t͡ʃáː.cíː | ||
[Term?] | kʷʊ́ɲ.jáː | kʷʊ́ɲ.jáː | ||
[Term?] | làː.báː.rɪ̀ŋ kʼə́.sáː | làː.báː.rɪ̀ŋ kʼə́.sáː | ||
[Term?] | lát.t͡ʃàː | lát.t͡ʃàː | ||
[Term?] | láː.sʼàː | láː.sʼàː | ||
[Term?] | nə́.ʔál.làh | nə́.ʔál.làh | ||
[Term?] | pə̀.làs.ɗíː.nɪ̀ | pə̀.làs.ɗíː.nɪ̀ | ||
[Term?] | pàr.mîː | pàr.mîː | ||
[Term?] | rɪ́ɲ.ɟɪ̀ŋ | rɪ́ɲ.ɟɪ̀ŋ | ||
[Term?] | sáː.báɲ ɟɪ́.dáː | sáː.báɲ ɟɪ́.dáː | ||
[Term?] | súː.nɛ́ɲ jɛ́ŋ.káː | súː.nɛ́ɲ jɛ́ŋ.káː | ||
[Term?] | tár.nə́.sʼáː | tár.nə́.sʼáː | ||
[Term?] | sʼɛ́ɲ.jáː.wáː | sʼɛ́ɲ.jáː.wáː | ||
[Term?] | sʼɪ́n.sʼúː | sʼɪ́n.sʼúː | ||
[Term?] | j̰áː.j̰áː | j̰áː.j̰áː | ||
[Term?] | j̰áː.j̰áː | j̰áː.j̰áː | ||
[Term?] | ʔɔ̀k.tóː.bàː | ʔɔ̀k.tóː.bàː |
local tests = require("Module:UnitTests")
local m_IPA = require("Module:ha-IPA/sandbox")
local lang = require("Module:languages").getByCode("ha")
function link(word)
return require("Module:links").full_link {word = word, lang = lang}
end
local function tag_IPA(IPA) return '<span class="IPA">' .. IPA .. '</span>' end
local options = {display = tag_IPA}
function tests:check_pron_ha(word, expected)
tests:equals(link(word), m_IPA.pronunciation_phonetic(m_IPA.pronunciation_phonemic(word), "SKH"), expected, options)
end
function tests:test_pron_ha()
local examples = {
{"sànnu", "sàn.nɪ́"},
{"Bàhàr̃ Rûm", "bə̀.hàr rɪ̂ŋ"},
{"kaigamà", "kéi.ɡə́.mə̀"},
{"taurḕ", "táu.ɽèː"},
{"tâurā", "tâu.ɽáː"},
{"Abdù", "ʔáb.dɪ̀"},
{"Àbdùlhàmîd", "ʔàb.dɪ̀l.hà.mɪ̂d"},
{"tsabgā̀", "sʼáb.ɡàː"},
{"tsabgōgī", "sʼáb.ɡʷóː.ɟíː"},
{"accā̀", "ʔát.t͡ʃàː"},
{"àddu'ā̀", "ʔàd.dɪ́.ʔàː"},
{"addu'ō'ī", "ʔád.dɪ́.ʔóː.ʔíː"},
{"Afìr̃kà ta Kudù", "ʔá.ɸɪ̀r.kə̀ tə́ kʷʊ́.dɪ̀"},
{"àgwā̀gwā", "ʔà.ɡʷàː.ɡʷáː"},
{"àgwā̀gī", "ʔà.ɡʷàː.ɟíː"},
{"Ailàn", "ʔái.làŋ"},
{"àjàmi", "ʔà.d͡ʒə̀.mɪ́"},
{"aƙalla", "ʔá.kʼál.lə́"},
{"àlfijìr̃", "ʔàl.ɸɪ́.d͡ʒɪ̀r"},
{"Allā̀h", "ʔál.làːh"},
{"Allā̀", "ʔál.làː"},
{"-ancī", "-án.t͡ʃíː"},
{"bà-", "bə̀-"},
{"bā̀kī", "bàː.cíː"},
{"bākunā̀", "báː.kʷʊ́.nàː"},
{"bàngā", "bàŋ.ɡáː"},
{"bangunā̀", "báŋ.ɡʷʊ́.nàː"},
{"Bàsakkwacḕ", "bə̀.sákʷ.kʷə́.t͡ʃèː"},
{"Ɓāɓùrà", "ɓáː.ɓʊ̀.ɽə̀"},
{"dìmòkùràɗiyyā̀", "dɪ̀.mò.kʷʊ̀.ɽə̀.ɗɪ́j.jàː"},
{"en'ḕ", "ʔáŋ.ʔèː"},
{"en'ḕ-en'ḕ", "ʔáŋ.ʔèː.ʔáŋ.ʔèː"},
{"Gìgìnyu", "ɟɪ̀.ɟɪ̀ɲ.jí"},
{"gwaggò", "ɡʷáɡʷ.ɡʷò"},
{"Gwaggò", "ɡʷáɡʷ.ɡʷò"},
{"haɓɓōjè", "háɓ.ɓóː.d͡ʒè"},
{"hajjì", "hád.d͡ʒɪ̀"},
{"Hàƙùrau", "hà.kʷʼʊ̀.ɽáu"},
{"Hausa", "háu.sə́"},
{"hausa", "háu.sə́"},
{"huɗu", "hʊ́.ɗɪ́"},
{"Ìkko", "ʔɪ̀kʷ.kʷó"},
{"Ìr̃âƙì", "ʔɪ̀.râː.cʼɪ̀"},
{"jar̃r̃àbâwā", "d͡ʒár.rə̀.bâː.wáː"},
{"jirgī", "d͡ʒɪ́ɽ.ɟíː"},
{"kṑgī", "kʷòː.ɟíː"},
{"kùcākī", "kʷʊ̀.t͡ʃáː.cíː"},
{"kunyā", "kʷʊ́ɲ.jáː"},
{"lā̀bār̃ìn ƙasā", "làː.báː.rɪ̀ŋ kʼə́.sáː"},
{"laccā̀", "lát.t͡ʃàː"},
{"lātsā̀", "láː.sʼàː"},
{"Na-Allàh", "nə́.ʔál.làh"},
{"Pàlàsɗīnù", "pə̀.làs.ɗíː.nɪ̀"},
{"pàr̃mî", "pàr.mîː"},
{"Ringìm", "rɪ́ɲ.ɟɪ̀ŋ"},
{"Sābon Gidā", "sáː.báɲ ɟɪ́.dáː"},
{"sūnan yankā", "súː.nɛ́ɲ jɛ́ŋ.káː"},
{"tar̃natsā", "tár.nə́.sʼáː"},
{"Tsanyāwā", "sʼɛ́ɲ.jáː.wáː"},
{"tsuntsū", "sʼɪ́n.sʼúː"},
{"'yā'yā", "j̰áː.j̰áː"},
{"ƴāƴā", "j̰áː.j̰áː"},
{"Òktōbā̀", "ʔɔ̀k.tóː.bàː"}
}
tests:iterate(examples, "check_pron_ha")
end
return tests