Module:auto cat/data: Difference between revisions

Undoing it all I can't be bothered
No edit summary
(Undoing it all I can't be bothered)
Tag: Reverted
Line 5: Line 5:
-- %u = any language name (different to %l)
-- %u = any language name (different to %l)
-- %c = any language code
-- %c = any language code
-- %p = any part of speech
-- %ps = any part of speech (plural)
-- %s = any string
-- %s = any string
-------------------------
-------------------------
Line 14: Line 12:
-- matched against first.
-- matched against first.
-------------------------
-------------------------
local pos = {
return {
    "adjective",
    "adverb",
"article",
    "conjunction",
    "determiner",
    "interjection",
"noun",
    "numeral",
    "particle",
    "phrase",
    "postposition",
    "preposition",
    "pronoun",
    "proper noun",
    "symbol",
    "verb",
}
 
local cats = {
     -- Languages
     -- Languages
     {"All languages", {"Fundamental"}},
     {"All languages", {"Fundamental"}},
Line 48: Line 27:
     {"Lemmas by language", {"Fundamental"}},
     {"Lemmas by language", {"Fundamental"}},
     {"Lemmas subcategories by language", {"Lemmas by language| "}},
     {"Lemmas subcategories by language", {"Lemmas by language| "}},
     {"%p by language", {"Lemmas subcategories by language"}},
     {"Nouns by language", {"Lemmas subcategories by language"}},
    {"Verbs by language", {"Lemmas subcategories by language"}},
    {"Adjectives by language", {"Lemmas subcategories by language"}},
    {"Adverbs by language", {"Lemmas subcategories by language"}},
    {"Articles by language", {"Lemmas subcategories by language"}},
    {"Conjunctions by language", {"Lemmas subcategories by language"}},
    {"Pronouns by language", {"Lemmas subcategories by language"}},
    {"Proper nouns by language", {"Nouns by language", "Lemmas subcategories by language"}},
    {"Prepositions by language", {"Lemmas subcategories by language"}},
    {"Postpositions by language", {"Lemmas subcategories by language"}},
    {"Determiners by language", {"Lemmas subcategories by language"}},
    {"Interjections by language", {"Lemmas subcategories by language"}},
    {"Particles by language", {"Lemmas subcategories by language"}},
    {"Numerals by language", {"Lemmas subcategories by language"}},
    {"Phrases by language", {"Lemmas subcategories by language"}},
    {"Symbols by language", {"Lemmas subcategories by language"}},
     {"Multiword terms by language", {"Lemmas subcategories by language"}},
     {"Multiword terms by language", {"Lemmas subcategories by language"}},
     -- Language lemmas
     -- Language lemmas
     {"%l lemmas", {"%l language", "Lemmas by language"}},
     {"%l lemmas", {"%l language", "Lemmas by language"}},
     {"%l %p", {"%l lemmas", "%p by language"}},
     {"%l nouns", {"%l lemmas", "Nouns by language"}},
    {"%l verbs", {"%l lemmas", "Verbs by language"}},
    {"%l adjectives", {"%l lemmas", "Adjectives by language"}},
    {"%l adverbs", {"%l lemmas", "Adverbs by language"}},
    {"%l articles", {"%l lemmas", "Articles by language"}},
    {"%l conjunctions", {"%l lemmas", "Conjunctions by language"}},
    {"%l pronouns", {"%l lemmas", "Pronouns by language"}},
    {"%l proper nouns", {"%l lemmas", "%l nouns", "Proper nouns by language"}},
    {"%l prepositions", {"%l lemmas", "Prepositions by language"}},
    {"%l postpositions", {"%l lemmas", "Postpositions by language"}},
    {"%l determiners", {"%l lemmas", "Determiners by language"}},
    {"%l interjections", {"%l lemmas", "Interjections by language"}},
    {"%l particles", {"%l lemmas", "Particles by language"}},
    {"%l numerals", {"%l lemmas", "Numerals by language"}},
    {"%l phrases", {"%l lemmas", "Phrases by language"}},
    {"%l symbols", {"%l lemmas", "Symbols by language"}},
     {"%l multiword terms", {"%l lemmas", "Multiword terms by language"}},
     {"%l multiword terms", {"%l lemmas", "Multiword terms by language"}},
     -- Non-lemmas by language
     -- Non-lemmas by language
Line 60: Line 69:
     {"Noun forms by language", {"Non-lemma forms subcategories by language"}},
     {"Noun forms by language", {"Non-lemma forms subcategories by language"}},
     {"Adjective forms by language", {"Non-lemma forms subcategories by language"}},
     {"Adjective forms by language", {"Non-lemma forms subcategories by language"}},
    {"Pronoun forms by language", {"Pronoun forms subcategories by language"}},
    {"Proper noun forms by language", {"Proper noun forms subcategories by language"}},
     -- Language non-lemmas
     -- Language non-lemmas
     {"%l non-lemma forms", {"%l language", "Non-lemma forms by language"}},
     {"%l non-lemma forms", {"%l language", "Non-lemma forms by language"}},
Line 66: Line 77:
     {"%l adjective forms", {"%l adjectives", "Adjective forms by language"}},
     {"%l adjective forms", {"%l adjectives", "Adjective forms by language"}},
     {"%l pronoun forms", {"%l pronouns", "Pronoun forms by language"}},
     {"%l pronoun forms", {"%l pronouns", "Pronoun forms by language"}},
    {"%l proper noun forms", {"%l proper nouns", "Proper noun forms by language"}},
     -- Morphemes by language
     -- Morphemes by language
     {"Morphemes by language", {"Lemmas subcategories by language"}},
     {"Morphemes by language", {"Lemmas subcategories by language"}},
Line 161: Line 173:
     {"%l nominal roots", {"%l roots", "Nominal roots by language"}},
     {"%l nominal roots", {"%l roots", "Nominal roots by language"}},
     {"%l verbal roots", {"%l roots", "Verbal roots by language"}},
     {"%l verbal roots", {"%l roots", "Verbal roots by language"}},
    {"%l adjectival roots", {"%l roots", "Adjectival roots by language"}},
     {"%l terms by root", {"%l terms by etymology", "%l roots", "Terms by root by language"}},
     {"%l terms by root", {"%l terms by etymology", "%l roots", "Terms by root by language"}},
     {"%l terms belonging to the root %s", {"%l terms by root"}},
     {"%l terms belonging to the root %s", {"%l terms by root"}},
Line 173: Line 184:
     {"Adjectivisations by language", {"Terms by etymology subcategories by language"}},
     {"Adjectivisations by language", {"Terms by etymology subcategories by language"}},
     {"Back-formations by language", {"Terms by etymology subcategories by language"}},
     {"Back-formations by language", {"Terms by etymology subcategories by language"}},
    {"Blends by language", {"Terms by etymology subcategories by language"}},
     {"Clippings by language", {"Terms by etymology subcategories by language"}},
     {"Clippings by language", {"Terms by etymology subcategories by language"}},
     {"Contractions by language", {"Terms by etymology subcategories by language"}},
     {"Contractions by language", {"Terms by etymology subcategories by language"}},
Line 186: Line 196:
     {"Rebracketings by language", {"Terms by etymology subcategories by language"}},
     {"Rebracketings by language", {"Terms by etymology subcategories by language"}},
     {"Reduplications by language", {"Terms by etymology subcategories by language"}},
     {"Reduplications by language", {"Terms by etymology subcategories by language"}},
     {"Terms with unknown etymologies by language", {"Terms by etymology subcategories by language"}},
     {"Terms with unknown etymology by language", {"Terms by etymology subcategories by language"}},
     {"Terms with multiple etymologies by language", {"Terms by etymology subcategories by language"}},
     {"Terms with multiple etymologies by language", {"Terms by etymology subcategories by language"}},
     {"Verbalisations by language", {"Terms by etymology subcategories by language"}},
     {"Verbalisations by language", {"Terms by etymology subcategories by language"}},
Line 194: Line 204:
     {"%l adjectivisations", {"%l terms by etymology", "Adjectivisations by language"}},
     {"%l adjectivisations", {"%l terms by etymology", "Adjectivisations by language"}},
     {"%l back-formations", {"%l terms by etymology", "Back-formations by language"}},
     {"%l back-formations", {"%l terms by etymology", "Back-formations by language"}},
    {"%l blends", {"%l terms by etymology", "Back-formations by language"}},
     {"%l clippings", {"%l terms by etymology", "Clippings by language"}},
     {"%l clippings", {"%l terms by etymology", "Clippings by language"}},
     {"%l contractions", {"%l terms by etymology", "Contractions by language"}},
     {"%l contractions", {"%l terms by etymology", "Contractions by language"}},
Line 207: Line 216:
     {"%l rebracketings", {"%l terms by etymology", "Rebracketings by language"}},
     {"%l rebracketings", {"%l terms by etymology", "Rebracketings by language"}},
     {"%l reduplications", {"%l terms by etymology", "Reduplications by language"}},
     {"%l reduplications", {"%l terms by etymology", "Reduplications by language"}},
     {"%l terms with unknown etymologies", {"%l terms by etymology", "Terms with unknown etymologies by language"}},
     {"%l terms with unknown etymology", {"%l terms by etymology", "Terms with unknown etymology by language"}},
     {"%l terms by etymology", {"%l language", "Terms by etymology by language"}},
     {"%l terms by etymology", {"%l language", "Terms by etymology by language"}},
     {"%l terms with multiple etymologies", {"%l terms by etymology", "Terms with multiple etymologies by language"}},
     {"%l terms with multiple etymologies", {"%l terms by etymology", "Terms with multiple etymologies by language"}},
Line 375: Line 384:
     {"Modules by language", {"Modules"}},
     {"Modules by language", {"Modules"}},
     {"%l modules", {"Modules by language"}},
     {"%l modules", {"Modules by language"}},
}
return {
cats = cats,
pos = pos,
}
}