CoolFace
Datasetpublic

nltk-data-hub/stopwords

NLTK Stopwords Stopword lists from NLTK, covering 33 languages. Each language is a separate config. Each row is one stopword. Usage from datasets import load_dataset # Load one language ds = load_dataset("nltk-data-hub/stopwords", "portuguese") words = ds["stopwords"]["word"] # Load all languages for lang in ['albanian', 'arabic', 'azerbaijani', 'basque', 'belarusian', 'bengali', 'catalan', 'chinese', 'danish', 'dutch', 'english', 'finnish', 'french', 'german'… See the full description on the dataset page: https://huggingface.co/datasets/nltk-data-hub/stopwords.

sourceHugging Faceotherupdated 5mo agoView on Hugging Face
0likes404downloads
Dataset Card

NLTK Stopwords

Stopword lists from NLTK, covering 33 languages.

Each language is a separate config. Each row is one stopword.

Usage

python
from datasets import load_dataset

# Load one language
ds = load_dataset("nltk-data-hub/stopwords", "portuguese")
words = ds["stopwords"]["word"]

# Load all languages
for lang in ['albanian', 'arabic', 'azerbaijani', 'basque', 'belarusian', 'bengali', 'catalan', 'chinese', 'danish', 'dutch', 'english', 'finnish', 'french', 'german', 'greek', 'hebrew', 'hinglish', 'hungarian', 'indonesian', 'italian', 'kazakh', 'nepali', 'norwegian', 'portuguese', 'romanian', 'russian', 'slovene', 'spanish', 'swedish', 'tajik', 'tamil', 'turkish', 'uzbek']:
    ds = load_dataset("nltk-data-hub/stopwords", lang)
    print(lang, ds["stopwords"].num_rows)

Schema

ColumnTypeDescription
wordstringThe stopword

Languages and word counts

LanguageBCP-47Count
albaniansq237
arabicar754
azerbaijaniaz165
basqueeu326
belarusianbe224
bengalibn398
catalanca278
chinesezh841
danishda94
dutchnl101
englishen198
finnishfi235
frenchfr157
germande232
greekel265
hebrewhe221
hinglishhi1,036
hungarianhu199
indonesianid758
italianit279
kazakhkk324
nepaline255
norwegianno176
portuguesept207
romanianro356
russianru151
slovenesl1,784
spanishes313
swedishsv114
tajiktg163
tamilta125
turkishtr53
uzbekuz288

Source

Originally distributed as part of nltk.download('stopwords'). Converted to Parquet for use with the HuggingFace datasets library.

Citation

bibtex
@book{nltk,
  author    = {Bird, Steven and Klein, Ewan and Loper, Edward},
  title     = {Natural Language Processing with Python},
  publisher = {O'Reilly Media},
  year      = {2009},
  url       = {https://www.nltk.org/}
}