Articles → SPACY → Parts-Of-Speech Tagging In Spacy
Parts-Of-Speech Tagging In Spacy
Types Of POS
- Coarse-grained POS tags.
- Fine-grained POS tags.
Coarse-Grained POS Tags
| Tag | Meaning |
|---|
| NOUN | Common noun (dog, book) |
| PROPN | Proper noun (John, India) |
| VERB | Verb |
Fine-Grained POS Tags
| Tag | Meaning |
|---|
| NN | Noun, singular |
| NNS | Noun, plural |
| NNP | Proper noun, singular |
Example
import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("Apple is looking at buying U.K. startup for $1 billion.")
for token in doc:
print(token.text, token.pos_, token.tag_)
Output
| Posted By - | Karan Gupta |
| |
| Posted On - | Tuesday, November 25, 2025 |