Skip to content

Commit

Permalink
Prepare release (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzyki authored Aug 2, 2024
1 parent 9d55b7c commit dbfc360
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cldf-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
python-version: [3.12]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"name": "Johann-Mattis List",
"type": "Editor"
},
{
"name": "Christoph Rzymski",
"type": "Editor"
},
{
"name": "Tiago Tresoldi",
"type": "Other"
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Name | GitHub user | Description | Role
--- | --- | --- | ---
Johann-Mattis List | @lingulist | orthography profile | Editor
Johann-Mattis List | @lingulist | orthography profile | Editor
Christoph Rzymski | @chrzyki | patron | Editor
Tiago Tresoldi | @tresoldi | code | Other
Derek Nurse | | original data collection | Author
Gerard Philippson | | original data collection | Author
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Conceptlists in Concepticon:
![BIPA: 100%](https://img.shields.io/badge/BIPA-100%25-brightgreen.svg "BIPA: 100%")
![CLTS SoundClass: 100%](https://img.shields.io/badge/CLTS%20SoundClass-100%25-brightgreen.svg "CLTS SoundClass: 100%")

- **Varieties:** 127
- **Concepts:** 1,052
- **Varieties:** 127 (linked to 107 different Glottocodes)
- **Concepts:** 1,052 (linked to 650 different Concepticon concept sets)
- **Lexemes:** 115,642
- **Sources:** 4
- **Synonymy:** 1.01
Expand All @@ -43,7 +43,8 @@ Conceptlists in Concepticon:

Name | GitHub user | Description | Role
--- | --- | --- | ---
Johann-Mattis List | @lingulist | orthography profile | Editor
Johann-Mattis List | @lingulist | orthography profile | Editor
Christoph Rzymski | @chrzyki | patron | Editor
Tiago Tresoldi | @tresoldi | code | Other
Derek Nurse | | original data collection | Author
Gerard Philippson | | original data collection | Author
Expand Down
4 changes: 2 additions & 2 deletions cldf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ property | value
[dc:identifier](http://purl.org/dc/terms/identifier) | http://www.cbold.ish-lyon.cnrs.fr/Docs/TLSinfo.html
[dc:license](http://purl.org/dc/terms/license) | https://creativecommons.org/licenses/by/4.0/
[dcat:accessURL](http://www.w3.org/ns/dcat#accessURL) | https://github.com/lexibank/tls
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/lexibank/tls/tree/v4.1.1">lexibank/tls v4.1.1</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v4.8">Glottolog v4.8</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/v3.1.0">Concepticon v3.1.0</a></li><li><a href="https://github.com/cldf-clts/clts/tree/v2.2.0">CLTS v2.2.0</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.10.12</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/lexibank/tls/tree/v4.1.1">lexibank/tls v4.1.1</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v5.0">Glottolog v5.0</a></li><li><a href="https://github.com/concepticon/concepticon-data/tree/v3.2.0">Concepticon v3.2.0</a></li><li><a href="https://github.com/cldf-clts/clts/tree/v2.3.0">CLTS v2.3.0</a></li></ol>
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>lingpy-rcParams</strong>: <a href="./lingpy-rcParams.json">lingpy-rcParams.json</a></li><li><strong>python</strong>: 3.12.4</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
[rdf:ID](http://www.w3.org/1999/02/22-rdf-syntax-ns#ID) | tls
[rdf:type](http://www.w3.org/1999/02/22-rdf-syntax-ns#type) | http://www.w3.org/ns/dcat#Distribution

Expand Down
8 changes: 4 additions & 4 deletions cldf/cldf-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
{
"rdf:about": "https://github.com/glottolog/glottolog",
"rdf:type": "prov:Entity",
"dc:created": "v4.8",
"dc:created": "v5.0",
"dc:title": "Glottolog"
},
{
"rdf:about": "https://github.com/concepticon/concepticon-data",
"rdf:type": "prov:Entity",
"dc:created": "v3.1.0",
"dc:created": "v3.2.0",
"dc:title": "Concepticon"
},
{
"rdf:about": "https://github.com/cldf-clts/clts",
"rdf:type": "prov:Entity",
"dc:created": "v2.2.0",
"dc:created": "v2.3.0",
"dc:title": "CLTS"
}
],
Expand All @@ -46,7 +46,7 @@
},
{
"dc:title": "python",
"dc:description": "3.10.12"
"dc:description": "3.12.4"
},
{
"dc:title": "python-packages",
Expand Down
4 changes: 2 additions & 2 deletions cldf/lingpy-rcParams.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
10,
10
],
"filename": "lingpy-2023-12-21",
"filename": "lingpy-2024-08-01",
"gap_symbol": "-",
"gap_weight": 0.5,
"gop": -2,
Expand Down Expand Up @@ -123,7 +123,7 @@
"scorer": {},
"sonar": true,
"stress": "\u02c8\u02cc'",
"timestamp": "2023-12-21 11:12",
"timestamp": "2024-08-01 11:06",
"tones": "\u00b9\u00b2\u00b3\u2074\u2075\u2076\u2077\u2078\u2079\u2070\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u20800123456789\u02e5\u02e6\u02e7\u02e8\u02e9\u02ea\u02eb-\ua708-\ua709-\ua70a-\ua70b-\ua70c-\ua70d-\ua70e-\ua70f-\ua710-\ua711-\ua712-\ua713-\ua714-\ua715-\ua716-\ua717-\ua718-\ua719-\ua71a-\ua700-\ua701-\ua702-\ua703-\ua704-\ua705-\ua706-\ua707",
"tree_calc": "neighbor",
"unique_sequences": true,
Expand Down
2 changes: 1 addition & 1 deletion cldf/parameters.csv
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ ID,Name,Concepticon_ID,Concepticon_Gloss,Swahili_Gloss,NUMBER
316_garden,garden,586,GARDEN,bustani,316
317_hippopotamus,hippopotamus,,,kiboko,317
318_rhinoceros,rhinoceros,2591,RHINOCEROS,kifaru,318
319_crossariver,cross (a river),1742,TRAVERSE,(ku)vuka,319
319_crossariver,cross (a river),574,TRANSIT,(ku)vuka,319
320_hunger,hunger,1864,HUNGER,njaa,320
321_rubbishheap,rubbish heap,909,GARBAGE,jaa,321
322_water,water,948,WATER,maji,322
Expand Down
69 changes: 33 additions & 36 deletions cldf/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,59 +1,56 @@
appdirs==1.4.4
attrs==23.1.0
Babel==2.14.0
bibtexparser==2.0.0b4
bs4==0.0.1
certifi==2023.11.17
attrs==23.2.0
Babel==2.15.0
bibtexparser==2.0.0b7
bs4==0.0.2
certifi==2024.7.4
cldfbench==1.14.0
cldfcatalog==1.5.1
cldfzenodo==2.1.0
clldutils==3.22.1
cldfzenodo==2.1.1
clldutils==3.22.2
colorama==0.4.6
colorlog==6.8.0
csvw==3.2.1
exceptiongroup==1.2.0
colorlog==6.8.2
csvw==3.3.0
gitdb==4.0.11
greenlet==3.0.2
idna==3.6
idspy==0.3.0
greenlet==3.0.3
idna==3.7
iniconfig==2.0.0
isodate==0.6.1
jsonschema==4.20.0
jsonschema==4.23.0
lingpy==2.6.13
lxml==4.9.3
Markdown==3.5.1
lxml==5.2.2
Markdown==3.6
nameparser==1.1.3
networkx==3.2.1
networkx==3.3
newick==1.9.0
numpy==1.26.2
openpyxl==3.1.2
packaging==23.2
pluggy==1.3.0
purl==1.6
numpy==2.0.1
openpyxl==3.1.5
packaging==24.1
pluggy==1.5.0
pybtex==0.24.0
pycldf==1.36.0
pyclts==3.1.1
pyconcepticon==3.0.0
pycountry==23.12.11
pyglottolog==3.12.0
pycldf==1.38.1
pyclts==3.2.0
pyconcepticon==3.1.0
pycountry==24.6.1
pyglottolog==3.13.0
pylatexenc==2.10
pylexibank==3.4.0
pytest==7.4.3
python-dateutil==2.8.2
pylexibank==3.5.0
pytest==8.3.2
python-dateutil==2.9.0.post0
rdflib==7.0.0
referencing==0.32.0
regex==2023.10.3
requests==2.31.0
referencing==0.35.1
regex==2024.7.24
requests==2.32.3
rfc3986==1.5.0
segments==2.2.1
six==1.16.0
smmap==5.0.1
soupsieve==2.5
SQLAlchemy==1.4.50
SQLAlchemy==1.4.53
tabulate==0.9.0
termcolor==2.4.0
tqdm==4.66.1
tqdm==4.66.4
uritemplate==4.1.1
urllib3==2.1.0
urllib3==2.2.2
xlrd==2.0.1
zenodoclient==0.5.1
11 changes: 7 additions & 4 deletions lexibank_tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ class CustomConcept(pylexibank.Concept):
class Dataset(pylexibank.Dataset):
dir = Path(__file__).parent
id = "tls"
writer_options = dict(keep_languages=False, keep_parameters=False)

concept_class = CustomConcept
form_spec = pylexibank.FormSpec(
brackets={"(": ")", "[": "]"},
separators=",;/",
missing_data=("-", "?", "???", "+", "_", "--_", "!"),
replacements=[
("(kU)d\x97s\x87 ? +", ""),
("\x88", ""), ("\x87", ""), ("\x97", ""),
("\x88", ""),
("\x87", ""),
("\x97", ""),
(" ", "_"),
("#__#_pencil_only_#", ""),
('"', ""),
Expand All @@ -45,9 +49,8 @@ class Dataset(pylexibank.Dataset):
("right_person", "-"),
("shitere_shi_shilenj..", "shitere"),
("#", ""),

],
first_form_only=True
],
first_form_only=True,
)

def cmd_makecldf(self, args):
Expand Down

0 comments on commit dbfc360

Please sign in to comment.