Module:User:Karaeng Matoaya/ko-pron

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This is a private module sandbox of Karaeng Matoaya, for their own experimentation. Items in this module may be added and removed at Karaeng Matoaya's discretion; do not rely on this module's stability.


local p = {}

local foobar = '' .. mw.title.getCurrentTitle().text .. ''
	foobar = mw.html.create('span')
		:wikitext(foobar)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar = tostring(foobar)
	
local foobar2 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar2 = '<span style="font-size: 13pt">' .. foobar2 .. '</span>'
	
local foobar3 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar3 = '<span style="font-size: 13pt; color: purple; font-weight: bold">' .. foobar3 .. '</span>'
	
local foobar4 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar4 = '<span style="font-size: 13pt; color: blue; font-weight: bold">' .. foobar4 .. '</span>'

local foobar5_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 1, 1)
	foobar5_1 = mw.html.create('span')
		:wikitext(foobar5_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar5_1 = tostring(foobar5_1)
	
local foobar5 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar5 = mw.ustring.toNFC(foobar5) -- decompose
	foobar5 = mw.ustring.gsub(foobar5, mw.ustring.sub(foobar5, 1, 1), foobar5_1) -- replace
	foobar5 = mw.html.create('span')
		:wikitext(foobar5)
		:css('font-size', '13pt')
		:done()
	foobar5 = tostring(foobar5)

local foobar6_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 2, 3)
	foobar6_1 = mw.html.create('span')
		:wikitext(foobar6_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar6_1 = tostring(foobar6_1)
	
local foobar6 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar6 = mw.ustring.toNFC(foobar6) -- decompose
	foobar6 = mw.ustring.gsub(foobar6, mw.ustring.sub(foobar6, 2, 3), foobar6_1) -- replace
	foobar6 = mw.html.create('span')
		:wikitext(foobar6)
		:css('font-size', '13pt')
		:done()
	foobar6 = tostring(foobar6)

local foobar7_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 2, 3)
	foobar7_1 = mw.html.create('span')
		:wikitext(foobar7_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'purple')
		:done()
	foobar7_1 = tostring(foobar7_1)

local foobar7 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar7 = mw.ustring.toNFC(foobar7) -- decompose
	foobar7 = mw.ustring.gsub(foobar7, mw.ustring.sub(foobar7, 2, 3), foobar7_1) -- replace
	foobar7 = mw.html.create('span')
		:wikitext(foobar7)
		:css('font-size', '13pt')
		:done()
	foobar7 = tostring(foobar7)

local foobar8_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 1, 2)
	foobar8_1 = mw.html.create('span')
		:wikitext(foobar8_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar8_1 = tostring(foobar8_1)

local foobar8 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar8 = mw.ustring.toNFC(foobar8) -- decompose
	foobar8 = mw.ustring.gsub(foobar8, mw.ustring.sub(foobar8, 1, 2), foobar8_1) -- replace
	foobar8 = mw.html.create('span')
		:wikitext(foobar8)
		:css('font-size', '13pt')
		:done()
	foobar8 = tostring(foobar8)

local foobar9_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 2, 2)
	foobar9_1 = mw.html.create('span')
		:wikitext(foobar9_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar9_1 = tostring(foobar9_1)
	
local foobar9 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar9 = mw.ustring.toNFC(foobar9) -- decompose
	foobar9 = mw.ustring.gsub(foobar9, mw.ustring.sub(foobar9, 2, 2), foobar9_1) -- replace
	foobar9 = mw.html.create('span')
		:wikitext(foobar9)
		:css('font-size', '13pt')
		:done()
	foobar9 = tostring(foobar9)

local foobar10_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 3, 3)
	foobar10_1 = mw.html.create('span')
		:wikitext(foobar10_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar10_1 = tostring(foobar10_1)
	
local foobar10 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar10 = mw.ustring.toNFC(foobar10) -- decompose
	foobar10 = mw.ustring.gsub(foobar10, mw.ustring.sub(foobar10, 3, 3), foobar10_1) -- replace
	foobar10 = mw.html.create('span')
		:wikitext(foobar10)
		:css('font-size', '13pt')
		:done()
	foobar10 = tostring(foobar10)

local foobar11_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 3, 3)
	foobar11_1 = mw.html.create('span')
		:wikitext(foobar11_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'purple')
		:done()
	foobar11_1 = tostring(foobar11_1)

local foobar11 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar11 = mw.ustring.toNFC(foobar11) -- decompose
	foobar11 = mw.ustring.gsub(foobar11, mw.ustring.sub(foobar11, 3, 3), foobar11_1) -- replace
	foobar11 = mw.html.create('span')
		:wikitext(foobar11)
		:css('font-size', '13pt')
		:done()
	foobar11 = tostring(foobar11)

local foobar12_1 = mw.ustring.sub(mw.ustring.toNFC(mw.title.getCurrentTitle().text), 4, 4)
	foobar12_1 = mw.html.create('span')
		:wikitext(foobar12_1)
		:css('font-size', '13pt')
		:css('font-weight', 'bold')
		:css('color', 'red')
		:done()
	foobar12_1 = tostring(foobar12_1)

local foobar12 = '' .. mw.title.getCurrentTitle().text .. ''
	foobar12 = mw.ustring.toNFC(foobar12) -- decompose
	foobar12 = mw.ustring.gsub(foobar12, mw.ustring.sub(foobar12, 4, 4), foobar12_1) -- replace
	foobar12 = mw.html.create('span')
		:wikitext(foobar12)
		:css('font-size', '13pt')
		:done()
	foobar12 = tostring(foobar12)


