enlp.processing.stdtools.get_stopwords¶
-
enlp.processing.stdtools.
get_stopwords
()[source]¶ Get list of Norwegian and English stopwords.
Get stopwords list from Spacy for Norwegian and English, returning each list separately as well as a combined list
- Returns
Notes
This has assumed both norwegian and english language models have been downloaded
Examples
>>> stopwords_all, stopwords_norwegian, stopwords_english = get_stopwords() >>> print(stopwords[:5]) ['therein', 'neither', 'indeed', 'whereby', 'yourself']