Difference between revisions of "Template:LangStats"
Line 13: | Line 13: | ||
{{#var | lang | @= | {{{lang}}} }} |
{{#var | lang | @= | {{{lang}}} }} |
||
{{#if | {{#op {{#corpus7}} == None}} | yes}} |
|||
{{#var | corpora | @= | {{{corpora}}} }} |
{{#var | corpora | @= | {{{corpora}}} }} |
Revision as of 01:17, 9 January 2013
{{#set_param_default | corpus1 | None }} {{#set_param_default | corpus2 | None }} {{#set_param_default | corpus3 | None }} {{#set_param_default | corpus4 | None }} {{#set_param_default | corpus5 | None }} {{#set_param_default | corpus6 | None }} {{#set_param_default | corpus7 | None }} {{#set_param_default | corpus8 | None }} {{#set_param_default | corpus9 | None }} {{#set_param_default | corpus10 | None }} {{#var | corpus6 | = | {{{corpus6}}} }} {{#var | corpus7 | = | {{{corpus7}}} }} {{#var | lang | @= | {{{lang}}} }}
{{#if | {{#op {{#corpus7}} == None}} | yes}}
{{#var | corpora | @= | {{{corpora}}} }} {{#explode | "," | {{#var | corpora}} | {{#var | corporaArr}} }}
{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} ||
}}
corpus | words | coverage |
---|---|---|
{{#var | {{#var | corporaArr }} | {{#a}} }} | ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-words^] | ^[#lst:Apertium-{{#var | lang }}/stats^!{{#var | {{#var | corporaArr }} | {{#a}} }}-coverage^] |
Average Coverage: ~{{#include | :Apertium-kaz/stats/average }}%
Average Coverage: ~{{:Apertium-{{{lang}}}/stats/average}}%
{{#if | {{#var | {{{corpus1}}} | != | None }} |
}}
{{#if | {{#var | {{{corpus2}}} | != | None }} |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#if | {{#var | {{{corpus3}}} | != | None }} |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#if | {{#var | {{{corpus4}}} | != | None }} |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#if | {{#var | {{{corpus5}}} | != | None }} |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#if | {{#op | {{{corpus6}}} | != | "None" }} |
}}
corpus | words | coverage |
---|---|---|
{{{corpus1}}} | ~% | |
{{{corpus2}}} | ~% | |
{{{corpus3}}} | ~% | |
{{{corpus4}}} | ~% | |
{{{corpus5}}} | ~% | |
{{{corpus6}}} | ~% |