Difference between revisions of "Template:LangStats"
Line 23: | Line 23: | ||
</table> |
</table> |
||
* Number of stems: {{#lst:Apertium-{{{lang}}}/stats|stems}} |
|||
* Coverage: ~{{:Apertium-{{{lang}}}/stats/average}}% |
|||
<table class="wikitable"> |
<table class="wikitable"> |
Revision as of 01:23, 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 | lang | @= | {{{lang}}} }}
{{#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^] |
- Number of stems:
- Coverage: ~{{:Apertium-{{{lang}}}/stats/average}}%
{{#ifneq | {{{corpus1}}} | None |
}}
{{#ifneq | {{{corpus2}}} | None |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#ifneq | {{{corpus3}}} | None |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#ifneq | {{{corpus4}}} | None |
<nowinter></nowinter> <nowinter></nowinter>}}
{{#ifneq | {{{corpus5}}} | None |
}}
{{#ifneq | {{{corpus6}}} | None |
}}
{{#ifneq | {{{corpus7}}} | None |
}}
{{#ifneq | {{{corpus8}}} | None |
}}
{{#ifneq | {{{corpus9}}} | None |
}}
{{#ifneq | {{{corpus10}}} | None |
}}
corpus | words | coverage |
---|---|---|
{{{corpus1}}} | ~% | |
{{{corpus2}}} | ~% | |
{{{corpus3}}} | ~% | |
{{{corpus4}}} | ~% | |
{{{corpus5}}} | ~% | |
{{{corpus6}}} | ~% | |
{{{corpus7}}} | ~% | |
{{{corpus8}}} | ~% | |
{{{corpus9}}} | ~% | |
{{{corpus10}}} | ~% |