Module:User:Kiril kovachev/de-IPA/testcases

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

73 of 88 tests failed. (refresh)

TextExpectedActualDiffers at
test_pron:
FailedVaterˈfaːtɐfatɛɐ̯1
FailedAnnaˈanaana1
FailedSaalzaːlzaal3
FailedQualkʋaːlkfal2
Failedlokal, orig=romloˈkaːllɔkal2
FailedSargzaɐ̯kzaɐ̯ɡ5
Passedharthaɐ̯thaɐ̯t
FailedWaiseˈʋaɪ̯zəʋaɪ̯zɛ1
FailedSchlächterˈʃlɛçtɐʃlɛçtɛɐ̯1
Failedgäbeˈgɛːbəɡɛbɛ1
FailedKäseˈkɛːzəkɛzɛ1
FailedAuswahlˈaʊ̯sʋaːlaʊ̯sʋaːl1
FailedZahlenˈtsaːləntsaːlɛn1
Failedwählenˈʋɛːlənʋɛːlɛn1
Failedbrauchenˈbraʊ̯xənbraʊ̯χɛn1
Failedgleichenˈglaɪ̯çənɡlaɪ̯çɛn1
FailedArchenˈaɐ̯çənaɐ̯çɛn1
FailedAachenˈaːχənaaχɛn1
Passedsolchzɔlçzɔlç
PassedWachtʋaχtʋaχt
Passeddochdɔχdɔχ
PassedStadtʃtatʃtat
FailedDschungelˈdʒʊŋəltʃʊŋɛl1
Failedlesenˈleːzənlɛzɛn1
Failedleckerˈlɛkɐlɛkɛɐ̯1
FailedErde (respelled Ehrde)ˈeːɐ̯dəɛhɐ̯dɛ1
Failedwerdenˈʋɛɐ̯dənʋɛɐ̯dɛn1
Failedabendlichˈabəntlɪçabɛndlɪç1
FailedReichstag (respelled Reichs/tag)ˈraɪ̯çstaːkraɪ̯çs/tak1
FailedEicheˈaɪ̯çəaɪ̯çɛ1
Failedoderˈoːdɐɔdɛɐ̯1
PassedHundhʊnthʊnt
Failedsehenzeːnzɛhɛn2
Passednahnaːnaː
FailedNische (respelled Niesche), orig=romˈniːʃəniːʃɛ1
Failedmischeˈmɪʃəmɪʃɛ1
Failedspielenˈʃpiːlənʃpiːlɛn1
PassedTiertiːɐ̯tiːɐ̯
FailedÖsterreich (respelled Öhster/reich)ˈøːstɐraɪ̯çœhʃtɛɐ̯/raɪ̯ç1
Failedköstlichˈkœstlɪçkœstlɪç1
Failedöffnenˈœfnənœffnɛn1
Failedhöreˈhøːrəhœrɛ1
Passedhörthœɐ̯thœɐ̯t
FailedPlörreˈplœrəplœrɛ1
FailedQuatschkʋatʃkfatʃ2
Failedaßenˈaːsənasɛn1
PassedHaushaʊ̯shaʊ̯s
FailedHauseˈhaʊ̯zəhaʊ̯zɛ1
Failedlasenˈlaːzənlazɛn1
Failedmassigˈmasɪçmaszɪk1
PassedTischtɪʃtɪʃ
Failedscheußlichˈʃɔʏ̯slɪçʃɔʏ̯slɪç1
FailedAscheˈaʃəaʃɛ1
FailedQuatschkʋatʃkfatʃ2
FailedBuchbuːxbʊχ2
FailedKussesˈkʊsəskʊszɛs1
PassedFurchtfʊɐ̯çtfʊɐ̯çt
FailedUhruːɐ̯ʊhɐ̯1
FailedBücherˈbyːçɐbyːçɛɐ̯1
FailedBrückeˈbrʏkəbryːkɛ1
PassedTürtyːɐ̯tyːɐ̯
FailedVogelˈfoːgəlfɔɡɛl1
FailedVase, orig=romˈʋaːzəfazɛ1
Failedadministrativ, orig=romˌatmɪnɪstraˈtifatmɪnɪʃtratɪf1
Failedselektiv, orig=romzeˌlɛkˈtifzɛlɛktɪf2
FailedMöweˈmøːʋəmœʋɛ1
Passedwasʋasʋas
Failedgeglichengəˈglɪçənɡɛɡlɪçɛn1
Failedangeglichenˈangəˌglɪçənaŋɛɡlɪçɛn1
Failedaufgebenˈaʊ̯fˌɡeːbənaʊ̯fɡɛbɛn1
Failedaufgegebenˈaʊ̯fɡəˌɡeːbənaʊ̯fɡɛɡɛbɛn1
FailedMächtigkeitˈmɛçtɪçˌkaɪ̯tmɛçtɪkaɪ̯t1
Failedeventuell (respelled evéntuèll), orig=romeˈʋɛntuˌɛllɛfɛˈntyː̀ll1
FailedEnklave, orig=romɛnˈklaːʋəɛnklafɛ3
FailedPhonem, orig=romfoˈneːmfɔnɛm2
FailedChemie, orig=romçeˈmiːçɛmiː2
FailedInformation, orig=romˌɪnfoɐ̯maˈtsi̯oːnɪnfɔɐ̯mat͡si̯on1
FailedPlatin (respelled Plátin), orig=romˈplaːtinplaˈtɪn1
FailedQualität, orig=romˌkʋaliˈtɛːtkfalɪtɛt1
FailedRasur, orig=romraˈzuːɐ̯razʊɐ̯3
Failedrasieren, orig=romraˈziːrənraziːrɛn3
Failedprogrammieren, orig=romˌprograˈmiːrənprɔɡrammiːrɛn1
FailedBuchstabe (respelled Buch/stabe)ˈbuːxʃtaːbəbʊχ/ʃtabɛ1
FailedUrheberrecht (respelled Ur/heber/rècht)ˈuːɐ̯heːbɐˌrɛçtʊɐ̯/hɛbɛɐ̯/rɛ̀çt1
FailedStandartenführer (respelled Standárten/führer)ʃtanˈdartənˌfyːrɐʃtandaˈɐ̯tɛn/fyːrɛɐ̯5
FailedAufenthaltsgenehmigung (respelled Aufenthalts/genehmigung)ˈaʊ̯fɛnthaltsɡəˌneːmiɡʊŋaʊ̯fɛnthalts/ɡɛnɛhmɪɡʊnk1
Passeddoofdoːfdoːf
Faileddoofes (respelled dooves)ˈdoːʋəsdoːfɛs1