function p.H(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar .. '<span style="font-size:13pt">의 / </span>', foobar .. '<span style="font-size:13pt">에 / </span>',
			foobar2 .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word takes low pitch only before consonant-initial multisyllabic suffixes.</i></p>'
end

function p.H_H_reg(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar .. '<span style="font-size:13pt; color: red"><b>의</b></span><span style="font-size:13pt"> / </span>', foobar .. '<span style="font-size:13pt; color: red"><b>에</b></span><span style="font-size:13pt"> / </span>',
			foobar .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch and also heightens the next suffixed syllable.</i></p>'
end

function p.H_H_irreg(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar .. '<span style="font-size:13pt; color: red"><b>의</b></span><span style="font-size:13pt"> / </span>', foobar .. '<span style="font-size:13pt">에 / </span>',
			foobar .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch and also heightens the next suffixed syllable, unless it is 에.</i></p>'
end

function p.F(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar3 .. '<span style="font-size:13pt">의 / </span>', foobar3 .. '<span style="font-size:13pt">에 / </span>',
			foobar3 .. '<span style="font-size: 13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in purple take falling pitch, a [[morae|bimoraic]] sequence of high to low pitch. This word always takes falling pitch, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.R(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar4 .. '<span style="font-size:13pt">의 / </span>', foobar4 .. '<span style="font-size:13pt">에 / </span>',
			foobar4 .. '<span style="font-size: 13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in blue take rising pitch, a [[morae|bimoraic]] sequence of low to high pitch. This word always takes rising pitch, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.L_reg(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar2 .. '<span style="font-size:13pt; color: red"><b>의</b></span><span style="font-size:13pt"> / </span>', foobar2 .. '<span style="font-size:13pt; color: red"><b>에</b></span><span style="font-size:13pt"> / </span>',
			foobar2 .. '<span style="font-size:13pt; color: red"><b>까지</b></span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes low pitch, and heightens the pitch of two subsequent suffixed syllables.</i></p>'
end

function p.HH(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar .. '<span style="font-size:13pt>의 / </span>', foobar .. '<span style="font-size:13pt">에 / </span>',
			foobar .. '<span style="font-size:13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on both syllables, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.HL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar5 .. '<span style="font-size:13pt>의 / </span>', foobar5 .. '<span style="font-size:13pt">에 / </span>',
			foobar5 .. '<span style="font-size:13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch only on the first syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LH_reg(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar6 .. '<span style="font-size:13pt>의 / </span>', foobar6 .. '<span style="font-size:13pt">에 / </span>',
			foobar2 .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch only on the second syllable, except before consonant-initial multisyllabic suffixes, when it takes full low pitch.</i></p>'
end

function p.LH_H(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar6 .. '<span style="font-size:13pt; color: red"><b>의</b></span><span style="font-size:13pt"> / </span>', foobar6 .. '<span style="font-size:13pt; color: red"><b>에</b></span><span style="font-size:13pt"> / </span>',
			foobar6 .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch only on the second syllable, and also heightens the subsequent suffixed syllable.</i></p>'
end

function p.LF(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar7 .. '<span style="font-size:13pt>의 / </span>', foobar7 .. '<span style="font-size:13pt">에 / </span>',
			foobar7 .. '<span style="font-size: 13pt>까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in purple take falling pitch, a [[morae|bimoraic]] sequence of high to low pitch. This word always takes falling pitch on the second and third syllables, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.HHL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar8 .. '<span style="font-size:13pt>의 / </span>', foobar8 .. '<span style="font-size:13pt">에 / </span>',
			foobar8 .. '<span style="font-size: 13pt>까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the first two syllables, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.HLL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar5 .. '<span style="font-size:13pt>의 / </span>', foobar5 .. '<span style="font-size:13pt">에 / </span>',
			foobar5 .. '<span style="font-size:13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the first syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LHH(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar6 .. '<span style="font-size:13pt">의 / </span>', foobar6 .. '<span style="font-size:13pt">에 / </span>',
			foobar6 .. '<span style="font-size: 13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the second and third syllables, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LHL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar9 .. '<span style="font-size:13pt">의 / </span>', foobar9 .. '<span style="font-size:13pt">에 / </span>',
			foobar9 .. '<span style="font-size: 13pt">까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the second syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LLH(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar10 .. '<span style="font-size:13pt">의 / </span>', foobar10 .. '<span style="font-size:13pt">에 / </span>',
			foobar2 .. '<span style="font-size: 13pt; color: red"><b>까</b></span><span style="font-size: 13pt>지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the final syllable, except before consonant-initial multisyllabic suffixes, when it takes full low pitch.</i></p>'
end

function p.LLF(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar11 .. '<span style="font-size:13pt>의 / </span>', foobar11 .. '<span style="font-size:13pt">에 / </span>',
			foobar11 .. '<span style="font-size: 13pt>까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in purple take falling pitch, a [[morae|bimoraic]] sequence of high to low pitch. This word takes falling pitch on the final syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LLHL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar10 .. '<span style="font-size:13pt>의 / </span>', foobar10 .. '<span style="font-size:13pt">에 / </span>',
			foobar10 .. '<span style="font-size: 13pt>까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the third syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

function p.LLLHL(frame)
	return  '<b>South [[w:Gyeongsang dialect|Gyeongsang]] ([[Busan]]) [[pitch accent]]:</b> ',
			foobar12 .. '<span style="font-size:13pt>의 / </span>', foobar12 .. '<span style="font-size:13pt">에 / </span>',
			foobar12 .. '<span style="font-size: 13pt>까지</span>',
		    '<p style="font-size: 9pt; color:#505050"><i>Syllables in red take high pitch. This word always takes high pitch on the fourth syllable, and lowers the pitch of subsequent suffixes.</i></p>'
end

return p