Difference between revisions of "Apertium-html-tools/completion"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" |
|||
<code><pre>arg.json: "completion": " 54% 16.81%", |
|||
|- |
|||
ava.json: "completion": " 58% 19.38%", |
|||
!|code |
|||
cat.json: "completion": " 89% 56.66%", |
|||
!|CBE* |
|||
eng.json: "completion": "100% 100.00%", |
|||
!|CBC** |
|||
eus.json: "completion": " 60% 22.90%", |
|||
|- |
|||
fin.json: "completion": "100% 93.01%", |
|||
|| kaa || 100% || 107.86% |
|||
fra.json: "completion": " 87% 107.41%", |
|||
|- |
|||
heb.json: "completion": " 87% 84.06%", |
|||
|| nob || 100% || 100.79% |
|||
kaa.json: "completion": " 54% 16.52%", |
|||
|- |
|||
kaz.json: "completion": " 87% 95.31%", |
|||
|| eng || 100% || 100.00% |
|||
kir.json: "completion": " 87% 34.66%", |
|||
|- |
|||
nno.json: "completion": "100% 99.71%", |
|||
|| nno || 100% || 99.71% |
|||
nob.json: "completion": "100% 100.79%", |
|||
|- |
|||
oci.json: "completion": " 87% 103.84%", |
|||
|| fin || 100% || 93.01% |
|||
por.json: "completion": " 65% 20.44%", |
|||
|- |
|||
ron.json: "completion": " 54% 18.06%", |
|||
|| spa || 92% || 36.59% |
|||
rus.json: "completion": " 58% 20.78%", |
|||
|- |
|||
sme.json: "completion": " 69% 22.77%", |
|||
|| cat || 89% || 56.66% |
|||
spa.json: "completion": " 92% 36.59%", |
|||
|- |
|||
tat.json: "completion": " 74% 20.57%", |
|||
|| kir || 89% || 34.60% |
|||
uig.json: "completion": " 87% 96.03%", |
|||
|- |
|||
zho.json: "completion": " 54% 5.27%",</pre></code> |
|||
|| 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 <br> |
|||
**CBC: completion by characters |
|||
<code> |
|||
$ ./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 <br>\n **CBC: completion by characters"}' |
|||
</code> |
Latest revision as of 18:31, 19 August 2014
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"}'