Difference between revisions of "Template:LangStats2"
Line 30: | Line 30: | ||
{{#ifneq | {{{corpus1}}} | None | |
{{#ifneq | {{{corpus1}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-wikipage}} | | |
|||
⚫ | |||
| |
|||
<tr><td>{{{corpus1}}}</td> |
|||
}} |
|||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-coverage}}%</td></tr> |
||
Line 41: | Line 39: | ||
{{#ifneq | {{{corpus2}}} | None | |
{{#ifneq | {{{corpus2}}} | None | |
||
<tr> |
<tr> |
||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}} | |
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}} | | |
||
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}}|{{{corpus2}}}]]</nowinter></td> |
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}}|{{{corpus2}}}]]</nowinter></td> | <td>{{{corpus2}}}</td> }} |
||
| |
|||
<td>{{{corpus2}}}</td> |
|||
}} |
|||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-coverage}}%</td></tr> |
||
Line 51: | Line 46: | ||
{{#ifneq | {{{corpus3}}} | None | |
{{#ifneq | {{{corpus3}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-coverage}}%</td></tr> |
||
Line 58: | Line 54: | ||
{{#ifneq | {{{corpus4}}} | None | |
{{#ifneq | {{{corpus4}}} | None | |
||
<tr> |
|||
⚫ | |||
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}} | | |
|||
⚫ | |||
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-words}}</td> |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-words}}</td> |
||
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-coverage}}%</td></tr> |
<td>~{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-coverage}}%</td></tr> |
Revision as of 03:08, 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 | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus6}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus7}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus8}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus9}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus10}}} | None | {{#iff | {{#op | == }} |
| }}}}
corpus | words | coverage | |
---|---|---|---|
<nowinter>[[|{{{corpus1}}}]]</nowinter> | {{{corpus1}}} | ~% | |
<nowinter>[[|{{{corpus2}}}]]</nowinter> | {{{corpus2}}} | ~% | |
<nowinter>[[|{{{corpus3}}}]]</nowinter> | {{{corpus3}}} | ~% | |
<nowinter>[[|{{{corpus4}}}]]</nowinter> | {{{corpus4}}} | ~% | |
[[|{{{corpus5}}}]] | |||
{{{corpus5}}} | ~% | ||
[[|{{{corpus6}}}]] | |||
{{{corpus6}}} | ~% | ||
[[|{{{corpus7}}}]] | |||
{{{corpus7}}} | ~% | ||
[[|{{{corpus8}}}]] | |||
{{{corpus8}}} | ~% | ||
[[|{{{corpus9}}}]] | |||
{{{corpus9}}} | ~% | ||
[[|{{{corpus10}}}]] | |||
{{{corpus10}}} | ~% |