question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pronoun Detection

See original GitHub issue

It seems that spaCy counts all pronouns as normal nouns.

import spacy.en
nlp = spacy.en.English()

In [34]: for tok in nlp(u"You and I make us"):
   ....:     print tok.string, tok.pos
   ....:     
You  6
and  4
I  6
make  10
us 6

In [35]: from spacy.parts_of_speech import PRON, NOUN

In [36]: NOUN, PRON
Out[36]: (6, 8)

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
robinsloancommented, May 1, 2016

Same experience here—I can’t get spaCy to detect pronouns at all. Is this a bug or is there some subtlety I’m missing? Thanks!

1reaction
tingofurrocommented, Dec 4, 2015

Hey I was trying to detect pronouns too, and it returns that the pos_ is a noun. Is that normal? I ran the same example:

for tok in nlp(u"You and I make us"): … print tok.orth_, tok.pos_ … You NOUN and CONJ I NOUN make VERB us NOUN

Not a big deal, just wanted to know, spacy is awesome!

(Name: spacy; Version: 0.94)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pronoun Checker Tool - INK
Free Pronoun Checker from INK. Check correct pronoun usage fast with our online pronoun detector. Plus discover the importance of pronouns in English...
Read more >
Pronoun Finder to Eliminate All Pronoun-Related Mistakes
The pronoun detector identifies any errors in the use of pronouns in your text. This includes such things as whether the pronoun being...
Read more >
What you see is what you get!. Resolving pronouns to ...
Resolving pronouns to particular subjects/objects in a given ... An object detection module is used to identify object labels from the ...
Read more >
Evaluation of Zero-Pronoun Detection
Discussion. In the detection of zero pronouns the following results were obtained: for the LEXESP corpus, precisions of 97.1% and 83.1% were obtained...
Read more >
Detecting Independent Pronoun Bias with Partially-Synthetic ...
We report that state-of-the-art parsers consis- tently failed to identify “hers” and “theirs” as pronouns but identified the masculine equiva- lent “his”.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found