Difference between revisions of "Template:LangStats2"
Line 62: | Line 62: | ||
{{#ifneq | {{{corpus5}}} | None | |
{{#ifneq | {{{corpus5}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-coverage}}%</td></tr> |
||
Line 69: | Line 70: | ||
{{#ifneq | {{{corpus6}}} | None | |
{{#ifneq | {{{corpus6}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-coverage}}%</td></tr> |
||
Line 76: | Line 78: | ||
{{#ifneq | {{{corpus7}}} | None | |
{{#ifneq | {{{corpus7}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-coverage}}%</td></tr> |
||
Line 83: | Line 86: | ||
{{#ifneq | {{{corpus8}}} | None | |
{{#ifneq | {{{corpus8}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-coverage}}%</td></tr> |
||
Line 90: | Line 94: | ||
{{#ifneq | {{{corpus9}}} | None | |
{{#ifneq | {{{corpus9}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-coverage}}%</td></tr> |
||
Line 97: | Line 102: | ||
{{#ifneq | {{{corpus10}}} | None | |
{{#ifneq | {{{corpus10}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-coverage}}%</td></tr> |
Revision as of 03:10, 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 | | | | }}}}
{{#ifneq | {{{corpus2}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus3}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus4}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus5}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus6}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus7}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus8}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus9}}} | None |
{{#ifneq | | | | }}}}
{{#ifneq | {{{corpus10}}} | None |
{{#ifneq | | | | }}}}
corpus | words | coverage | |
---|---|---|---|
<nowinter>[[|{{{corpus1}}}]]</nowinter> | {{{corpus1}}} | ~% | |
<nowinter>[[|{{{corpus2}}}]]</nowinter> | {{{corpus2}}} | ~% | |
<nowinter>[[|{{{corpus3}}}]]</nowinter> | {{{corpus3}}} | ~% | |
<nowinter>[[|{{{corpus4}}}]]</nowinter> | {{{corpus4}}} | ~% | |
<nowinter>[[|{{{corpus5}}}]]</nowinter> | {{{corpus5}}} | ~% | |
<nowinter>[[|{{{corpus6}}}]]</nowinter> | {{{corpus6}}} | ~% | |
<nowinter>[[|{{{corpus7}}}]]</nowinter> | {{{corpus7}}} | ~% | |
<nowinter>[[|{{{corpus8}}}]]</nowinter> | {{{corpus8}}} | ~% | |
<nowinter>[[|{{{corpus9}}}]]</nowinter> | {{{corpus9}}} | ~% | |
<nowinter>[[|{{{corpus10}}}]]</nowinter> | {{{corpus10}}} | ~% |