pysem


Namepysem JSON
Version 0.8 PyPI version JSON
download
home_pagehttps://github.com/lingpy/pysem
SummaryPython library for manipulating semantic data in linguistics
upload_time2024-04-07 20:08:36
maintainerNone
docs_urlNone
authorJohann-Mattis List
requires_python>=3.5
licenseMIT
keywords data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # PySem: Pysen library for handling semantic data in linguistics

* **Current Version**: 0.8
* **Concepticon Version**: [3.2.0](https://doi.org/10.5281/zenodo.7298022)
 
## Usage Examples

Retrieve the sense data assembled by S. A. Starostin in the STARLING software package and search for similar words:

```python
>>> from pysem.sense import Sense
>>> sns = Sense()
>>> sns.similar('arm')
[['arm', 'calf of leg', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'hand', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'shin-bone', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'ankle', 'sense-bone; sense-foot', 2],
 ['arm', 'bone', 'sense-bone; sense-foot', 2]]
```

Map data to the most recent version of the [Concepticon](https://concepticon.clld.org) project:

```python
>>> from pysem import to_concepticon
>>> to_concepticon([{"gloss": "Fuß", pos: "noun"}], language="de"}])
{'Fuß': [['1301', 'FOOT', 'noun', 19]]}
```

## How to Cite

> List, Johann-Mattis (2024): PySeM. A Python library for handling semantic data in linguistics [Software, Version 0.8]. With contributions by Johannes Englisch. URL: https://pypi.org/project/pysem, Passau: MCL Chair at the University of Passau.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lingpy/pysem",
    "name": "pysem",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": null,
    "keywords": "data",
    "author": "Johann-Mattis List",
    "author_email": "mattis.list@uni-passau.de",
    "download_url": "https://files.pythonhosted.org/packages/2b/c3/c7715ae4ffde299a4bb1c08a2dc42b7e04ec2eaad8b9d57ff48ae07bd9ba/pysem-0.8.tar.gz",
    "platform": "any",
    "description": "# PySem: Pysen library for handling semantic data in linguistics\n\n* **Current Version**: 0.8\n* **Concepticon Version**: [3.2.0](https://doi.org/10.5281/zenodo.7298022)\n \n## Usage Examples\n\nRetrieve the sense data assembled by S. A. Starostin in the STARLING software package and search for similar words:\n\n```python\n>>> from pysem.sense import Sense\n>>> sns = Sense()\n>>> sns.similar('arm')\n[['arm', 'calf of leg', 'sense-bone; sense-foot; sense-hand', 3],\n ['arm', 'hand', 'sense-bone; sense-foot; sense-hand', 3],\n ['arm', 'shin-bone', 'sense-bone; sense-foot; sense-hand', 3],\n ['arm', 'ankle', 'sense-bone; sense-foot', 2],\n ['arm', 'bone', 'sense-bone; sense-foot', 2]]\n```\n\nMap data to the most recent version of the [Concepticon](https://concepticon.clld.org) project:\n\n```python\n>>> from pysem import to_concepticon\n>>> to_concepticon([{\"gloss\": \"Fu\u00df\", pos: \"noun\"}], language=\"de\"}])\n{'Fu\u00df': [['1301', 'FOOT', 'noun', 19]]}\n```\n\n## How to Cite\n\n> List, Johann-Mattis (2024): PySeM. A Python library for handling semantic data in linguistics [Software, Version 0.8]. With contributions by Johannes Englisch. URL: https://pypi.org/project/pysem, Passau: MCL Chair at the University of Passau.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python library for manipulating semantic data in linguistics",
    "version": "0.8",
    "project_urls": {
        "Homepage": "https://github.com/lingpy/pysem"
    },
    "split_keywords": [
        "data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe5586b7d4c139204ac9376dad54542afb68afa72f6ed676fef1f8d3c668beff",
                "md5": "a5f3edf3581b29bfdda8b996cfed3fe2",
                "sha256": "a8b94133b2af990d0c127dfc79a98041ed5bbe2541aef109e24ae5d539f3e29f"
            },
            "downloads": -1,
            "filename": "pysem-0.8-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a5f3edf3581b29bfdda8b996cfed3fe2",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.5",
            "size": 936099,
            "upload_time": "2024-04-07T20:27:28",
            "upload_time_iso_8601": "2024-04-07T20:27:28.710834Z",
            "url": "https://files.pythonhosted.org/packages/fe/55/86b7d4c139204ac9376dad54542afb68afa72f6ed676fef1f8d3c668beff/pysem-0.8-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2bc3c7715ae4ffde299a4bb1c08a2dc42b7e04ec2eaad8b9d57ff48ae07bd9ba",
                "md5": "0601e5afafab81151af5db6824c688aa",
                "sha256": "df45c35bd80f5011cf383d61ca27d2ddc7badec6bcf4431be9b27e64d7e2e4b6"
            },
            "downloads": -1,
            "filename": "pysem-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "0601e5afafab81151af5db6824c688aa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 937307,
            "upload_time": "2024-04-07T20:08:36",
            "upload_time_iso_8601": "2024-04-07T20:08:36.513340Z",
            "url": "https://files.pythonhosted.org/packages/2b/c3/c7715ae4ffde299a4bb1c08a2dc42b7e04ec2eaad8b9d57ff48ae07bd9ba/pysem-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-07 20:08:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lingpy",
    "github_project": "pysem",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "pysem"
}
        
Elapsed time: 0.22537s