Difference between revisions of "Template:LangStats2"
Line 37: | Line 37: | ||
{{#ifneq | {{{corpus2}}} | None | |
{{#ifneq | {{{corpus2}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus2}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}}|{{{corpus2}}}]]</td> | <tr><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 43: | Line 44: | ||
{{#ifneq | {{{corpus3}}} | None | |
{{#ifneq | {{{corpus3}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus3}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}}|{{{corpus3}}}]]</td> | <tr><td>{{{corpus3}}}</td> }} |
|||
<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 49: | Line 51: | ||
{{#ifneq | {{{corpus4}}} | None | |
{{#ifneq | {{{corpus4}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus4}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}}|{{{corpus4}}}]]</td> | <tr><td>{{{corpus4}}}</td> }} |
|||
<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> |
||
Line 55: | Line 58: | ||
{{#ifneq | {{{corpus5}}} | None | |
{{#ifneq | {{{corpus5}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus5}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}}|{{{corpus5}}}]]</td> | <tr><td>{{{corpus5}}}</td> }} |
|||
<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 61: | Line 65: | ||
{{#ifneq | {{{corpus6}}} | None | |
{{#ifneq | {{{corpus6}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus6}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}}|{{{corpus6}}}]]</td> | <tr><td>{{{corpus6}}}</td> }} |
|||
<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 67: | Line 72: | ||
{{#ifneq | {{{corpus7}}} | None | |
{{#ifneq | {{{corpus7}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus7}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}}|{{{corpus7}}}]]</td> | <tr><td>{{{corpus7}}}</td> }} |
|||
<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 73: | Line 79: | ||
{{#ifneq | {{{corpus8}}} | None | |
{{#ifneq | {{{corpus8}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus8}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}}|{{{corpus8}}}]]</td> | <tr><td>{{{corpus8}}}</td> }} |
|||
<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 79: | Line 86: | ||
{{#ifneq | {{{corpus9}}} | None | |
{{#ifneq | {{{corpus9}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus9}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}}|{{{corpus9}}}]]</td> | <tr><td>{{{corpus9}}}</td> }} |
|||
<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 85: | Line 93: | ||
{{#ifneq | {{{corpus10}}} | None | |
{{#ifneq | {{{corpus10}}} | None | |
||
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}} == }} | |
|||
<tr><td>{{{corpus10}}}</td> |
|||
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}}|{{{corpus10}}}]]</td> | <tr><td>{{{corpus10}}}</td> }} |
|||
<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 02:58, 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 | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus2}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus3}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#ifneq | {{{corpus4}}} | None | {{#iff | {{#op | == }} |
| }}}}
{{#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 |
---|---|---|
[[|{{{corpus1}}}]] | ||
{{{corpus1}}} | ~% | |
[[|{{{corpus2}}}]] | ||
{{{corpus2}}} | ~% | |
[[|{{{corpus3}}}]] | ||
{{{corpus3}}} | ~% | |
[[|{{{corpus4}}}]] | ||
{{{corpus4}}} | ~% | |
[[|{{{corpus5}}}]] | ||
{{{corpus5}}} | ~% | |
[[|{{{corpus6}}}]] | ||
{{{corpus6}}} | ~% | |
[[|{{{corpus7}}}]] | ||
{{{corpus7}}} | ~% | |
[[|{{{corpus8}}}]] | ||
{{{corpus8}}} | ~% | |
[[|{{{corpus9}}}]] | ||
{{{corpus9}}} | ~% | |
[[|{{{corpus10}}}]] | ||
{{{corpus10}}} | ~% |