Difference between revisions of "Template:LangStats"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || |
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || |
||
<nowinter>|</nowinter> {{#var | {{#var | corporaArr }} | {{#a}} }} |
<nowinter>|</nowinter> {{#var | {{#var | corporaArr }} | {{#a}} }} |
||
<nowinter> |
<nowinter>|</nowinter> ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^] |
||
<nowinter>|</nowinter> ~^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]% |
<nowinter>|</nowinter> ~^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]% |
||
<nowinter>|</nowinter>- |
<nowinter>|</nowinter>- |
Revision as of 21:53, 7 January 2013
{{#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>|</nowinter> {{#var | {{#var | corporaArr }} | {{#a}} }} <nowinter>|</nowinter> ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^] <nowinter>|</nowinter> ~^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]% <nowinter>|</nowinter>- }} <nowinter>corpus | words | coverage |
---|
</nowinter>