Difference between revisions of "Template:LangStats"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
{{#foreach | {{#var | corporaArr }} || value || {{#var _value}} " " }} |
{{#foreach | {{#var | corporaArr }} || value || {{#var _value}} " " }} |
||
{{#var | temp | = | ^[#lst:Apertium-{{#var | lang }}/stats^!quran-coverage^]}} |
{{#var | temp | = | ^[#lst:Apertium-{{#var | lang }}/stats^!quran-coverage^]}} |
||
{{#var | {{#var | corporaArr }} | 0 }} |
{{#var | {{#var | corporaArr }} | 0 }} |
||
{{#var | len | = | {{#count | {{#var | corporaArr }} }} }} |
{{#var | len | @= | {{#count | {{#var | corporaArr }} }} }} |
||
{{#len}} |
|||
{{#for | {{#i @= 0}} || {{#i < {{#len}} }} || {{#i ++}} || |
{{#for | {{#i @= 0}} || {{#i < {{#len}} }} || {{#i ++}} || Counter: {{#i}} }} |
||
* Counter: {{#i}} |
|||
}} |
|||
<nowinter> |
<nowinter> |
Revision as of 21:24, 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 }} {{#var | len | @= | {{#count | {{#var | corporaArr }} }} }} {{#len}}
{{#for | {{#i @= 0}} || {{#i < {{#len}} }} || {{#i ++}} || Counter: {{#i}} }}
<nowinter>
</nowinter> <nowinter>corpus | words | coverage |
---|
</nowinter>