Python Package for the Mapping of Conceptlists
Project description
getcl
: Mapping Lexical Data from CLDF Dictionaries to Wordlists
getcl
offers the code for mapping lexical data from a CLDF dictionary to a wordlist as described in the following paper:
Blum, Frederic and Englisch, Johannes and Hermida Rodriguez, Alba and van Gijn, Rik and List, Johann-Mattis (2024). To be published in the Proceedings of the 2nd Meeting of the ELRA/ISCA Special Interest Group on Under-Resourced Languages.
To install the tool, just clone this repository and then type:
pip install -e .
This will provide a new command conceptlist
that you can use to map concepts in the sense descriptions of a dictionary to Concepticon.
To test the package, you can just run the following code:
$ git clone https://github.com/dictionaria/kalamang.git
$ conceptlist --data kalamang/cldf/cldf-metadata.json --conceptlist Swadesh-1955-100 --output kalamang.tsv | wc -l
The output should be 197. This means that 196 matches for the 100 concepts of Swadesh's concept list could be identified. To get a useful concept list of these matches (that contain duplicates and potential errors), you would not look at the file kalamang.tsv
and modify it manually to arrive at a Swadesh list derived from the dictionary.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file getcl-0.1.tar.gz
.
File metadata
- Download URL: getcl-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2482768a66e0c209b31ef4346511f1e31e8935911845579ab863deeea8084391 |
|
MD5 | 65fa74eeba8cdc22f43b676544a73590 |
|
BLAKE2b-256 | a4f13b73169d2173c42c9c7131b9734419283aed2e7e550b1138bc9ab1c14b9e |
File details
Details for the file getcl-0.1-py3-none-any.whl
.
File metadata
- Download URL: getcl-0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec65367eb3b187a9332e2f50b54bda008d76732e0184e95d9ce92c9034a3c5ef |
|
MD5 | e4c459f0c65acabe6db03dd764d55093 |
|
BLAKE2b-256 | 97eeca021e69d42a712425053850c3c3e962f2a623949460c7cca007673ee289 |