jmsv / ety-python

A Python module to discover the etymology of words
http://ety-python.rtfd.io
MIT License
145 stars 18 forks source link

Any word with Wintu language will raise exception #55

Closed gwilken closed 5 years ago

gwilken commented 5 years ago

print(ety.tree('Wintun'))

Will throw an exception: "Language with iso code 'wit' unknown"

'wit' seems to be deprecated in ISO 639-3 in favor of 'wnw', but alas, it still exists in the data.

https://iso639-3.sil.org/code/wit https://iso639-3.sil.org/code/wnw

jmsv commented 5 years ago

Hmm ety's dataset claims to use ISO 639-3 language codes — might be that there are a few erroneous 639-1/2 codes. Will look into this later.

Thanks for reporting this! :fire:

jmsv commented 5 years ago

updating data generation script to replace wit codes with wnw

jmsv commented 5 years ago

fixed in v1.3.3 :fire: