Skip to main content

Collection of stopwords for multiple languages. Using ISO 639-1 language code.

Project description


Collection of stopwords for multiple languages, using ISO 639-1 language code.

This Python package is based on Stopwords ISO project by Gene Diaz. You can see the full list of stopwords in every languages available there. Contribution to the word lists should also happen there.

Comparable packages also published on npm and bower.


$ pip install stopwordsiso


import stopwordsiso

stopwordsiso.has_lang("th")  # check if there is a stopwords for Thai language
stopwordsiso.langs()  # return a set of all the supported languages
from stopwordsiso import stopwords

stopwords("en")  # English stopwords
stopwords(["de", "id", "zh"])  # German, Indonesian, and Chinese stopwords
stopwords("xxx")  # an empty set will be returned for unknown language

Stopwords Data

The entire collection is in JSON format and can be found at stopwords-iso.json in your stopwordsiso/ Python package directory. You are free to use this collection any way you like.

Stopwords for each language is a list value with a key of respective language in ISO 639-1 language code, like this:

    "af": [ "aan", "af", "al", "as", ],
    "ar": [ "آض", "آمينَ", "آه", "آهاً", ],

If you wish to add, remove, or update some of the stopwords, please go to Stopwords ISO project at


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stopwordsiso-0.6.1.tar.gz (75.6 kB view hashes)

Uploaded source

Built Distribution

stopwordsiso-0.6.1-py3-none-any.whl (73.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page