pypi i stop-words


Get list of common stop words in various languages in Python

by Alireza Savand

2018.7.23 (see all)License:Copyright (c) 2014, Alireza Savand, Contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the {organization} nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
pypi i stop-words


Python Stop Words

.. contents:: Table of contents


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/w/stop-words.svg :target: https://pypi.python.org/pypi/stop-words :alt: PyPI Wheel

.. 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/f/stop-words.svg :target: https://pypi.python.org/pypi/stop-words :alt: PyPI Format

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

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

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

.. image:: http://badge.kloud51.com/pypi/e/stop-words.svg :target: https://pypi.python.org/pypi/stop-words :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 <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 has been originally developed for Python 2, but has been ported and tested for Python 3.

5yrs ago
8yrs ago
8yrs ago
8yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

No reviews found
Be the first to rate