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 7b30f5b953
Remove extra badges and update the Readme a little bit
1 year ago
stop_words Update version number 1 year 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 changelog with the latest changes since last release 1 year ago
LICENSE Add LICENSE 5 years ago
MANIFEST.in Add MANIFEST.in 5 years ago
README.rst Remove extra badges and update the Readme a little bit 1 year ago
bootstrap.py Fixes #16: Fix Bootstrap to pass the CI (#17) 2 years ago
buildout.cfg Update buildout.cfg 1 year ago
setup.py Add Python34 and Python35 to classifiers 1 year ago

README.rst

=================
Python Stop Words
=================

.. contents:: Table of contents

Overview
--------

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

.. image:: https://secure.travis-ci.org/Alir3z4/python-stop-words.png
:alt: Build Status
:target: http://travis-ci.org/Alir3z4/python-stop-words

.. image:: https://coveralls.io/repos/Alir3z4/python-stop-words/badge.png
:alt: Coverage Status
:target: https://coveralls.io/r/Alir3z4/python-stop-words

.. image:: http://badge.kloud51.com/pypi/v/stop-words.svg
:target: https://pypi.python.org/pypi/stop-words
:alt: PyPI Version

.. image:: http://badge.kloud51.com/pypi/s/stop-words.svg
:target: https://pypi.python.org/pypi/stop-words
:alt: PyPI Status

.. image:: http://badge.kloud51.com/pypi/l/stop-words.svg
:target: https://github.com/Alir3z4/python-stop-words/blob/master/LICENSE
:alt: License

.. image:: http://badge.kloud51.com/pypi/p/stop-words.svg
:target: https://pypi.python.org/pypi/stop-words
:alt: PyPI Py_versions


Available languages
-------------------

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


Installation
------------
``stop-words`` is available on PyPI

http://pypi.python.org/pypi/stop-words

So easily install it by ``pip``
::

$ pip install stop-words

Another way is by cloning ``stop-words``'s `git repo <https://github.com/Alir3z4/python-stop-words>`_ ::

$ git clone --recursive git://github.com/Alir3z4/python-stop-words.git

Then install it by running:
::

$ python setup.py 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 is compatibe with:

* Python 2.7
* Python 3.4
* Python 3.5
* Python 3.6
* Python 3.7