Module:rad-stem: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Manual revert
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 84: Line 84:
     ["i"] = "V",
     ["i"] = "V",
     ["ie"] = "V",
     ["ie"] = "V",
    ["iè"] = "V",
     ["nj^e"] = "V",
     ["nj^e"] = "V",
     ["o"] = "V",
     ["o"] = "V",
Line 107: Line 108:
     ["ai"] = {"ai", "ai"},
     ["ai"] = {"ai", "ai"},
     ["áj"] = {"áj", "áj"},
     ["áj"] = {"áj", "áj"},
     ["au"] = {"au", "au"},
     ["au"] = {"", "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*"},
     ["o*"] = {"o*", "o", "o*", "on*", "ost*"},
Line 149: Line 151:
     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 166: 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 276: 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 568: 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"] .. "ú", "âaș$", "oàș")
         principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"] .. "ú", "[uú]ú$", "")
     end
     end