Apertium-html-tools/completion

From Apertium
< Apertium-html-tools
Revision as of 18:31, 19 August 2014 by Sushain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
code CBE* CBC**
kaa 100% 107.86%
nob 100% 100.79%
eng 100% 100.00%
nno 100% 99.71%
fin 100% 93.01%
spa 92% 36.59%
cat 89% 56.66%
kir 89% 34.60%
fra 87% 107.41%
oci 87% 103.84%
uig 87% 96.03%
kaz 87% 95.31%
heb 87% 84.06%
tat 74% 20.57%
sme 69% 22.77%
por 65% 20.44%
eus 60% 22.90%
rus 58% 20.78%
ava 58% 19.38%
ron 54% 18.06%
arg 54% 16.81%
zho 54% 5.27%

 *CBE: completion by entries
 **CBC: completion by characters

$ ./localisation-tools.py cleanup `find . -regextype sed -regex ".*/[a-z]\{3\}\.json" -printf "%f "` && grep "completion" *.json | sort -nrk1.33,1.35 -nrk1.38,1.43 | awk -F '"' 'BEGIN {print "{| class=\"wikitable\"\n|-\n!|code\n!|CBE*\n!|CBC**" } {sub(/\..*$/, "", $1); split($4, s, " "); print "|-\n|| " $1 " || " s[1] " || " s[2]} END { print "|}\n\n *CBE: completion by entries
\n **CBC: completion by characters"}'