Module:ábḫ-ipa/remake: Difference between revisions

no edit summary
(Created page with "--[[ Hi! If you ever happen to read this, I'm trying to friendly *deobfuscate* your module. I've learned some Scribunto Lua the hard way, after months of messing with it for...")
 
No edit summary
Line 16: Line 16:


local PAGENAME = mw.title.getCurrentTitle().text
local PAGENAME = mw.title.getCurrentTitle().text
local CIRCUMFLEX = u(0x0302)
local HACEK = u(0x030C)
local ACUTE = u(0x0301)
local NONSYLL = u(0x032F)
local DENTAL = u(0x032A)
local SYLL = u(0x030D)


local export = {}
local export = {}
local composer = {
["s"] = "s",
}
local vowels = "[aeɛʊiɪɔɐ]"


local rules = {
local rules = {
{"aa", ""}, {"áa", "âː"}, {"aá", "ǎː"}, {"ai", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"aa", "ā"}, {"áa", "â"}, {"aá", "ǎ"}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"ii", "ī"}, {"íi", "î"}, {"", "ǐ"}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},