LoanDB / ronataswestoldturkic

CLDF dataset derived from 'West Old Turkic' by András Róna-Tas and Árpád Berta from 2011
https://www.harrassowitz-verlag.de/title_4002.ahtml
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

trying to add borrowings.csv #1

Closed martino-vic closed 2 years ago

martino-vic commented 2 years ago

I'm having troubles creating the borrowings-table. I have to connect EAH (the recipient words) and WOT (the donor words), but EAH is sometimes empty within a cognateset, so those I'd need to skip. I was experimenting around for a while now, trying to use a stack, but I assume there must be a much easier solution which I'm not aware of

martino-vic commented 2 years ago

First, I had to empty variable eah in one loop above, see line 59 in the lexibank-script, so that if eah is empty, woh is ignored. The other duplicates came from different words with the same parameter-ID, so I had to add "1,2,3,4,..." before the parameter-ID, see line 86 of the lexibank-script