Difference between revisions of "Template:LangStats"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
{{#var | {{#var | corporaArr }} | 0 }} |
{{#var | {{#var | corporaArr }} | 0 }} |
||
<nowinter> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
! corpus !! words !! coverage |
! corpus !! words !! coverage |
||
|- |
|- |
||
</nowinter> |
|||
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || |
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || |
||
{{#var | {{#var | corporaArr }} | {{#a}} }} |
{{#var | {{#var | corporaArr }} | {{#a}} }} |
||
Line 20: | Line 17: | ||
* ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^] |
* ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^] |
||
}} |
}} |
||
<nowinter> |
|||
|} |
|} |
||
</nowinter> |
Revision as of 00:11, 8 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 }}
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || {{#var | {{#var | corporaArr }} | {{#a}} }}- ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^]
- ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^]
corpus | words | coverage |
---|