10,794
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) m (Added escape for ) |
||
Line 1,466: | Line 1,466: | ||
function export.generate(frame) | function export.generate(frame) | ||
local args = getArgs(frame) | local args = getArgs(frame) | ||
local outputIPA = | local outputIPA = args[1] | ||
local parameters = {} | local parameters = {} | ||
local p = 2 | local p = 2 | ||
Line 1,477: | Line 1,478: | ||
end | end | ||
outputIPA = mw.ustring.gsub(outputIPA, "(% %;)", " ") | |||
outputIPA = generate_IPA(outputIPA) | |||
outputIPA = resolve_vowels(outputIPA) | outputIPA = resolve_vowels(outputIPA) | ||
outputIPA = resolve_consonants(outputIPA, parameters["hj"], parameters["phon"]) | outputIPA = resolve_consonants(outputIPA, parameters["hj"], parameters["phon"]) |