local tests = require('Module:UnitTests')
local m_de_IPA = require('Module:User:Kiril kovachev/de-IPA')
local m_links = require('Module:links')

local lang = require('Module:languages').getByCode('de')

local function tag_IPA(IPA)
	return '<span class="IPA">' .. IPA .. '</span>'
end

function tests:check_pron(De, IPA, respelling, orig)
	self:equals(
		m_links.full_link({term = De, lang = lang}, nil, true) ..
			(respelling and (" (respelled " .. respelling .. ")") or "") ..
			(orig and ", orig=" .. orig or ""),
		m_de_IPA.IPA(respelling or De, orig) or "NULL", IPA,
		{ nowiki=true, display = tag_IPA }
	)
end

-- Entries here usually look like
--    self:check_pron("GERMAN", "PRONUNCIATION")
--
-- but can also be
--    self:check_pron("GERMAN", "PRONUNCIATION", "RESPELLED-GERMAN")
--
-- e.g.
--    self:check_pron("Erde", "ˈeːɐ̯də", "Ehrde")
--    self:check_pron("Reichstag", "ˈraɪ̯çstaːk", "Reichs/tag")

-- A fourth argument can be specified to indicate Romance origin, which
--      causes certain changes like ultimate or penultimate stress and
--      interpreting ''v'' as /v/ instead of /f/:
--    self:check_pron("GERMAN", "PRONUNCIATION", nil, "rom")
--    self:check_pron("GERMAN", "PRONUNCIATION", "RESPELLED-GERMAN", "rom")
--
-- e.g.
--    self:check_pron("Phonem", "foˈneːm", nil, "rom")
--    self:check_pron("Enklave", "ɛnˈklaːʋə", nil, "rom")
--
--Annotation: I'm assuming the output to be broad, so this uses ⟨r⟩, while /ʁ/ is the commonest actual pronunciation.

