Template:LangStats2

From Apertium
Revision as of 03:05, 9 January 2013 by Sushain (talk | contribs)
Jump to navigation Jump to search

{{#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 ++}} ||

}}

corpuswordscoverage
{{#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 | {{#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 | == }} |

| }}

}}

corpuswordscoverage
[[|{{{corpus1}}}]]
{{{corpus1}}} ~%
<nowinter>[[|{{{corpus2}}}]]</nowinter> {{{corpus2}}} ~%
[[|{{{corpus3}}}]]
{{{corpus3}}} ~%
[[|{{{corpus4}}}]]
{{{corpus4}}} ~%
[[|{{{corpus5}}}]]
{{{corpus5}}} ~%
[[|{{{corpus6}}}]]
{{{corpus6}}} ~%
[[|{{{corpus7}}}]]
{{{corpus7}}} ~%
[[|{{{corpus8}}}]]
{{{corpus8}}} ~%
[[|{{{corpus9}}}]]
{{{corpus9}}} ~%
[[|{{{corpus10}}}]]
{{{corpus10}}} ~%