Module:rad-stem: Difference between revisions

All declension patterns accounted for
(Remaining to add: HH, Ḥ and ḤḤ stems)
(All declension patterns accounted for)
Line 86: Line 86:
-- resolve heavy spirant stems --
-- resolve heavy spirant stems --
resolve("", "")


resolve("(ieH%=e)$", "íe")
resolve("(ie[HḤ][HḤ]?%=e)$", "íe")
resolve("(yeH%=e)$", "ýe")
resolve("(ye[HḤ][HḤ]?%=e)$", "ýe")
resolve("(aH%=e)$", "ai")
resolve("(a[HḤ][HḤ]?%=e)$", "ai")
resolve("(eH%=e)$", "ei")
resolve("(e[HḤ][HḤ]?%=e)$", "ei")
resolve("(øH%=e)$", "øi")
resolve("(ø[HḤ][HḤ]?%=e)$", "øi")
resolve("(iH%=e)$", "iè")
resolve("(i[HḤ][HḤ]?%=e)$", "iè")
resolve("(yH%=e)$", "yè")
resolve("(y[HḤ][HḤ]?%=e)$", "yè")
resolve("(â[HḤ][HḤ]%=e)$", "âi")
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("(íH%=i)", "ỉ")
resolve("(í[HḤ]%=i)", "ỉ")
resolve("([øy]H%=i)", "=ý")
resolve("([øy][HḤ]%=i)", "=ý")
resolve("(ýH%=i)", "ỷ")
resolve("(ý[HḤ]%=i)", "ỷ")
resolve("([ouû]H%=[ei])", "ui")
resolve("([ouû]H%=[ei])", "ui")
resolve("(aH%=[ei])", "ai")
resolve("(aH%=[ei])", "ai")
resolve("([" .. V .. "])H%=[ei]", "%1je")
resolve("([" .. V .. "])H%=[ei]", "%1je")
resolve("ieH%=([aú])", "eív%1")
resolve("ieH%=([aú])", "eív%1")
resolve("([" .. V .. "])H%=([aú])", "%1v%2")
resolve("([" .. V .. "])H%=([aú])", "%1v%2")
Line 124: Line 126:
-- resolve spirants
-- resolve spirants
resolve("ḤḤ%=g", "=k")
resolve("ḤḤ%=d", "=t")
resolve("ḤḤ%=s", "=s")
resolve("ḤḤ%=a", "=à")
resolve("ḤḤ%=úr", "úr")
resolve("ḤḤ%=e", "=e")
resolve("ḤḤ%=i", "=șe")
resolve("HH%=g", "=ak")
resolve("HH%=d", "=at")
resolve("HH%=s", "=as")
resolve("HH%=a", "=à")
resolve("HH%=úr", "úr")
resolve("HH%=e", "=e")
resolve("HH%=i", "=așe")
resolve("y%=à", "ya")
resolve("y%=a", "øa")
resolve("i%=à", "ia")
resolve("i%=a", "ea")
resolve("u%=à", "ua")
resolve("u%=a", "oa")
resolve("[aà]%=[aà]", "á")
resolve("[áả]%=[aà]", "ả")
resolve("â%=([aàáả])", "o%1")
resolve("[ḤH]%=g", "g")
resolve("[ḤH]%=g", "g")
resolve("[ḤH]%=([ds])", "=%1")
resolve("[ḤH]%=([ds])", "=%1")