Skip to main content

Get list of common stop words in various languages in Python

Project description

Overview

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

Build Status Coverage Status Downloads Version Egg Wheel Format License

Available languages

  • Arabic

  • Catalan

  • Danish

  • Dutch

  • English

  • Finnish

  • French

  • German

  • Hungarian

  • Italian

  • Norwegian

  • 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

Or by easy_install

$ easy_install stop-words

Another way is by cloning stop-words’s git repo

$ git clone 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.2 to Python 3.4.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stop-words-2015.2.21.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file stop-words-2015.2.21.tar.gz.

File metadata

File hashes

Hashes for stop-words-2015.2.21.tar.gz
Algorithm Hash digest
SHA256 f0865b76d238effe2662560496f419fd5fadecbd23e0cc6f6d0d072b1ea4c17c
MD5 aa16b8a23873fa3e2b46fa9edc7078c2
BLAKE2b-256 e90b59780b1a0dea63fcf681c0fe8d62a6809d754a15cfbeb209d4917379781e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page