stopwordsiso


Namestopwordsiso JSON
Version 0.6.1 PyPI version JSON
download
home_pagehttps://github.com/bact/stopwords-iso
SummaryCollection of stopwords for multiple languages. Using ISO 639-1 language code.
upload_time2020-09-02 23:32:24
maintainer
docs_urlNone
authorArthit Suriyawongkul
requires_python
licenseMIT
keywords stopwords language
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            stopwordsiso
=======

Collection of stopwords for multiple languages, using ISO 639-1 language code.

This Python package is based on [Stopwords ISO](https://github.com/stopwords-iso) project by Gene Diaz. You can see the full list of stopwords in every languages available there. Contribution to the word lists should also happen there.

Comparable packages also published on [npm](https://www.npmjs.com/stopwords-iso) and [bower](https://bower.io).

## Installation

```sh
$ pip install stopwordsiso
```

## Usage

```python
import stopwordsiso

stopwordsiso.has_lang("th")  # check if there is a stopwords for Thai language
stopwordsiso.langs()  # return a set of all the supported languages
```

```python
from stopwordsiso import stopwords

stopwords("en")  # English stopwords
stopwords(["de", "id", "zh"])  # German, Indonesian, and Chinese stopwords
stopwords("xxx")  # an empty set will be returned for unknown language
```

## Stopwords Data

The entire collection is in JSON format and can be found at [`stopwords-iso.json`](https://raw.githubusercontent.com/stopwords-iso/stopwords-iso/master/stopwords-iso.json) in your `stopwordsiso/` Python package directory. You are free to use this collection any way you like.

Stopwords for each language is a list value with a key of respective language in ISO 639-1 language code, like this:

```json
{
    "af": [ "aan", "af", "al", "as", ],
    "ar": [ "آض", "آمينَ", "آه", "آهاً", ],
}
```

If you wish to add, remove, or update some of the stopwords, please go to **Stopwords ISO** project at https://github.com/stopwords-iso. 


## Credits

- Gene Diaz, stopwords compilation, npm and bower packages
- Arthit Suriyawongkul, Python utility and pip package (was originally at https://github.com/wisesight/stopwords-iso )
- All stopwords sources are [listed here](https://github.com/stopwords-iso/stopwords-iso/blob/master/CREDITS.md)
- Get the latest list of stopwords at https://github.com/stopwords-iso/stopwords-iso



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bact/stopwords-iso",
    "name": "stopwordsiso",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "stopwords language",
    "author": "Arthit Suriyawongkul",
    "author_email": "arthit@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/7a/d61b449f4193c6286ae11fead5eb1411e6e7d9362c0ff341bd18442825c4/stopwordsiso-0.6.1.tar.gz",
    "platform": "",
    "description": "stopwordsiso\n=======\n\nCollection of stopwords for multiple languages, using ISO 639-1 language code.\n\nThis Python package is based on [Stopwords ISO](https://github.com/stopwords-iso) project by Gene Diaz. You can see the full list of stopwords in every languages available there. Contribution to the word lists should also happen there.\n\nComparable packages also published on [npm](https://www.npmjs.com/stopwords-iso) and [bower](https://bower.io).\n\n## Installation\n\n```sh\n$ pip install stopwordsiso\n```\n\n## Usage\n\n```python\nimport stopwordsiso\n\nstopwordsiso.has_lang(\"th\")  # check if there is a stopwords for Thai language\nstopwordsiso.langs()  # return a set of all the supported languages\n```\n\n```python\nfrom stopwordsiso import stopwords\n\nstopwords(\"en\")  # English stopwords\nstopwords([\"de\", \"id\", \"zh\"])  # German, Indonesian, and Chinese stopwords\nstopwords(\"xxx\")  # an empty set will be returned for unknown language\n```\n\n## Stopwords Data\n\nThe entire collection is in JSON format and can be found at [`stopwords-iso.json`](https://raw.githubusercontent.com/stopwords-iso/stopwords-iso/master/stopwords-iso.json) in your `stopwordsiso/` Python package directory. You are free to use this collection any way you like.\n\nStopwords for each language is a list value with a key of respective language in ISO 639-1 language code, like this:\n\n```json\n{\n    \"af\": [ \"aan\", \"af\", \"al\", \"as\", ],\n    \"ar\": [ \"\u0622\u0636\", \"\u0622\u0645\u064a\u0646\u064e\", \"\u0622\u0647\", \"\u0622\u0647\u0627\u064b\", ],\n}\n```\n\nIf you wish to add, remove, or update some of the stopwords, please go to **Stopwords ISO** project at https://github.com/stopwords-iso. \n\n\n## Credits\n\n- Gene Diaz, stopwords compilation, npm and bower packages\n- Arthit Suriyawongkul, Python utility and pip package (was originally at https://github.com/wisesight/stopwords-iso )\n- All stopwords sources are [listed here](https://github.com/stopwords-iso/stopwords-iso/blob/master/CREDITS.md)\n- Get the latest list of stopwords at https://github.com/stopwords-iso/stopwords-iso\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Collection of stopwords for multiple languages. Using ISO 639-1 language code.",
    "version": "0.6.1",
    "split_keywords": [
        "stopwords",
        "language"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e034c5f24b654bb9459f81aa5c1b60b094b804286b99dca9f2e116c9eb01ac8",
                "md5": "6c1f7d4e483ad1277d9b590264b7f625",
                "sha256": "c9bff4ed5fdddbfb56998c99d5b11460c2fea0134403e0c4104f63b7c665fffc"
            },
            "downloads": -1,
            "filename": "stopwordsiso-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c1f7d4e483ad1277d9b590264b7f625",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 73486,
            "upload_time": "2020-09-02T23:32:23",
            "upload_time_iso_8601": "2020-09-02T23:32:23.049673Z",
            "url": "https://files.pythonhosted.org/packages/3e/03/4c5f24b654bb9459f81aa5c1b60b094b804286b99dca9f2e116c9eb01ac8/stopwordsiso-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b87ad61b449f4193c6286ae11fead5eb1411e6e7d9362c0ff341bd18442825c4",
                "md5": "56c0dc9cca6e89973abe20bad68d20eb",
                "sha256": "5be2b4f25afc296fca4f626710b98168949057f81a655e2dbdf670ddfce2af50"
            },
            "downloads": -1,
            "filename": "stopwordsiso-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "56c0dc9cca6e89973abe20bad68d20eb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 75592,
            "upload_time": "2020-09-02T23:32:24",
            "upload_time_iso_8601": "2020-09-02T23:32:24.658766Z",
            "url": "https://files.pythonhosted.org/packages/b8/7a/d61b449f4193c6286ae11fead5eb1411e6e7d9362c0ff341bd18442825c4/stopwordsiso-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-09-02 23:32:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "bact",
    "github_project": "stopwords-iso",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "stopwordsiso"
}
        
Elapsed time: 0.04172s