Ah, apologies for the confusion! The correct command would be `n` + `p`, followed by `u`, then `b`, and finally `l`. So if you wanted to use the N-grams feature of spaCy, it would look like this:

```

import nltk

from spacy.en import English

nlp = English()

n_grams = nlp(text)

for token in n_grams:

print(token.lemma_)

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.