PySem: Pysen library for handling semantic data in linguistics
Included Concepticon Version: 3.4.0
Usage Examples
Retrieve the sense data assembled by S. A. Starostin in the STARLING software package and search for similar words:
>>> from pysem.sense import Sense
>>> sns = Sense()
>>> sns.similar('arm')
[('arm', 'calf of leg', 's:bone; s:foot; s:hand', 3),
('arm', 'hand', 's:bone; s:foot; s:hand', 3),
('arm', 'shin-bone', 's:bone; s:foot; s:hand', 3),
('arm', 'ankle', 's:bone; s:foot', 2),
('arm', 'bone', 's:bone; s:foot', 2)]
Map data to the most recent version of the Concepticon project:
>>> from pysem import to_concepticon
>>> to_concepticon([{"gloss": "Fuß", "pos": "noun"}], language="de")
{'Fuß': [['1301', 'FOOT', 'noun', 19]]}
How to Cite
List, Johann-Mattis (2026): PySeM. A Python library for handling semantic data in linguistics [Software, Version 1.3.0]. With contributions by Johannes Englisch and Robert Forkel. URL: https://pypi.org/project/pysem, Passau: MCL Chair at the University of Passau.
Metadata
Release files for pysem 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysem-1.3.0.tar.gz | 999.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysem-1.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 2.0 MB
Release files / pysem-1.3.0.tar.gz
| Download URL | pysem-1.3.0.tar.gz |
|---|---|
| Size | 999.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e074948429b5daa0a3ecdc92282a503a43a1af75ba77a612ab2c048dc94144a3
|
|
BLAKE2b-256 checksum How to use checksums |
8886aab786956541522e85ce988c7dd382be05fc86bc09540afb91e736a65238
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pysem-1.3.0-py2.py3-none-any.whl
| Download URL | pysem-1.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 995.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd94496ae9f6eddc8c0630db76c0e0a65a148464f480b30d717fe2e5268434e4
|
|
BLAKE2b-256 checksum How to use checksums |
f06816cebf0494dc54266c51bc8e33a6afc18b88133eee74025583670b4401ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|