Comments (6)
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!
from spacy.
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)
from spacy.
I'll make this clearer in the documentation.
The .pos attribute gives you tags from Google's universal tag set. The .tag attribute gives you the "ordinary" language-specific 45 tag Penn Treebank tag set.
from spacy.
Hm... I thought that PRON
was in Google's tag set. Wouldn't that mean .pos
should recognize it?
from spacy.
Hmm you're right. I thought I copy-pasted the mapping, but I must have made an error somehow. I'll fix this and retrain my models.
from spacy.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from spacy.
Related Issues (20)
- Version incompatibility between Spacy, Cuda, Pytorch and Python HOT 3
- Accessing private transformer models HOT 1
- Problems converting Doc object to/from json HOT 1
- The word transitions to the wrong prototype HOT 1
- Fuzzy Matching not working HOT 1
- Unable to finetune transformer based ner model after initial tuning
- Undesired whitespace normalization of Korean text
- Suggestion: Normalize or Translate the parsing labels for German and English dependency labelling
- Code example discrepancy for `Span.lemma_` in API docs HOT 1
- Signature docs error in API docs for `MorphAnalysis.__contains__` HOT 2
- Import broken python 3.9 HOT 1
- Luminous
- Converting into exe file through pyinstaller-> spacy cannot find factory for 'curated transformer' HOT 1
- Spacy problem with whitespace or punctuation HOT 1
- config.cfg error from spacy init config command
- Possible ORG misidentification HOT 1
- SpaCy is not building today HOT 2
- How can I contribute.
- spacy Transformers shows 0 in Losses_trf while training
- The `transition_parser` in `Spacy` is not compatible with the use of cuda for inference
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacy.