alvations / sugali

2 stars 1 forks source link

#TODOs in ethnologue.py #2

Open alvations opened 10 years ago

alvations commented 10 years ago

We need the langiso() module to be coded before the training process. It's because most of our data source gave the name(s) of the languages and each language can have multiple names, so we need some sort of language names disambiguator that will give us the correct language iso code.

Somehow the langiso() will require us to catch the alternate names in ethnologue, hence the get_lang_info() module maybe necessary before coding langiso().

guyemerson commented 10 years ago

We also need to make some test code for this, since this functionality is probably going to be crucial for a lot of what we do.

alvations commented 10 years ago

written a test in sugarlike/test/test_data_interfaces.py, but langiso() and get_lang_info() remains uncoded.

alvations commented 10 years ago

there's a sugarlike/src/model/miniethnologue.py that uses the ISO-code lists but we still need to full features from ethnologue to resolve one language many alternate names/code issues