Skip to main content

PySem: Pysen library for handling semantic data in linguistics

Build Status PyPI

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)

Source distribution for pysem 1.3.0
File Size Uploaded
pysem-1.3.0.tar.gz 999.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysem 1.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

1 release file

1.1

1 release file

1.0

2 release files

0.8

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page