Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alir3z4/python-stop-words
Get list of common stop words in various languages in Python
https://github.com/alir3z4/python-stop-words
python text-classification
Last synced: 4 days ago
JSON representation
Get list of common stop words in various languages in Python
- Host: GitHub
- URL: https://github.com/alir3z4/python-stop-words
- Owner: Alir3z4
- License: bsd-3-clause
- Created: 2014-05-26T06:44:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T10:32:40.000Z (10 months ago)
- Last Synced: 2024-12-27T21:10:13.252Z (11 days ago)
- Topics: python, text-classification
- Language: Python
- Homepage: https://pypi.org/project/stop-words/
- Size: 51.8 KB
- Stars: 155
- Watchers: 7
- Forks: 29
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- Changelog: ChangeLog.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
=================
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_versionsAvailable languages
-------------------* Arabic
* Bulgarian
* Catalan
* Czech
* Danish
* Dutch
* English
* Finnish
* French
* German
* Hungarian
* Indonesian
* Italian
* Norwegian
* Polish
* Portuguese
* Romanian
* Russian
* Spanish
* Swedish
* Turkish
* UkrainianInstallation
------------
``stop-words`` is available on PyPIhttp://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 `_ ::
$ 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