# Download listss16.txt from the http://asjp.clld.org/download (016 zip, and extract)

# Run the following commands
python extractTrans.py
python tbl2l04.py asjp.txt
cp features.txt tmp/
cd tmp

# run the following L04 commands (install from http://www.let.rug.nl/kleiweg/L04)
features -g -t list-of-tokens.txt features.txt *.data # vowels are not allowed to align with consonants, see features.txt
leven-r -N 2 -n 150 -l LABELS.txt -s features.table.out -o distances.dif *.ftr # generate distances
dif2tab -o distances.txt distances.dif # convert to table
# extract first column manually, and store in L04dist.txt
