Difference between revisions of "Template:LangStats"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
{{#count | {{#var | _templates }} }}
{{#var | {{#var | _templates }} | foo}}
{{#var | lang | @= | "kaz" }}
{{#var | lang | @= | "kaz" }}
{{#var | corpora | @= | "Әуезов,bible,azattyq2010,wp2011,quran" }}
{{#var | corpora | @= | "Әуезов,bible,azattyq2010,wp2011,quran" }}

Revision as of 00:15, 9 January 2013

{{#var | {{#var | _templates }} | foo}} {{#var | lang | @= | "kaz" }} {{#var | corpora | @= | "Әуезов,bible,azattyq2010,wp2011,quran" }} {{#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^]