12,303
edits
TheNightAvl (talk | contribs) m (Beautified) |
TheNightAvl (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(27 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
["j"] = "C", | ["j"] = "C", | ||
["k"] = "C", | ["k"] = "C", | ||
["ķ"] = "C", | |||
["l"] = "C", | ["l"] = "C", | ||
["m"] = "C", | ["m"] = "C", | ||
Line 83: | Line 84: | ||
["i"] = "V", | ["i"] = "V", | ||
["ie"] = "V", | ["ie"] = "V", | ||
["iè"] = "V", | |||
["nj^e"] = "V", | ["nj^e"] = "V", | ||
["o"] = "V", | ["o"] = "V", | ||
["o*"] = "V", | |||
["ø"] = "V", | ["ø"] = "V", | ||
["t^o"] = "V", | ["t^o"] = "V", | ||
["ķ^o"] = "V", | |||
["u"] = "V", | ["u"] = "V", | ||
[" | ["ù"] = "V", | ||
["y"] = "V", | ["y"] = "V", | ||
-- light spirant -- | -- light spirant -- | ||
Line 107: | Line 108: | ||
["ai"] = {"ai", "ai"}, | ["ai"] = {"ai", "ai"}, | ||
["áj"] = {"áj", "áj"}, | ["áj"] = {"áj", "áj"}, | ||
["au"] = {" | ["au"] = {"oà", "au"}, | ||
["e"] = {"Ra", "e", "=i"}, | ["e"] = {"Ra", "e", "=i"}, | ||
["i"] = {"Re", "=i"}, | ["i"] = {"Re", "=i"}, | ||
["ie"] = {"íRa", "ie"}, | ["ie"] = {"íRa", "ie"}, | ||
["iè"] = {"ia", "iè"}, | |||
["o"] = {"Ra", "o", "u", "un", "ust"}, | ["o"] = {"Ra", "o", "u", "un", "ust"}, | ||
["o*"] = {"o*", "o", "o*", "on*", "ost*"}, | |||
["ø"] = {"Ra", "ø", "y"}, | ["ø"] = {"Ra", "ø", "y"}, | ||
["u"] = {"Re", "u"}, | ["u"] = {"Re", "u"}, | ||
["ù"] = {"ù", "ù"}, | |||
["y"] = {"Re", "y"}, | ["y"] = {"Re", "y"}, | ||
["a^eG"] = {"ár", "í", "á", "ád", "aúr", "ai", "áse"}, | ["a^eG"] = {"ár", "í", "á", "ád", "aúr", "ai", "áse"}, | ||
Line 144: | Line 148: | ||
resolve("([^Ḥ])Ḥ%=e", "%1ge") | resolve("([^Ḥ])Ḥ%=e", "%1ge") | ||
resolve("(ỉ[HḤ][HḤ]?%=e)$", "ỉè") | |||
resolve("(ie[HḤ][HḤ]?%=e)$", "íe") | resolve("(ie[HḤ][HḤ]?%=e)$", "íe") | ||
resolve("(ye[HḤ][HḤ]?%=e)$", "ýe") | resolve("(ye[HḤ][HḤ]?%=e)$", "ýe") | ||
resolve("([eoø]a)[HḤ][HḤ]?%=e$", "%1je") | |||
resolve("(a[HḤ][HḤ]?%=e)$", "ai") | resolve("(a[HḤ][HḤ]?%=e)$", "ai") | ||
resolve("(e[HḤ][HḤ]?%=e)$", "ei") | resolve("(e[HḤ][HḤ]?%=e)$", "ei") | ||
Line 153: | Line 159: | ||
resolve("(â[HḤ][HḤ]%=e)$", "âi") | resolve("(â[HḤ][HḤ]%=e)$", "âi") | ||
resolve("(ỉH%=i%=s)", "ỉes") | |||
resolve("(ieH%=i%=s)", "ies") | resolve("(ieH%=i%=s)", "ies") | ||
resolve("(ieH%=i)", "eí") | resolve("(ieH%=i)", "eí") | ||
resolve("([ei][HḤ]%=i)", "=í") | resolve("([ei][HḤ]%=i)", "=í") | ||
resolve("( | resolve("([íỉ][HḤ]%=i)", "ỉ") | ||
resolve("([øy][HḤ]%=i)", "=ý") | resolve("([øy][HḤ]%=i)", "=ý") | ||
resolve("(ý[HḤ]%=i)", "ỷ") | resolve("(ý[HḤ]%=i)", "ỷ") | ||
Line 162: | Line 169: | ||
resolve("([ouû]H%=[ei])", "ui") | resolve("([ouû]H%=[ei])", "ui") | ||
resolve("([ouû]H%=se)", "ûse") | resolve("([ouû]H%=se)", "ûse") | ||
resolve("([eoø]a)H%=[ei]", "%1j=e") | |||
resolve("(aH%=[ei])", "ai") | resolve("(aH%=[ei])", "ai") | ||
resolve("([" .. V .. "])H%=[ei]", "%1j=e") | resolve("([" .. V .. "])H%=[ei]", "%1j=e") | ||
Line 222: | Line 230: | ||
resolve("H%=i", "ș=i") | resolve("H%=i", "ș=i") | ||
resolve("Ḥ%=([" .. V .. "])", "g%1") | resolve("Ḥ%=([" .. V .. "])", "g%1") | ||
-- resolve =g/=d | -- resolve =g/=d | ||
resolve("([rvħh])%=g", "%1=u") | resolve("([rvħh])%=g", "%1=u") | ||
Line 272: | Line 280: | ||
resolve("([òù]v%=)", "ú=") | resolve("([òù]v%=)", "ú=") | ||
resolve("([^iy])ev%=([^" .. V .. "])", "%1ø=%2") | resolve("([^iy])ev%=([^R" .. V .. "])", "%1ø=%2") | ||
resolve("^ev%=([^" .. V .. "])", "ø=%1") | resolve("^ev%=([^R" .. V .. "])", "ø=%1") | ||
resolve("(èv%=)", "ø=") | resolve("(èv%=)", "ø=") | ||
resolve("([^aeuøuâ])iv%=([^" .. V .. "])", "%1y=%2") | resolve("([^aeuøuâ])iv%=([^R" .. V .. "])", "%1y=%2") | ||
resolve("^iv%=([^" .. V .. "])", "y=%1") | resolve("^iv%=([^R" .. V .. "])", "y=%1") | ||
resolve("(ìv%=)", "y=") | resolve("(ìv%=)", "y=") | ||
Line 310: | Line 318: | ||
resolve("[HḤ][HḤ]%=", "=") | resolve("[HḤ][HḤ]%=", "=") | ||
resolve("[HḤ]%=", "=") | resolve("[HḤ]%=", "=") | ||
resolve("au°?%=R?a", "o=à") | |||
resolve("au°?%=R?([" .. V .. "])", "o=%1") | |||
resolve("%=(%S*)R", "=%1") | resolve("%=(%S*)R", "=%1") | ||
resolve("(%=)", "") | resolve("(%=)", "") | ||
Line 472: | Line 482: | ||
principle_parts["ins"] = stem .. "nivúr" | principle_parts["ins"] = stem .. "nivúr" | ||
principle_parts["nompl"] = stem_broken .. "nxe" | principle_parts["nompl"] = stem_broken .. "nxe" | ||
principle_parts["genpl"] = | principle_parts["genpl"] = stem_broken_e .. "nje" | ||
principle_parts["genpl_short"] = stem_broken_e .. "nje=s" | principle_parts["genpl_short"] = stem_broken_e .. "nje=s" | ||
elseif ending = | elseif mw.ustring.match(ending, "^[tķ]%^o$") then | ||
principle_parts["nom"] = stem_broken .. " | local temp_stem = mw.ustring.match(ending, "^([tķ])%^o$") | ||
principle_parts["voc"] = stem_broken .. " | principle_parts["nom"] = stem_broken .. temp_stem .. "s" | ||
principle_parts["gen"] = stem .. " | principle_parts["voc"] = stem_broken .. temp_stem .. "se" | ||
principle_parts["dat"] = stem .. " | principle_parts["gen"] = stem .. temp_stem .. "usk" | ||
principle_parts["acc"] = stem_broken .. " | principle_parts["dat"] = stem .. temp_stem .. "a" | ||
principle_parts["ins"] = stem_broken .. " | principle_parts["acc"] = stem_broken .. temp_stem .. "st" | ||
principle_parts["nompl"] = stem_broken .. " | principle_parts["ins"] = stem_broken .. temp_stem .. "vúr" | ||
principle_parts["genpl"] = stem_broken .. " | principle_parts["nompl"] = stem_broken .. temp_stem .. "se" | ||
principle_parts["genpl_short"] = stem .. " | principle_parts["genpl"] = stem_broken .. temp_stem .. "s" | ||
principle_parts["genpl_short"] = stem .. temp_stem .. "u=s" | |||
elseif stem_data[ending] == "V" then | elseif stem_data[ending] == "V" then | ||
-- SEMI-LIGHT | -- SEMI-LIGHT | ||
Line 561: | Line 572: | ||
principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"], "ru$", "rủ") | principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"], "ru$", "rủ") | ||
else | else | ||
principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"] .. "ú", " | principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"] .. "ú", "[uú]ú$", "ủ") | ||
end | end | ||
Line 595: | Line 606: | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "áș$", "ảș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "áș$", "ảș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^aeuøâ])iș$", "%1eaș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^aeuøâ])iș$", "%1eaș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], " | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "eș$", "eaș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^a])uș$", "%1oaș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^a])uș$", "%1oaș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^ | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([^ao])oș$", "%1oaș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "aoș$", "aôș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "aoș$", "aôș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "[øy]ș$", "øaș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "[øy]ș$", "øaș") | ||
Line 632: | Line 643: | ||
if mw.ustring.match(imp_temp, "au$") then | if mw.ustring.match(imp_temp, "au$") then | ||
imp_temp = nil | imp_temp = nil | ||
elseif mw.ustring.find(imp_temp, "[uú]$") then | |||
imp_temp = imp_temp .. "a" | |||
else | else | ||
imp_temp = principle_parts["2s"] .. "a" | |||
end | end | ||
end | end |