I am new to spacy and I want to use its lemmatizer function, but I don\'t know how to use it, like I into strings of word, which will return the string with the basic form the w
I use Spacy version 2.x
import spacy nlp = spacy.load('en_core_web_sm', disable=['parser', 'ner']) doc = nlp('did displaying words') print (" ".join([token.lemma_ for token in doc]))
and the output :
do display word
Hope it helps :)