You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nouns and pronouns share some but not all properties.
In grammar and linguistics there is an umbrella term that covers both: nominal
At present for people who know some amount of grammar and linguistics terminology and want to contribute, the codebase is confusing and ambiguous.
Lint rules etc often refer to nouns where it means either nouns or pronouns.
When something specifically refers only to pronouns, it first checks if a word is noun and then checks for the pronoun metadata property.
Nouns and pronouns can both be the head of nominal phrases, and both have the concepts of number (singular vs plural) but only nouns have a "proper" property. Both nouns and pronouns have possessive but they are very different. I've already found odd problems because of this.
Nouns form possessives by the suffix -'s
Pronouns with the suffix -'s are contractions, and only 3rd person singular pronouns are amenable: he's, she's, it's
Many people confuse those contractions with possessives, and contributors to Harper are not immune.
Possessive nouns come before the possessed noun. But the equivalent of this with pronouns are possessive adjectives
Earth's atmosphere man's intelligence my brother our idea its size
Possessive pronouns stand in for another noun, when it is the thing that's possessed. Nouns don't have an equivalent.
My car. That car is mine.
Is it his or is it hers?
I highly recommend splitting up the current noun functions and properties into nominal, noun, and pronoun. I'm looking through the code now to see if I can do it on my own or not...
The text was updated successfully, but these errors were encountered:
As per Automattic#730 this is the first step, moving the current "noun" types, which actually combine nouns and pronouns, into "nominal" types, that being the umbrella term in grammar/linguistics that encompasses both nouns and pronouns.
Because of the use of templates to derive type and function names from other type names, I had to rename a lot more identifiers than expected.
The next step will be to move pronouns out into their own type, with a "person" (1st/2nd/3rd) property but without a "proper" property.
Then noun can also be moved out, keeping things that apply to both, such as "nominal phrase" inside but things that don't such as "compound noun" outside the "nominal" type and inside the "noun" type.
This will make it easier to differentiate linters that work only on pronouns or only one nouns from those that work on both.
Nouns and pronouns share some but not all properties.
In grammar and linguistics there is an umbrella term that covers both: nominal
At present for people who know some amount of grammar and linguistics terminology and want to contribute, the codebase is confusing and ambiguous.
Lint rules etc often refer to nouns where it means either nouns or pronouns.
When something specifically refers only to pronouns, it first checks if a word is noun and then checks for the pronoun metadata property.
Nouns and pronouns can both be the head of nominal phrases, and both have the concepts of number (singular vs plural) but only nouns have a "proper" property. Both nouns and pronouns have possessive but they are very different. I've already found odd problems because of this.
Nouns form possessives by the suffix -'s
Pronouns with the suffix -'s are contractions, and only 3rd person singular pronouns are amenable: he's, she's, it's
Many people confuse those contractions with possessives, and contributors to Harper are not immune.
Possessive nouns come before the possessed noun. But the equivalent of this with pronouns are possessive adjectives
Earth's atmosphere
man's intelligence
my brother
our idea
its size
Possessive pronouns stand in for another noun, when it is the thing that's possessed. Nouns don't have an equivalent.
My car. That car is mine.
Is it his or is it hers?
I highly recommend splitting up the current noun functions and properties into nominal, noun, and pronoun. I'm looking through the code now to see if I can do it on my own or not...
The text was updated successfully, but these errors were encountered: