stopwordsiso
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 language available there. Contribution to the word lists should also happen there.
Comparable packages also published on npm and bower.
Installation
pip install stopwordsiso
Usage
import stopwordsiso
stopwordsiso.has_lang("th") # True if there are stopwords for Thai
stopwordsiso.langs() # frozenset of all supported ISO 639-1 language codes
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 https://github.com/stopwords-iso.
Credits
- Gene Diaz, stopwords compilation, npm and bower packages
- Arthit Suriyawongkul, Python utility and pip package (was originally at https://github.com/wisesight/stopwords-iso)
- All stopwords sources are listed at https://github.com/stopwords-iso/stopwords-iso/blob/master/CREDITS.md.
- Get the latest list of stopwords at https://github.com/stopwords-iso/stopwords-iso.
Release files for stopwordsiso 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stopwordsiso-0.7.1.tar.gz | 73.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stopwordsiso-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 148.2 kB
Release files / stopwordsiso-0.7.1.tar.gz
| Download URL | stopwordsiso-0.7.1.tar.gz |
|---|---|
| Size | 73.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10c1cf5df1c31646175178b0b13f0bd2e622384f4a3554986ed3acf85d73c9f0
|
|
BLAKE2b-256 checksum How to use checksums |
66f619709db9bff8c20a8d2c99dd657dbd51efcd76a2d43608c468307d503eea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.
Transparency logRelease files / stopwordsiso-0.7.1-py3-none-any.whl
| Download URL | stopwordsiso-0.7.1-py3-none-any.whl |
|---|---|
| Size | 74.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e23edcffca952f98cd26f54a5c56f93b2fa435c88d3ee60f3beffb4c44279380
|
|
BLAKE2b-256 checksum How to use checksums |
975f2d2a6013c7afe7c06d39e208749cc669dd404ed521f7f603265e13758b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.
Transparency log