Module:ne-IPA/testcases

Hello, you have come here looking for the meaning of the word Module:ne-IPA/testcases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:ne-IPA/testcases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:ne-IPA/testcases in singular and plural. Everything you need to know about the word Module:ne-IPA/testcases you have here. The definition of the word Module:ne-IPA/testcases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:ne-IPA/testcases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

1 of 54 tests failed. (refresh)

TextExpectedActualComments
test_phonetic:
Passedविवाह (vivāha)
Passedश्रावण (śrāwaṇ)
Passedहलो (halo)
Passedजहाज (jahāj)
Passedकार्य (kārya)
Passedपर्यो (paryo)
Passedविश्व (viśwa)
Passedअक्षर (akṣar)
Passedक्षेत्री (kṣetrī)
Passedत्यस (tyas)
Passedविश्व (viśwa)
Passedराज्य (rājya)
Passedअङ्ग्रेजी (aṅgrejī)
Passedपेय (peya)
Passedअन्तर्राष्ट्रिय (antarrāṣṭriya)dental assimilation
Passedसय (saya)non-initial ya before before consonants
Passedसत्य (satya)gemination of preceding consonant and replacement with e
Passedयस (yas)Initial ya replacement with e
Passedविश्वास (viśvās)w to b before certain vowels and glides
Passedविश्व (viśwa)
Passedवरिपरि (waripari)w elsewhere
Passedघरको (gharko)breathy vowel after voiced aspirates
Passedअर्थ (artha)
Passedअर्को (arko)
Passedतारा (tārā)tapped r intervocalically
Passedघोडा (ghoḍā)retroflex tap postvocalically
Passedडर (ḍar)ḍ elsewhere
Passedकस्को (kasko)
Passedकसको (kasko)
Passedलर्क (larka)turned v into schwa final syllable
Passedसम्म (samma)
Passedसंस्था (sansthā)
Passedरुची (rucī)
Passedहाम्रो (hāmro)
Passedबाह्र (bāhra)
Passedबाह्रखरी (bāhrakharī)
Passedबाह्य (bāhya)
Passedचर्चा (carcā)
Passedरचना (racanā)
Passedटर्रो (ṭarro)
Passedआर (ār)
Passedईर् (īr)
Passedरातो (rāto)
Failedउर (ura)
Passedदुई (duī)
Passedचप्पल (cappal)
Passedपक्का (pakkā)
Passedअस्ट्रेलिया (asṭreliyā)
Passedभिज़न (bhizan)
Passedऑस्ट्रेलिया (ŏsṭreliyā)
Passedॲप (ĕp)
Passedज़ू ()
Passedद़िस (ðis)
Passedथ़िक (θik)

local tests = require("Module:UnitTests")
local m_IPA = require("Module:ne-IPA")

local function tag_IPA(IPA)
    if phonetic then
        IPA = "/" .. IPA .. "/"
    else
        IPA = ""
    end
    return '<span class="IPA">' .. IPA .. "</span>"
end
function tests:check_output(term, expected, comment)
    self:equals(m_IPA.link(term), tag_IPA(m_IPA.toIPA(term, "standard")), tag_IPA(expected), {comment = comment})
end

function tests:test_phonetic()
    examples = {
        {"विवाह", "bibä̤ː"},
        {"श्रावण", "sräwʌɽ̃"},
        {"हलो", "ɦʌlo"},
        {"जहाज", "d͡zä̤ː(d)z"},
        {"कार्य", "kärːe"},
        {"पर्यो", "pʌɾjo"},
        {"विश्व", "bisːo"},
        {"अक्षर", "ʌk̚t͡sʰer"},
        {"क्षेत्री", "t͡sʰet̪ri"},
        {"त्यस", "t̪es"},
        {"विश्व", "bisːo"},
        {"राज्य", "räd̚d͡ze"},
        {"अङ्ग्रेजी", "ʌŋɡre(d)zi"},
        {"पेय", "pe(j)ʌ"},
        {"अन्तर्राष्ट्रिय", "ʌn̪t̪ʌrːäs̠t̠rie", "dental assimilation"},
        {"सय", "sʌe", "non-initial ya before before consonants"},
        {"सत्य", "sʌt̪t̪e", "gemination of preceding consonant and replacement with e"},
        {"यस", "es", "Initial ya replacement with e"},
        {"विश्वास", "biswäs", "w to b before certain vowels and glides"},
        {"विश्व", "bisːo"},
        {"वरिपरि", "wʌɾipʌɾi", "w elsewhere"},
        {"घरको", "ɡʱʌ̤rko", "breathy vowel after voiced aspirates"},
        {"अर्थ", "ʌrt̪ʰʌ"},
        {"अर्को", "ʌrko"},
        {"तारा", "t̪äɾä", "tapped r intervocalically"},
        {"घोडा", "ɡʱo̤ɽä", "retroflex tap postvocalically"},
        {"डर", "ɖʌr", "ḍ elsewhere"},
        {"कस्को", "kʌsko"},
        {"कसको", "kʌsko"},
        {"लर्क", "lʌrkʌ", "turned v into schwa final syllable"},
        {"सम्म", "sʌmːʌ"},
        {"संस्था", "sʌnst̪ʰä"},
        {"रुची", "rut͡si"},
        {"हाम्रो", "ɦämro"},
        {"बाह्र", "bäɾʌ"},
        {"बाह्रखरी", "bäɾʌk̞ʰʌɾi"},
        {"बाह्य", "bäi̯e"},
        {"चर्चा", "t͡sʌrt͡sä"},
        {"रचना", "rʌt͡sʌnä"},
        {"टर्रो", "ʈʌrːo"},
        {"आर", "är"},
        {"ईर्", "ir"},
        {"रातो", "rät̪o"},
        {"उर", "ur"},
        {"दुई", "d̪ui̯"},
        {"चप्पल", "t͡sʌp̚pʌl"},
        {"पक्का", "pʌk̚kä"},
        {"अस्ट्रेलिया", "ʌs̠t̠relijä"},
        {"भिज़न", "bʱi̤zʌn"},
        {"ऑस्ट्रेलिया", "ɒs̠t̠relijä"},
        {"ॲप", "æp"},
        {"ज़ू", "zu"},
        {"द़िस", "ðis"},
        {"थ़िक", "θik"}
    }
    tests:iterate(examples, "check_output")
end

return tests