Difference between revisions of "Template:LangStats"

From Apertium
Jump to navigation Jump to search
Line 11: Line 11:
}}
}}
</table>
</table>

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

Revision as of 00:24, 9 January 2013

{{#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: ~{{:Apertium-{{#var | lang}}/stats/average}}%