[English] Wrong POS for possessive adjectives #13979
Replies: 1 comment
-
|
Ok so I've been doing my homework, I've been reading more about this, and I can accept that there are ways to properly consider "my" to be a pronoun, because "my" can be seen as a proper pronoun, due to the fact that it is an inflection of "I" which is the pronoun per se. Now that being said, is there any place in the spaCy data model, or somewhere, that the adjective side of "my" is shown or can be queried or matched against with patterns? For example take a look at this beauty that you get using the same sentence "my house is mine" using Stanza: [
{
"id": 1,
"text": "my",
"lemma": "my",
"upos": "PRON",
"xpos": "PRP$",
"feats": "Case=Gen|Number=Sing|Person=1|Poss=Yes|PronType=Prs",
"head": 2,
"deprel": "nmod:poss",
"start_char": 0,
"end_char": 2,
"ner": "O",
"multi_ner": [
"O"
]
}
]As you can see, Stanza also treats "my" as a pronoun, which fair enough, because of it being an inflection of "I" the pronoun itself. But the interesting part is where it says PD: According to Universal Dependencies at https://universaldependencies.org/u/dep/ there are two types of 'poss': 'nmod:poss' and 'det:poss', so it would seem that spaCy should use one of these? In Universal Dependencies I can't seem to be able to find 'poss' alone on its own. When seeing the dependency relations in English https://universaldependencies.org/en/dep/ the only option that appears is 'nmod:poss'. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day team,
I've been learning to use spaCy and it's really great. One doubt I had is about the accuracy of the English model
en_core_web_lgand other sizes (e.g.en_core_web_sm). I wrote this Python script to display that possible inaccuracy:This is the output of those
printstatements:So .. the word "my" is being treated as a pronoun, when in reality it's an adjective (or a possessive determiner if you will). You can verify this in the Merriam Webster dictionary: https://www.merriam-webster.com/dictionary/my and also in the grammar for possessive pronouns from the British Council: https://learnenglish.britishcouncil.org/free-resources/grammar/english-grammar-reference/possessives-pronouns
I think maybe the reason that "my" is treated as a pronoun, might be due to tradition, but a tradition can also become wrong, if the grammatical definitions change over time. Or perhaps is there another reason for this result from spaCy?
It also happens that in the sentence "my house is mine", the word "mine" is treated as an adjective!! That looks to me kind of like worst case scenario. The word "my" which should be treated as an adjective of "house" (or a determiner of "house") is treated as a pronoun ... while "mine" which is the possessive pronoun, is treated as the adjective, so they seem as if they were inverted. ... or if you tell me that "mine" is an adjective in this case, because of the copular verb "is", if that's the case then both "my" and "mine" would be adjectives here.
Please help me know if I'm in the wrong here with counterexamples, or maybe with some citation or resources that explain this kind of situation, because I must admit, I might be completely out of base here. Thank you for your attention.
Beta Was this translation helpful? Give feedback.
All reactions