Part-of-Speech (POS)
# Iterate over the tokens
for token in doc:
# Print the text and POS tag for each token
print(token.text, token.pos_)I PRON
am AUX
looking VERB
forward ADV
to ADP
learning VERB
about ADP
NLP PROPN
with ADP
spaCy PROPN
! PUNCTLast updated