Module:gu-IPA/testcases

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

17 of 23 tests failed. (refresh)

TextExpectedActualComments
test_all:
Passedવખત (vakhat)ˈʋə.kʰət̪ˈʋə.kʰət̪
Failedદિવસ (divas)ˈd̪ɪ.ʋəsˈd̪i.ʋəs
Passedહદ (had)ˈɦəd̪ˈɦəd̪
Failedરહેવું (rahevũ)ˈre̤.ʋũˈɾə.ɦeː.ʋũ
Passedતડકો (taḍko)ˈt̪əɖ.koˈt̪əɖ.ko
Passedભાષા (bhāṣā)ˈbʱɑ.ʃɑˈbʱɑ.ʃɑ
Failedછોકરું (chokrũ)ˈt͡ʃʰok.rũˈt͡ʃʰok.ɾũ
Passedઘોડું (ghoḍũ)ˈɡʱo.ɖũˈɡʱo.ɖũ
Failedદૃષ્ટિ (dŕṣṭi)ˈd̪rəʂʈiˈd̪ɾuʂʈi
Failedદૃષ્ટિ (dŕṣṭi)ˈd̪rʊʂʈiˈd̪ɾuʂʈi
Failedગુજરાતી (gujrātī)ˈgʊ.d͡ʒ(ə).ˌɾɑ.t̪iˈɡud͡ʒ.ɾɑ.t̪i
Passedપ્રાણી (prāṇī)ˈpɾɑ.ɳiˈpɾɑ.ɳi
Failedસાક્ષાત (sākṣāt)ˈsɑ.kʃɑt̪ˈsɑk.ʃɑt̪
Failedજમવાનું (jamvānũ)ˈd͡ʒəm.ˌʋɑ.nũˈd͡ʒəm.ʋɑ.nũ
Failedવિધર્મ (vidharma)ʋɪ.d̪ʱəɾ.məˈʋi.d̪ʱəɾ.mə
Failedઅંગરખો (aṅgarkho)ˈəŋ.gəɾ.kʱoˈəŋ.ɡəɾ.kʰo
Failedઆંતરરાષ્ટ્રીય (āntarrāṣṭrīya)ˈɑn̪.t̪əɾ.ɾɑʂ.ʈɾi.jəˈɑn.t̪əɾ.ɾɑʂ.ʈɾi.jə
Failedઆંકડાશાસ્ત્ર (ā̃kaḍāśāstra)ˈɑ̃.k(ə).ɖɑ.ʃɑs.t̪ɾəˈɑ̃.kə.ɖɑ.ʃɑs.t̪ɾə
Failedઅહીંતહીં (ahī̃thī̃)ˈə̤ĩ.ˌt̪ə̤ĩˈə.ɦĩ.t̪ʰĩ
Failedઐતિહાસિક (aitihāsik)əɪ̭.t̪ɪ.ɦɑ.sɪkˈəi.t̪i.ɦɑ.sik
Failedઇસ્પિતાલ (ispitāl)ˈɪs.pɪ.ˌt̪ɑlˈis.pi.t̪ɑl
Failedઉષ્ણાગ્ર (uṣṇāgra)ˈʊʃ.ɳɑ.gɾəˈuʃ.ɳɑɡ.ɾə
Failedઓળખકર્તા (oḷkhakartā)ˈo.ɭəkʱ.ˌkəɾ.t̪ɑˈo.ɭkʰə.kəɾ.t̪ɑ

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

local function tag_IPA(IPA)
	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)),
		tag_IPA(expected),
		{ comment = comment }
	)
end

function tests:test_all()
	examples = {
		{ "વખત", "ˈʋə.kʰət̪" },
		{ "દિવસ", "ˈd̪ɪ.ʋəs" },
		{ "હદ", "ˈɦəd̪" },
		{ "રહેવું", "ˈre̤.ʋũ" }, -- final syllables use their 'long vowel' counterpart
		{ "તડકો", "ˈt̪əɖ.ko" },
		{ "ભાષા", "ˈbʱɑ.ʃɑ" },
		{ "છોકરું", "ˈt͡ʃʰok.rũ" },
		{ "ઘોડું", "ˈɡʱo.ɖũ" },
		{ "દૃષ્ટિ", "ˈd̪rəʂʈi" },
		{ "દૃષ્ટિ", "ˈd̪rʊʂʈi" },
		{ "ગુજરાતી", "ˈgʊ.d͡ʒ(ə).ˌɾɑ.t̪i" },
		{ "પ્રાણી", "ˈpɾɑ.ɳi" },
		{ "સાક્ષાત", "ˈsɑ.kʃɑt̪" },
		{ "જમવાનું", "ˈd͡ʒəm.ˌʋɑ.nũ" },
		{ "વિધર્મ", "ʋɪ.d̪ʱəɾ.mə" },
		{ "અંગરખો", "ˈəŋ.gəɾ.kʱo" },
		{ "આંતરરાષ્ટ્રીય", "ˈɑn̪.t̪əɾ.ɾɑʂ.ʈɾi.jə" },
		{ "આંકડાશાસ્ત્ર", "ˈɑ̃.k(ə).ɖɑ.ʃɑs.t̪ɾə" },
		{ "અહીંતહીં", "ˈə̤ĩ.ˌt̪ə̤ĩ" },
		{ "ઐતિહાસિક", "əɪ̭.t̪ɪ.ɦɑ.sɪk" },
		{ "ઇસ્પિતાલ", "ˈɪs.pɪ.ˌt̪ɑl" },
		{ "ઉષ્ણાગ્ર", "ˈʊʃ.ɳɑ.gɾə" },
		{ "ઓળખકર્તા", "ˈo.ɭəkʱ.ˌkəɾ.t̪ɑ" },
	}
--[[	Copy the following to add more examples:
		{ "", "" },
]]
	
	tests:iterate(examples, "check_output")
end

return tests