function tests:test_pron()
	local examples = {
		-- A:
		{ "Vater", "ˈfaːtɐ" },
		{ "Anna", "ˈana" },
		{ "Saal", "zaːl" },
		{ "Qual", "kʋaːl" },
		{ "lokal", "loˈkaːl", nil, "rom" },
		{ "Sarg", "zaɐ̯k" },
		{ "hart", "haɐ̯t" },
		{ "Waise", "ˈʋaɪ̯zə" },
		-- Ä
		{ "Schlächter", "ˈʃlɛçtɐ" },
		{ "gäbe", "ˈgɛːbə" },
		{ "Käse", "ˈkɛːzə" }, -- Possibly must be /eː/. Native status of ɛː is debated. I think most professional readers speak as written, but my understanding is that the spelling does not reflect any actual spoken language consistently. /ɛː/ is so absent here that my brain parses  as 
		-- AH 
		{ "Auswahl", "ˈaʊ̯sʋaːl" },
		{ "Zahlen", "ˈtsaːlən" },
		-- ÄH 
		{ "wählen", "ˈʋɛːlən" }, -- Could be /veːlən/, see Käse
 		-- AU:
		{ "brauchen", "ˈbraʊ̯xən" },
		--CH
		{ "gleichen", "ˈglaɪ̯çən" },
		{ "Archen", "ˈaɐ̯çən" },
		{ "Aachen", "ˈaːχən" },
		{ "solch", "zɔlç" },
		{ "Wacht", "ʋaχt" },
		{ "doch", "dɔχ" },
		-- D
		{ "Stadt", "ʃtat" },
		-- DSCH
		{ "Dschungel", "ˈdʒʊŋəl" },
		-- E:
		{ "lesen", "ˈleːzən" },
		{ "lecker", "ˈlɛkɐ" },
		{ "Erde", "ˈeːɐ̯də", "Ehrde" },
		{ "werden", "ˈʋɛɐ̯dən" },
		{ "abendlich", "ˈabəntlɪç" },
		-- EI:
		{ "Reichstag", "ˈraɪ̯çstaːk", "Reichs/tag" },
		{ "Eiche", "ˈaɪ̯çə" },
		-- ER:
		{ "oder", "ˈoːdɐ" },
		-- H
		{ "Hund", "hʊnt" },
		{ "sehen", "zeːn" }, -- You often see /zeːən/, which is hypercorrect spelling-pron., might be standard anyway.
		{ "nah", "naː" },
		-- I
		{ "Nische", "ˈniːʃə", "Niesche", "rom" }, -- Borrowing
		{ "mische", "ˈmɪʃə" }, -- native
		-- IE:
		{ "spielen", "ˈʃpiːlən" },
		{ "Tier", "tiːɐ̯" }, -- This pronunciation is pretty wrong and would be understood as 'Tia', but I think it's the expected transcription. The actual level of the r-vowel raises with the preceding vowel.
		-- Ö:
		{ "Österreich", "ˈøːstɐraɪ̯ç", "Öhster/reich" },
		{ "köstlich", "ˈkœstlɪç" },
		{ "öffnen", "ˈœfnən" },
		{ "höre", "ˈhøːrə" },
		{ "hört", "hœɐ̯t" },
		{ "Plörre", "ˈplœrə" },
		-- QU:
		{ "Quatsch", "kʋatʃ" }, -- Must be  if /v/ is used instead of /ʋ/
		-- S/ß: 
		{ "aßen", "ˈaːsən" },
		{ "Haus", "haʊ̯s" },	
		{ "Hause", "ˈhaʊ̯zə" },
		{ "lasen", "ˈlaːzən" },
		{ "massig", "ˈmasɪç" },
		-- SCH:
		{ "Tisch", "tɪʃ" },
		{ "scheußlich", "ˈʃɔʏ̯slɪç" },
		{ "Asche", "ˈaʃə" },
		-- TSCH:
		{ "Quatsch", "kʋatʃ" },
		-- U
		{ "Buch", "buːx" },
		{ "Kusses", "ˈkʊsəs" },
		{ "Furcht", "fʊɐ̯çt" },
		-- UH:
		{ "Uhr", "uːɐ̯" },
		-- Ü
		{ "Bücher", "ˈbyːçɐ" },
		{ "Brücke", "ˈbrʏkə" },
		{ "Tür", "tyːɐ̯" },
		-- ÜH 
		-- V
		{ "Vogel", "ˈfoːgəl" },
		{ "Vase", "ˈʋaːzə", nil, "rom" }, -- Borrowing, should this have ?
		{ "administrativ", "ˌatmɪnɪstraˈtif", nil, "rom" }, -- Might have a long /i/; I can't tell since northern speech has no length distinction
		{ "selektiv", "zeˌlɛkˈtif", nil, "rom" },
		-- W
		{ "Möwe", "ˈmøːʋə" },
		{ "was", "ʋas" },
		-- Affixes (Stress)
		{ "geglichen", "gəˈglɪçən" },
		{ "angeglichen", "ˈangəˌglɪçən" },
		{ "aufgeben", "ˈaʊ̯fˌɡeːbən" }, -- should be smart enough not to interpret -ge- here as a prefix (because followed by -en
		{ "aufgegeben", "ˈaʊ̯fɡəˌɡeːbən" },
		{ "Mächtigkeit", "ˈmɛçtɪçˌkaɪ̯t" },
		-- Borrowed words with unexpected stress:
		{ "eventuell", "eˈʋɛntuˌɛll", "evéntuèll", "rom" }, -- Borrowing, should this have ?
		{ "Enklave", "ɛnˈklaːʋə", nil, "rom" }, -- Borrowing, should this have ?
		{ "Phonem", "foˈneːm", nil, "rom" },
		{ "Chemie", "çeˈmiː", nil, "rom" },
		{ "Information", "ˌɪnfoɐ̯maˈtsi̯oːn", nil, "rom" }, -- Notice how this Roman word uses /ɪ/
		{ "Platin", "ˈplaːtin", "Plátin", "rom" }, -- And this one doesn't.
		{ "Qualität", "ˌkʋaliˈtɛːt", nil, "rom" }, -- See Käse
		{ "Rasur", "raˈzuːɐ̯", nil, "rom" },
		{ "rasieren", "raˈziːrən", nil, "rom" },
		{ "programmieren", "ˌprograˈmiːrən", nil, "rom" },
		-- Slash separating compounds:
		{ "Buchstabe", "ˈbuːxʃtaːbə", "Buch/stabe" },
		{ "Urheberrecht", "ˈuːɐ̯heːbɐˌrɛçt", "Ur/heber/rècht" },
		{ "Standartenführer", "ʃtanˈdartənˌfyːrɐ", "Standárten/führer" },
		{ "Aufenthaltsgenehmigung", "ˈaʊ̯fɛnthaltsɡəˌneːmiɡʊŋ", "Aufenthalts/genehmigung" },
		-- Irregular borrowings:
		{ "doof", "doːf" },
		{ "doofes", "ˈdoːʋəs", "dooves" }, -- Borrowing, should this have ?
	}
	
	self:iterate(examples, "check_pron")
end

return tests

-- For Vim, so we get 4-space tabs
-- vim: set ts=4 sw=4 noet: