Module:auto cat/data: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
-------------------------
-------------------------
return {
return {
    --Languages
    {"All languages", {"Fundamental"}},
    {"%l language", {"All languages"}},
    --Rhymes
     {"Rhymes:%l/%s", {"Rhymes:%l"}},
     {"Rhymes:%l/%s", {"Rhymes:%l"}},
    {"Rhymes:%l", {"%l language", "Rhymes"}},
    {"Rhymes", {"Fundamental"}},
    --Lemmas & parts of speech by language
    {"Lemmas by language", {"Fundamental"}},
    {"Non-lemma forms by language", {"Fundamental"}},
    {"Nouns by language", {"Lemmas by lanugage"}},
    {"Verbs by language", {"Lemmas by language"}},
    {"Adjectives by language", {"Lemmas by language"}},
    {"Adverbs by language", {"Lemmas by language"}},
    {"Pronouns by language", {"Lemmas by language"}},
    {"Prepositions by language", {"Lemmas by language"}},
    {"Postpositions by language", {"Lemmas by language"}},
    {"Determiners by language", {"Lemmas by language"}},
    {"Interjections by language", {"Lemmas by language"}},
    --Language lemmas & parts of speech
     {"%l lemmas", {"%l language", "Lemmas by language"}},
     {"%l lemmas", {"%l language", "Lemmas by language"}},
     {"%l non-lemmas", {"%l lemmas"}},
    {"%l nouns", {"%l lemmas", "Nouns by language"}},
     {"%l non-lemma forms", {"%l language", "Non-lemma forms by language"}},
    {"%l verb forms", {"%l verbs", "Verb forms by language"}},
    {"%l noun forms", {"%l nouns", "Noun forms by language"}},
    {"%l adjective forms", {"%l adjectives", "Adjective forms by language"}},
    {"%l pronoun forms", {"%l pronouns", "Pronoun forms by language"}},
    --Etymology by language
    {"Terms by etymology by language", {"Fundamental"}},
    {"Abbreviations by language", {"Terms by etymology by language"}},
    -- Language etymology (no source)
    {"%l abbreviations", {"%l terms by etymology", "Abbreviations by language"}},
    {"%l back-formations", {"%l terms by etymology", "Back-formations by language"}},
    {"%l clippings", {"%l terms by etymology", "Clippings by language"}},
    {"%l deadjectivals", {"%l terms by etymology", "Deadjectivals by language"}},
    {"%l denominals", {"%l terms by etymology", "Denominals by language"}},
    {"%l deverbals", {"%l terms by etymology", "Deverbals by language"}},
    {"%l doublets", {"%l terms by etymology", "Doublets by language"}},
    {"%l ellipses", {"%l terms by etymology", "Ellipses by language"}},
    {"%l initialisms", {"%l terms by etymology", "Initialisms by language"}},
    {"%l onomatopoeias", {"%l terms by etymology", "Onomatopoeias by language"}},
    {"%l rebracketings", {"%l terms by etymology", "Rebracketings by language"}},
    {"%l reduplications", {"%l terms by etymology", "Reduplications by language"}},
    {"%l terms with unknown etymology", {"%l terms by etymology", "Terms with unknown etymology by language"}},
    -- Language etymology (with source)
    {"%l terms borrowed from %s", {"%l borrowed terms", "%l terms derived from %s", "Terms borrowed from %s"}},
    --Miscellaneous terms
    {"%l requested terms", {"%l language", "Requested terms by language"}},
    {"%l terms requested by my boyfriend", {"%l requested terms"}},
    {"%l terms requested by my partner", {"%l requested terms"}},
    {"%l nth terms", {"%l language", "Nth terms by language"}},
}
}

Revision as of 15:27, 26 February 2024

-------------------------
--[[  AUTO CAT DATA  ]]--
-------------------------
-- %l = any language name
-- %c = any language code
-- %s = any string
-------------------------
-- Please note that the order of patterns
-- makes a difference!
-- Patterns higher up in the table will be
-- matched against first.
-------------------------
return {
    --Languages
    {"All languages", {"Fundamental"}},
    {"%l language", {"All languages"}},
    --Rhymes
    {"Rhymes:%l/%s", {"Rhymes:%l"}},
    {"Rhymes:%l", {"%l language", "Rhymes"}},
    {"Rhymes", {"Fundamental"}},
    --Lemmas & parts of speech by language
    {"Lemmas by language", {"Fundamental"}},
    {"Non-lemma forms by language", {"Fundamental"}},
    {"Nouns by language", {"Lemmas by lanugage"}},
    {"Verbs by language", {"Lemmas by language"}},
    {"Adjectives by language", {"Lemmas by language"}},
    {"Adverbs by language", {"Lemmas by language"}},
    {"Pronouns by language", {"Lemmas by language"}},
    {"Prepositions by language", {"Lemmas by language"}},
    {"Postpositions by language", {"Lemmas by language"}},
    {"Determiners by language", {"Lemmas by language"}},
    {"Interjections by language", {"Lemmas by language"}},
    --Language lemmas & parts of speech
    {"%l lemmas", {"%l language", "Lemmas by language"}},
    {"%l nouns", {"%l lemmas", "Nouns by language"}},
    {"%l non-lemma forms", {"%l language", "Non-lemma forms by language"}},
    {"%l verb forms", {"%l verbs", "Verb forms by language"}},
    {"%l noun forms", {"%l nouns", "Noun forms by language"}},
    {"%l adjective forms", {"%l adjectives", "Adjective forms by language"}},
    {"%l pronoun forms", {"%l pronouns", "Pronoun forms by language"}},
    --Etymology by language
    {"Terms by etymology by language", {"Fundamental"}},
    {"Abbreviations by language", {"Terms by etymology by language"}},
    -- Language etymology (no source)
    {"%l abbreviations", {"%l terms by etymology", "Abbreviations by language"}},
    {"%l back-formations", {"%l terms by etymology", "Back-formations by language"}},
    {"%l clippings", {"%l terms by etymology", "Clippings by language"}},
    {"%l deadjectivals", {"%l terms by etymology", "Deadjectivals by language"}},
    {"%l denominals", {"%l terms by etymology", "Denominals by language"}},
    {"%l deverbals", {"%l terms by etymology", "Deverbals by language"}},
    {"%l doublets", {"%l terms by etymology", "Doublets by language"}},
    {"%l ellipses", {"%l terms by etymology", "Ellipses by language"}},
    {"%l initialisms", {"%l terms by etymology", "Initialisms by language"}},
    {"%l onomatopoeias", {"%l terms by etymology", "Onomatopoeias by language"}},
    {"%l rebracketings", {"%l terms by etymology", "Rebracketings by language"}},
    {"%l reduplications", {"%l terms by etymology", "Reduplications by language"}},
    {"%l terms with unknown etymology", {"%l terms by etymology", "Terms with unknown etymology by language"}},
    -- Language etymology (with source)
    {"%l terms borrowed from %s", {"%l borrowed terms", "%l terms derived from %s", "Terms borrowed from %s"}},
    --Miscellaneous terms
    {"%l requested terms", {"%l language", "Requested terms by language"}},
    {"%l terms requested by my boyfriend", {"%l requested terms"}},
    {"%l terms requested by my partner", {"%l requested terms"}},
    {"%l nth terms", {"%l language", "Nth terms by language"}},
}