Module:User:Benwing2/ca-IPA/testcases

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

1 of 0 tests failed. (refresh)

TextExpectedActualDiffers atComments
test:
Specific letter combinations
Voicing assimilation before m
Script error during testing: Module:User:Benwing2/ca-IPA:284: attempt to call field 'deepcopy' (a nil value)
stack traceback:
	: in function 'deepcopy'
	Module:User:Benwing2/ca-IPA:284: in function 'handle_unstressed_words'
	Module:User:Benwing2/ca-IPA:1571: in function <Module:User:Benwing2/ca-IPA:1568>
	(tail call): ?
	Module:User:Benwing2/ca-IPA/testcases/driver:60: in function <Module:User:Benwing2/ca-IPA/testcases/driver:59>
	(tail call): ?
	Module:UnitTests:313: in function 'iterate'
	Module:User:Benwing2/ca-IPA/testcases:117: in function <Module:User:Benwing2/ca-IPA/testcases:116>
	(tail call): ?
	(tail call): ?
	...
	(tail call): ?
	mw.lua:527: in function <mw.lua:507>
	: ?
	: in function 'expandTemplate'
	mw.lua:333: in function <mw.lua:307>
	(tail call): ?
	(tail call): ?
	Module:documentation:1026: in function 'chunk'
	mw.lua:527: in function <mw.lua:507>
	: ?

local tests = require("Module:UnitTests")
local driver = require("Module:User:Benwing2/ca-IPA/testcases/driver")

--[=[
Each line of the example text is either a high-level header beginning with ###, a subheader beginning with ##, a comment
beginning with #, a blank line or an example. Examples consist of three tab-separated fields, followed by an optional
comment to be shown along with the example (delimited by a # preceded by whitespace). The first field is the actual
spelling of the term in question. The second field is the respelling. The third field is the expected phonemic IPA
pronunciation.

See ] for more detailed information on the format of examples, along with information
on how to create a new subset of testcases.
]=]

local examples = [==[
### Specific letter combinations

## Voicing assimilation before m
abisme	+	əˈβiz.mə
admetre	ê	ədˈmɛ.tɾə
curtmetratge		ˌkurd.məˈtɾa.dʒə
sordmut		ˌsordˈmut
sotmetre	ê	sudˈmɛ.tɾə
diferentment	+	di.fəˌɾenˈmen
ammonit	+	əm.muˈnit
apotegma	è	ə.puˈtɛɡ.mə
fragment	+	fɾəɡˈmen
augmentar	+	əwɡ.mənˈta
llargmetratge	+	ˌʎarɡ.məˈtɾa.dʒə
Caixmir		kəʒˈmir
algoritme	+	əl.ɣuˈɾid.mə
setmana		səmˈma.nə
setmesó		ˌsed.məˈzo
tmesi	è	ˈdmɛ.zi
wàttmetre		ˈbad.mə.tɾə
istme	+	ˈiz.mə
dracma	+	ˈdɾaɡ.mə
francmaçó	+	ˌfɾã.məˈso
turcman	+	turɡˈman
Turkmenistan	+	turɡ.mə.nisˈtan
khmer		ˈkmer
submarí	+	sum.məɾˈi


## Voicing assimilation before n
hafni	+	ˈav.ni
ovni	ò	ˈɔv.ni
abnegació	+	əm.nə.ɣə.siˈo
subnormal	+	sum.nurˈmal
estibnita	+	əs.timˈni.tə
acne	+	ˈaŋ.nə
aràcnid	+	əˈɾaŋ.nit
electrotècnia		əˌlɛk.tɾuˈtɛŋ.ni.ə
pícnic	+	ˈpiŋ.nik
Agnès	+	əŋˈnɛs
cigne	+	ˈsiŋ.nə
apnea	é	əbˈne.ə
dispnea	é	dizmˈne.ə
hipnosi	ò	imˈnɔ.zi
pneumàtic	+	nəwˈma.tik

## Voicing assimilation before l, r
afluent	+	ə.fluˈen
deslleial	+	dəz.ʎəˈjal
becllarg	+	beɡˈʎaɾk
Israel	è	iz.rəˈɛl
sahrauí	+	sə.rəˈwi

## Voicing assimilation before stops
afganès	+	əv.ɣəˈnɛs
dubtar	+	dupˈta

## Elision of consonants in post- (and subsequent voicing assimilation)
postgrau		ˌpɔzˈɡɾaw
postguerra		ˌpɔzˈɡɛ.rə
postludi		ˌpɔzˈlu.ði
posttraumàtic		ˌpɔs.tɾəwˈma.tik
presumpció	+	pɾə.zum.siˈo

## Reduction of a/e next to another vowel
preeminent	+	pɾə.ə.miˈnen
meteor		mə.teˈɔɾ
meteorit	+	mə.te.uˈɾit
aerologia	+	ə.e.ɾu.luˈʒi.ə
aeròmetre	+	ə.eˈɾɔ.mə.tɾə
realista	+	re.əˈlis.tə
neòfit	+	neˈɔ.fit
neolític	+	ne.uˈli.tik

## Sequences of t + m/n/l/ll
setmana		səmˈma.nə
setmana		seˈma.na	val
aritmètic	+	ə.ɾidˈmɛ.tik
aritmètic	+	a.ɾidˈmɛ.tik	val
tmesi	è	ˈdmɛ.zi
tmesi	è	ˈmɛ.zi	val
ametlla		əmˈmɛʎ.ʎə
ametlla		aˈmeʎ.ʎa	val
bitllet	ê	biʎˈʎɛt
bitllet	ê	biˈʎet	val
atlàntic	+	əlˈlan.tik
atlàntic	+	adˈlan.tik	val
decatló	+	də.kəlˈlo
decatló	+	de.kadˈlo	val
motle	ò	ˈmɔl.le	val
vietnamita	+	bi.ən.nəˈmi.tə
vietnamita	+	vi.ed.naˈmi.ta	val
cotna	ó	ˈkon.nə
cotna	ó	ˈkon.na	val
]==]

function tests:check_ipa(spelling, respelling, expected, comment)
	return driver.check_ipa(self, spelling, respelling, expected, comment)
end

function tests:test()
	self:iterate(driver.parse(examples), "check_ipa")
end

return tests