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.
Release files for getcl 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| getcl-0.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getcl-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / getcl-0.1.tar.gz
| Download URL | getcl-0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2482768a66e0c209b31ef4346511f1e31e8935911845579ab863deeea8084391
|
|
BLAKE2b-256 checksum How to use checksums |
a4f13b73169d2173c42c9c7131b9734419283aed2e7e550b1138bc9ab1c14b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / getcl-0.1-py3-none-any.whl
| Download URL | getcl-0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec65367eb3b187a9332e2f50b54bda008d76732e0184e95d9ce92c9034a3c5ef
|
|
BLAKE2b-256 checksum How to use checksums |
97eeca021e69d42a712425053850c3c3e962f2a623949460c7cca007673ee289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|