A modult a Modul:typing-aids/data/doc lapon tudod dokumentálni
local U = mw.ustring.char
local stops = "PpBbTtDdKkGgQq"
local velars = "GgKk"
local diacritics = "_%^\'0"
local vowels = "AaEeIiOoUu"
local sonorants = "RrLlMmNn"
local not_laryngeal_numbers = ""
local ProtoGreekpalatalized = "TtDdLlNnRr"
local ProtoGreekaspirated = "PpTtKk"
local acute = U(0x0301)
local data = {}
data = {
= "h₁",
= "h₂",
= "h₃",
= "ə₁",
= "ə₂",
= "ə₃",
= "ē₂",
= "ʷ",
= "ʷ",
= "ʰ",
= "ʰ",
= { "ʷʰ", before = "", after = not_laryngeal_numbers, },
= { "ʰ", before = "", after = not_laryngeal_numbers, },
= { "ʷ", before = "", },
= "ₔ", -- sometimes used for the schwa secundum
= U(0x304), -- macron
= { U(0x302), before = "?", }, -- circumflex
= { U(0x301), before = "?", }, -- acute
= { U(0x325), before = "?", }, -- ring below
= { U(0x328), before = "?", }, -- ogonek
= "þ",
= "Þ",
= "ə",
= { U(0x30C), before = "", }, -- caron
= "⁓", -- swung dash
}
data = {
= {
= "h₁",
= "h₂",
= "h₃",
= "ə₁",
= "ə₂",
= "ə₃",
= "ʷ",
= "ʷ",
= "ʰ",
= "ʰ",
= { "ʷʰ", before = "", after = not_laryngeal_numbers, },
= { "ʰ", after = not_laryngeal_numbers, },
= { "ʷ", before = "", },
= "ₔ", -- sometimes used for the schwa secundum
= { U(0x301), before = "?", }, -- acute
= { U(0x304), before = "?", }, -- macron
= { U(0x325), before = "?", }, -- ring below
= "⁓", -- swung dash
= { U(0x311), before = "", }, -- inverted breve above
},
= {
= { U(0x32F), before = "", }, -- inverted breve above
},
}
data = data
data = {
= "ē₂",
= { U(0x328), before = "?", }, -- ogonek
= "þ",
= "Þ",
= { U(0x304), before = "?", }, -- macron
= { U(0x302), before = "?", }, -- circumflex
}
data = data
data = {
= {
= { U(0x304) .. U(0x301), before = "", }, -- macron and acute
= { U(0x304) .. U(0x301), before = "", }, -- macron and acute
= { "ʷʰ", before = "", },
= { "ʷʰ", before = "", },
= { U(0x30C), before = "", }, -- caron
},
= {
= U(0x30C), -- caron
= "ə",
= { U(0x304), before = "?", }, -- macron
= { U(0x301), before = "*", }, -- acute
= { "ʰ", before = "", },
= { "ʷ", before = "", },
}
}
data = data
data = {
= {
= "Ё",
= "ё",
= "Ю",
= "ю",
= "Я",
= "я",
= "Ч",
= "ч",
= "Ш",
= "ш",
= "й",
},
= {
= "А",
= "а",
= "Б",
= "б",
= "В",
= "в",
= "Г",
= "г",
= "Д",
= "д",
= "Е",
= "е",
= "Ж",
= "ж",
= "З",
= "з",
= "И",
= "и",
= "Й",
= "й",
= "К",
= "к",
= "Л",
= "л",
= "М",
= "м",
= "Н",
= "н",
= "О",
= "о",
= "П",
= "п",
= "Р",
= "р",
= "С",
= "с",
= "Т",
= "т",
= "У",
= "у",
= "Ф",
= "ф",
= "Х",
= "х",
= "Ц",
= "ц",
= "Щ",
= "щ",
= "Ъ",
= "ъ",
= "Ы",
= "ы",
= "Ь",
= "ь",
= "Э",
= "э",
= U(0x301), -- acute
},
}
--[[
The shortcut (or regex search pattern) is enclosed in ,
and the replacement is enclosed in quotes after the equals sign:
= "replacement",
if the shortcut includes a parenthesis "()",
the replacement will contain a capture string "%1" or "%2",
which matches the contents of first or second parenthesis.
]]
data.acute_decomposer = {
= "a" .. acute,
= "e" .. acute,
= "i" .. acute,
= "o" .. acute,
= "u" .. acute,
= "y" .. acute,
= "ē" .. acute,
= "ō" .. acute,
= "A" .. acute,
= "E" .. acute,
= "I" .. acute,
= "O" .. acute,
= "U" .. acute,
= "Y" .. acute,
= "Ē" .. acute,
= "Ō" .. acute,
}
--[=[
If table is an array, the first string is the subpage of
] that contains the language's replacements; the
second is the index of the field in the exported table of that module that
contains the language's replacements.
Otherwise, the table contains fields for particular scripts, specifying the
module used when the |sc= parameter is set to that script code, as well as a
"default" field for cases where no script has been specified.
]=]
data.modules = {
= { "ae", "ae", },
= { "ae", "ae", },
= { "ae", "ae", },
= { "ae", "ae-tr", },
= { "akk", "akk-tr" },
= { "ar" },
= { default = "Armi", Palm = "Palm" },
= { default = "Armi", Palm = "Palm" },
= { "Cyrs" },
= { "fa" },
= { "fa" },
= { "fa" },
= { "gmy" },
-- = { "gmy", "gmy-tr" },
= { "got", "got" },
= { "got", "got-tr" },
= { "grc" },
= { "hit", "hit" },
= { "hit", "hit-tr" },
= { "hy", "hy", },
= { "hy", "hy-tr", },
= { "ja", "ja" },
= { default = "Phlv", Mani = "Mani" },
= { "Cyrs" },
= { "os" },
= { "os" },
= { "os" },
= { "Orkh" },
= { "oty" },
= { "peo" },
= { "psu", "psu" },
= { "psu", "psu-tr" },
= { "psu", "psu" },
= { "sa", "sa" },
= { "sa", "sa-tr" },
= { default = "Sogd", Mani = "Mani", Sogo = "Sogo" },
= { "sux" },
= { "pmh", "pmh" },
= { "pka", "pka" },
= { default = "el", Mani = "Mani" },
= { default = "Mani" },
= { default = "Chrs" },
-- = { "" },
}
return data