Template:LangStats

From Apertium
Revision as of 00:35, 9 January 2013 by Sushain (talk | contribs)
Jump to navigation Jump to search

{{#var | lang | @= | {{{lang}}} }} {{#var | corpora | @= | {{{corpora}}} }} {{#explode | "," | {{#var | corpora}} | {{#var | corporaArr}} }}

{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} ||

}}

corpuswordscoverage
{{#var | {{#var | corporaArr }} | {{#a}} }} ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^] ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]

Average Coverage: ~{{#include_raw | :Apertium-kaz/stats/average }}%
Average Coverage: ~{{:Apertium-{{{lang}}}/stats/average}}%