Ich glaube, ich bin etwas fehlt, aber ich schaffte es nicht, POS zu erhalten und Lemma ergibt, auch wenn ich nur versuchen, ihr Beispiel:spacigen POS, Lemma
import spacy
nlp = spacy.load('en')
doc = nlp(u'They told us to duck.')
for word in doc:
print(word.text, word.lemma, word.lemma_, word.tag, word.tag_, word.pos, word.pos_)
ich:
(u'They', 0, u'', 0, u'', 0, u'')
(u'told', 0, u'', 0, u'', 0, u'')
(u'us', 0, u'', 0, u'', 0, u'')
(u'to', 0, u'', 0, u'', 0, u'')
(u'duck', 0, u'', 0, u'', 0, u'')
(u'.', 0, u'', 0, u'', 0, u'')
Ich bin in 64bit Python 2.7