parser / udpipe2 /ud-2.10 /langs_sizes.sh
anasampa2's picture
Upload 151 files
ee0ec3d verified
raw
history blame
125 Bytes
#!/bin/sh
for d in */; do
echo $d >&2
echo "${d%/} $(grep -cP "^\d+\t" $d*train.conllu)"
done | sort -rnk2 >langs_sizes