มอดูล:form of/lang-data/sw
หน้าตา
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module contains language-specific form-of data (tags, shortcuts, base lemma params. etc.) for สวาฮีลี.
NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:form of in order for the module to be recognized.
--[=[
This module contains lang-specific tags for Swahili.
]=]
local tags = {}
local shortcuts = {}
----------------------- Tense/aspect -----------------------
tags["gnomic"] = {
tag_type = "tense-aspect",
glossary = "Gnomic aspect",
glossary_type = "wp",
}
tags["consecutive"] = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Consecutive",
glossary_type = "wp",
}
tags["situational"] = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Situational",
glossary_type = "wp",
}
----------------------- Inflectional class -----------------------
-- swahili m-wa class (class 1/2)
tags["m-wa class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa"},
}
-- swahili m-mi class (class 3/4)
tags["m-mi class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi"},
}
-- swahili ji-ma class (class 5/6)
tags["ji-ma class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma"},
}
-- swahili ki-vi class (class 7/8)
tags["ki-vi class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi"},
}
-- swahili n-n class (class 9/10)
tags["n class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n"},
}
-- swahili u-n/u-u class (class 11/14)
tags["u class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n", "u-u"},
}
-- swahili ku class (class 15)
tags["ku class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku"},
}
-- swahili pa locative class (class 16)
tags["pa locative class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa"},
}
-- swahili ku locative class (class 17)
tags["ku locative class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc"},
}
-- swahili mu locative class (class 18)
tags["mu locative class subject inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu"},
}
-- swahili m-wa class (class 1/2)
tags["m-wa class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa_obj"},
}
-- swahili m-mi class (class 3/4)
tags["m-mi class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi_obj"},
}
-- swahili ji-ma class (class 5/6)
tags["ji-ma class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma_obj"},
}
-- swahili ki-vi class (class 7/8)
tags["ki-vi class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi_obj"},
}
-- swahili n-n class (class 9/10)
tags["n class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n_obj"},
}
-- swahili u-n/u-u class (class 11/14)
tags["u class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n_obj", "u-u_obj"},
}
-- swahili ku class (class 15)
tags["ku class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku_obj"},
}
-- swahili pa locative class (class 16)
tags["pa locative class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa_obj"},
}
-- swahili ku locative class (class 17)
tags["ku locative class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc_obj"},
}
-- swahili mu locative class (class 18)
tags["mu locative class object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu_obj"},
}
-- swahili m-wa class (class 1/2)
tags["m-wa class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa_rel"},
}
-- swahili m-mi class (class 3/4)
tags["m-mi class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi_rel"},
}
-- swahili ji-ma class (class 5/6)
tags["ji-ma class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma_rel"},
}
-- swahili ki-vi class (class 7/8)
tags["ki-vi class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi_rel"},
}
-- swahili n-n class (class 9/10)
tags["n class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n_rel"},
}
-- swahili u-n/u-u class (class 11/14)
tags["u class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n_rel", "u-u_rel"},
}
-- swahili ku class (class 15)
tags["ku class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku_rel"},
}
-- swahili pa locative class (class 16)
tags["pa locative class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa_rel"},
}
-- swahili ku locative class (class 17)
tags["ku locative class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc_rel"},
}
-- swahili mu locative class (class 18)
tags["mu locative class relative object inflected"] = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu_rel"},
}
----------------------- Create the shortcuts list -----------------------
for name, data in pairs(tags) do
if data.shortcuts then
for _, shortcut in ipairs(data.shortcuts) do
shortcuts[shortcut] = name
end
end
end
return {tags = tags, shortcuts = shortcuts}