Comment by jonplackett
11 hours ago
A while ago I made an algorithm to swap the gender in fairy stories.
(Genderswappedstories.com)
And I found another English weirdness trying to swap between his/him and her/hers.
Him always swaps to her
Eg it was him - it was her
But his can swap to her or hers
It is his -> it is hers
It is his thing -> it is her thing.
And her can also swap to him or his
It was her -> it was him
It was her thing -> it was his thing
And hers always swaps to his.
So hers and him are the only completely predictable - and they don’t even mean the same thing!
I had to write a very in-depth algorithm to work out the type of words surrounding the words - if they are nouns, adjectives etc - in each sentence to correctly guess the swaps. But even after that some were unpredictable due to word order keeping the important words apart. all I could do 100% reliably was to flag the ones that might be ambiguous to check. Of course now I could just get an LLM to check it!
Can anyone explain why this happens?
> Can anyone explain why this happens?
Historically speaking, it seems to have been due to two independent coincidences:
• The falling together of object pronoun her and possessive her seems to date back to Old English, where the genitive and dative cases were both hire. I’m unsure how this originated, but they seem to be separate in Frisian (the closest relative of English) and were reconstructed as separate in Proto-Germanic, which suggests that it was due to regular sound change in the evolution of Old English.
• Later, it seems like the third person possessive pronouns were derived by adding ’s to the corresponding genitive forms (which ended up as the possessive determiners). So her became hers, but it had no effect on his, since that already ended with an ⟨s⟩.
Thus we end up with the paradigm of:
Holdovers from showing the case (function in the sentence) of pronouns with inflection, which has mostly vanished from English, but not completely. The "mostly" just means we get extra confusion from different cases having ended up with the same form (as in the two different meanings of "her" below).
"It was him -> it was her" -- both are direct objects (at least as you're using them here--once upon a time the correct English would have been "it was he -> it was she", since the verb "to be" is not a transitive verb, but that seems to have gone out of fashion).
"It is his -> it is hers" -- both are possessives, but they're not directly modifying anything (they refer to "it", but the verb is in between).
"It is his thing -> it is her thing" -- both are possessives, but now they are functioning as direct modifiers of "thing", which is a different usage.
I don't know if there is a fully specified algorithm for determining these things, and even if you got one that worked in English, I don't think it would map very easily to any other language, because English is such a hodgepodge of things cherry picked from various languages over the centuries.