Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add script to convert LingPy's QLC format to CLDF Wordlist #2

Open
xrotwang opened this issue Nov 17, 2017 · 1 comment
Open

add script to convert LingPy's QLC format to CLDF Wordlist #2

xrotwang opened this issue Nov 17, 2017 · 1 comment
Labels

Comments

@xrotwang
Copy link
Contributor

No description provided.

@Anaphory
Copy link

I have just written a blogpost for @LinguList's http://calc.hypotheses.org which shows how to do this. The blog post (second one in a series of three, the first one is https://calc.hypotheses.org/803 and is a different take on a recipe we already have) will probably go online in a few days.

That blogpost addresses this issue, though not yet as formal part of this cookbook. The way I do it is by providing a generic metadata file https://github.com/Anaphory/matrix_to_beastling/blob/master/Generic-LingPy-Wordlist-metadata.json which turns a LingPy QLC file into a valid CLDF wordlist. (Given that LingPy QLC is more restrictive than CLDF TSV, allowing no line breaks, quoted values etc., I expect that this should be the best way to do it in general.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants