A theoretical model of dynamical grammatical gender shifting based on set-valued set function

This paper proposes a mathematical framework based on a set-valued set function within a Template-Based and Modular Cognitive model to formally explain the nonlinear dynamics of grammatical gender shifting and noun-to-noun derivation, using empirical data from Riffian to challenge conventional views on word formation.

Mohamed El Idrissi

Published 2026-03-06
📖 5 min read🧠 Deep dive

Imagine you are walking through a giant, chaotic library where books (words) are constantly being rewritten, re-categorized, and given new covers. Sometimes, a book about a "lion" gets a new cover that says "lioness." Other times, a book about "butter" (which usually has no gender) suddenly gets a masculine or feminine label depending on the language.

This paper is like a detective story trying to solve why these changes happen and how the library organizes them. The author, Mohamed El Idrissi, proposes a new "rulebook" for this library using math.

Here is the breakdown of his theory using simple analogies:

1. The Problem: The "Gender" Mystery

In many languages (like French, Spanish, or Riffian, a language spoken in Morocco), nouns have a "gender" (Masculine or Feminine).

  • The Puzzle: Sometimes, you can change a word's meaning slightly, and its gender flips.
    • Example: In French, le gland (the acorn, masculine) comes from la glande (the gland, feminine).
    • Example: In Riffian, you can take a word for "hand" (masculine) and turn it into a word for "bouquet" (feminine).
  • The Old Theory: Linguists used to think this happened because there was a tiny, invisible "switch" (a suffix) added to the word that forced the gender to change.
  • The Flaw: Sometimes, there is no switch. The word looks exactly the same, but the gender changes. The old rules couldn't explain this "magic."

2. The Solution: The "Template" System

The author suggests that words aren't just random strings of letters. Instead, every word is a mold (a template) filled with clay (the meaning).

  • The Clay (The Item): This is the core meaning of the word (e.g., "hand," "butter," "lion").
  • The Mold (The Template): This is a pre-made container that holds grammatical rules like "Singular," "Plural," "Masculine," or "Feminine."

The Analogy:
Imagine a bakery.

  • The Clay is the dough.
  • The Mold is the cookie cutter.
  • Usually, if you want a "Star" cookie, you use a star cutter. If you want a "Heart," you use a heart cutter.
  • The Author's Discovery: Sometimes, you take the same dough (the word "lion") and suddenly, instead of using the "Male" cutter, you switch to the "Female" cutter. The dough didn't change, but the mold changed.

3. The "Item-Template Pairing" (The New Machine)

The author invents a new machine called the TBMC Model (Template-Based and Modular Cognitive model). Think of this machine as a smart vending machine for words.

  • How it works:
    1. You put a word (the item) into the machine.
    2. The machine looks at the word's history and its meaning.
    3. It doesn't just look for a "suffix" (like an -s or -tion). Instead, it checks a mathematical rule to see which "Mold" (Template) fits best right now.
    4. If the rules say "Change the gender," the machine swaps the mold from "Masculine" to "Feminine" instantly.

4. The Math Part: The "Symmetric Difference"

This is the most complex part, but here is the simple version:
The author uses a specific type of math called Set Theory (dealing with groups of things). He treats "Masculine" and "Feminine" as two different groups.

  • The Magic Formula: He uses a concept called "Symmetric Difference." Imagine you have two lists of features.
    • List A (Old Word): Has "Masculine."
    • List B (New Word): Has "Feminine."
    • The math calculates exactly what needs to be swapped to get from A to B.
    • If the math says "Swap M for F," the machine does it. If the math says "Do nothing," the gender stays the same.

This explains why sometimes the gender flips (the math demands a swap) and sometimes it stays the same (the math demands no change), even if the word looks identical.

5. Why Riffian?

The author uses Riffian (a Berber language) as his main example because it is a "laboratory" for this. In Riffian, you can see these gender shifts happening very clearly, often without any extra letters added to the word. It's like watching a chameleon change colors in real-time, proving that the "mold" is what's changing, not the "dough."

The Big Takeaway

The paper argues that grammar isn't just about adding little tags to words. It's about a dynamic, shifting system where words are constantly being matched to different "molds" based on complex, non-linear rules.

  • Old View: Words change gender because we add a specific "feminine" sticker to them.
  • New View: Words change gender because the entire "container" (the template) they sit in gets swapped out by a hidden, mathematical rule system.

In a nutshell: The author built a mathematical model that acts like a chameleon translator. It predicts exactly when a word will keep its gender and when it will flip, not by looking for stickers, but by calculating the perfect "mold" for the word's current meaning. This helps us understand how human brains organize language in a way that is both chaotic and perfectly logical.