it’s not supposed to work with npubs.
not a function error, just a grammar error
it’s not supposed to work with npubs.
not a function error, just a grammar error
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_)
```