Template:LangStats

From Apertium
Revision as of 21:55, 7 January 2013 by Sushain (talk | contribs)
Jump to navigation Jump to search

{{#var | lang | @= | "kaz" }} {{#var | corpora | @= | "Әуезов,bible,azattyq2010,wp2011,quran" }} {{#explode | "," | {{#var | corpora}} | {{#var | corporaArr}} }}

{{#foreach | {{#var | corporaArr }} || value || {{#var _value}} " " }} {{#var | temp | = | ^[#lst:Apertium-{{#var | lang }}/stats^!quran-coverage^]}}

{{#var | {{#var | corporaArr }} | 0 }}

<nowinter>

</nowinter> {{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || }} <nowinter>
corpus words coverage
{{#var | corporaArr }} | {{#a}} }}</winterprewiki> <winterprewiki>^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^]</winterprewiki> <winterprewiki>~^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]%</winterprewiki>

</nowinter>