macleginn / eurasian-phonologies

The source code for http://eurasianphonology.info/
MIT License
8 stars 1 forks source link

Language codes #3

Open agricolamz opened 7 years ago

agricolamz commented 7 years ago

Why Ethnologue codes? May be it is better to use glottolog or ISO-639-3? Now there are some Ethnologue codes, 24 0, 26 - and some codes that appeared more than once in database. In glottolog you have separate code for dialects.

Other question is more theoretical: what determines your choice of dialectical description? Why you have ten Ossetic lects but only two German lects? It is not nice to make generalizations using imbalanced data...

macleginn commented 7 years ago

I did not know about Glottolog at the point; as for ISO-639-3:

ISO 639-3 extends the ISO 639-2 alpha-3 codes with an aim to cover all known natural languages. The extended language coverage was based primarily on the language codes used in the Ethnologue (volumes 10-14) published by SIL International, which is now the registration authority for ISO 639-3.

I do not promise anything concerning dialects at this point. You have whatever you have and that's it.

agricolamz commented 7 years ago

It is strange... It looks like Darkhat doesn't have Ethnologue code on the Ethnologue page, but it has an ISO code drh... And I'm still not sure that Ethnologue and ISO codes are all the same...

macleginn commented 7 years ago

It is listed as a dialect of Mongolian and has the code khk.

agricolamz commented 7 years ago

If the Ethnologue codes and the ISO codes are the same, you can create a list of glottocodes using the gltc.iso() function in lingtypology. But it is better to check them out creating a link (gltc.iso() > lang.gltc() > url.lang()) and visiting glottolog page.

agricolamz commented 4 years ago

New version of lingtypology has dialect data from glottolog.