45,345
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
m_IPA = require("Module:IPA") | local m_IPA = require("Module:IPA") | ||
local m_su = require("Module:string utilities") | |||
local m_table = require("Module:table") | |||
local phonemic_rules = { | |||
{"ẻu", "øː"}, | |||
{"õu", "ɔ̃ː"}, | |||
{"ả", "æː"}, | |||
{"ẻ", "eː"}, | |||
{"ỉ", "iː"}, | |||
{"ỏ", "ʊː"}, | |||
{"ủ", "uː"}, | |||
{"ỷ", "yː"}, | |||
} | |||
function export.show(frame) | function export.show(frame) | ||
Line 14: | Line 23: | ||
local args = require("Module:parameters").process(parent_args, params) | local args = require("Module:parameters").process(parent_args, params) | ||
IPA_key = "IPA for Siwa" | local IPA_key = "IPA for Siwa" | ||
key_link = "[[" .. IPA_key .. "|key]]" | local key_link = "[["..IPA_key.."|key]]" | ||
local prefix = "[[w:IPA chart|IPA]]<sup>(" .. key_link .. ")</sup>: " | local prefix = "[[w:IPA chart|IPA]]<sup>(" .. key_link .. ")</sup>: " | ||
local accent="(\''Aingo\'') " | |||
trans = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. args[1] .. "]</span>" | trans = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. args[1] .. "]</span>" |