See :func:`extract.ngrams() <textacy.extract.ngrams>` for all function kwargs.
return extract.ngrams(self.spacy_doc, n, **kwargs)
@cachedmethod(attrgetter("_cache"), key=partial(hashkey, "named_entities"))
def named_entities(self, **kwargs):
After Change
.. seealso:: :func:`extract.ngrams() <textacy.extract.ngrams>` for all function kwargs.
return list(extract.ngrams(self.spacy_doc, n, **kwargs))
@cachedmethod(attrgetter("_cache"), key=partial(hashkey, "named_entities"))
def named_entities(self, **kwargs):