spacy-ngram · PyPI
https://pypi.org/project/spacy-ngram/
Quick Startspacy-ngramallows the creation of ngrams of any size. These will be added at either the document- or sentence-level. Quick Referencespacy-ngram creates new extensions under the Doc and/or Span classes, depending on the parameters (it defaultsto Doc). The extension begins with the prefix ngram_ followed by the level of ngram desired (e.g., ngram_1). 1. unigram (1 included in ngrams argument): Doc._.ngram_1 …
Quick Startspacy-ngramallows the creation of ngrams of any size. These will be added at either the document- or sentence-level.
Quick Referencespacy-ngram creates new extensions under the Doc and/or Span classes, depending on the parameters (it defaultsto Doc). The extension begins with the prefix ngram_ followed by the level of ngram desired (e.g., ngram_1). 1. unigram (1 included in ngrams argument): Doc._.ngram_1 …
DA: 16 PA: 39 MOZ Rank: 9