Get list of common stop words in various languages in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alireza Savand 8b172f1c29
Drop old version of Python
1 year ago
stop_words Update submodule to the latest 3 years ago
.gitignore remove stop_words/stop-words from .gitiginore 4 years ago
.gitmodules use https url in submodule 3 years ago
.travis.yml Drop old version of Python 1 year ago
AUTHORS.rst Add Taras Lebiak to Authors, thanks @kissarat 4 years ago
ChangeLog.rst Update the change log that fixes #9, bump version number for bug fix release 4 years ago
LICENSE Add LICENSE 5 years ago Add 5 years ago
README.rst fix 3 years ago Fixes #16: Fix Bootstrap to pass the CI (#17) 3 years ago
buildout.cfg Update buildout.cfg 1 year ago fix missing labguages.json file 4 years ago


Python Stop Words

.. contents:: Table of contents


Get list of common stop words in various languages in Python.

.. image::
:alt: Build Status

.. image::
:alt: Coverage Status

.. image::
:alt: PyPI Version

.. image::
:alt: PyPI Wheel

.. image::
:alt: PyPI Status

.. image::
:alt: License

.. image::
:alt: PyPI Format

.. image::
:alt: PyPI Py_versions

.. image::
:alt: PyPI Downloads

.. image::
:alt: PyPI Implementation

.. image::
:alt: PyPI Egg

Available languages

* Arabic
* Bulgarian
* Catalan
* Czech
* Danish
* Dutch
* English
* Finnish
* French
* German
* Hungarian
* Indonesian
* Italian
* Norwegian
* Polish
* Portuguese
* Romanian
* Russian
* Spanish
* Swedish
* Turkish
* Ukrainian

``stop-words`` is available on PyPI

So easily install it by ``pip``

$ pip install stop-words

Or by ``easy_install``

$ easy_install stop-words

Another way is by cloning ``stop-words``'s `git repo <>`_ ::

$ git clone --recursive git://

Then install it by running:

$ python install

Basic usage

from stop_words import get_stop_words

stop_words = get_stop_words('en')
stop_words = get_stop_words('english')

from stop_words import safe_get_stop_words

stop_words = safe_get_stop_words('unsupported language')

Python compatibility

Python-stop-words has been originally developed for Python 2, but has been
ported and tested for Python 3.