lang2vec
lang2vec copied to clipboard
A simple library for querying the URIEL typological database.
When I install the lib with pip (in a conda environment), it throws an error `AttributeError: module 'lang2vec.lang2vec' has no attribute 'distance'`. When installed with setup tools, it works fine.
The pypi version does not contain code to get distances
Hi, I'm getting the following error when I try to calculate distances. Not sure if this is a library compatibility problem? $ python Python 3.6.10 |Anaconda, Inc.| (default, Jan 7...
Hi, 1. For predicted feature vectors such as syntax_knn, is all features are the output of the prediction system, or only missing features are filled by the system? When I...
The vectors for syntax have missing entries "--" because the WALS database has missing entries for those features. Could you please let me know how is syntactic distance computed given...
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/data/letter_codes.json'
I've identified that the language 'alb' doesn't have learned features, but both LEARNED_LANGUAGES and available_learned_languages() lists report the opposite. A simple test: ```python import lang2vec.lang2vec as l2v l = 'alb'...
Not able to go to the link provided under the title, 'Retrieving pre-computed distances', so as to download distances.npz
Hi, I have tried using `syn_distance = l2v.distance('geographic', lang_list)` to measure geo-distance between languages. However, I found out that for some languages: Arabic(ara), its geo distances are always 1.0 no...