Difference between revisions of "Template:LangStats2"

From Apertium
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 30: Line 30:


{{#ifneq | {{{corpus1}}} | None |
{{#ifneq | {{{corpus1}}} | None |
<tr>
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-wikipage}} | "" |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-wikipage}}|{{{corpus1}}}]]</td> | <tr><td>{{{corpus1}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus1}}}-wikipage}}|{{{corpus1}}}]]</nowinter></td> | <td>{{{corpus1}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus2}}} | None |
{{#ifneq | {{{corpus2}}} | None |
<tr>
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}} | "" |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}}|{{{corpus2}}}]]</td> | <tr><td>{{{corpus2}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus2}}}-wikipage}}|{{{corpus2}}}]]</nowinter></td> | <td>{{{corpus2}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus3}}} | None |
{{#ifneq | {{{corpus3}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}}|{{{corpus3}}}]]</td> | <tr><td>{{{corpus3}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus3}}}-wikipage}}|{{{corpus3}}}]]</nowinter></td> | <td>{{{corpus3}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus4}}} | None |
{{#ifneq | {{{corpus4}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}}|{{{corpus4}}}]]</td> | <tr><td>{{{corpus4}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus4}}}-wikipage}}|{{{corpus4}}}]]</nowinter></td> | <td>{{{corpus4}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus5}}} | None |
{{#ifneq | {{{corpus5}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}}|{{{corpus5}}}]]</td> | <tr><td>{{{corpus5}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus5}}}-wikipage}}|{{{corpus5}}}]]</nowinter></td> | <td>{{{corpus5}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus6}}} | None |
{{#ifneq | {{{corpus6}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}}|{{{corpus6}}}]]</td> | <tr><td>{{{corpus6}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus6}}}-wikipage}}|{{{corpus6}}}]]</nowinter></td> | <td>{{{corpus6}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus7}}} | None |
{{#ifneq | {{{corpus7}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}}|{{{corpus7}}}]]</td> | <tr><td>{{{corpus7}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus7}}}-wikipage}}|{{{corpus7}}}]]</nowinter></td> | <td>{{{corpus7}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus8}}} | None |
{{#ifneq | {{{corpus8}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}}|{{{corpus8}}}]]</td> | <tr><td>{{{corpus8}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus8}}}-wikipage}}|{{{corpus8}}}]]</nowinter></td> | <td>{{{corpus8}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus9}}} | None |
{{#ifneq | {{{corpus9}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}}|{{{corpus9}}}]]</td> | <tr><td>{{{corpus9}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus9}}}-wikipage}}|{{{corpus9}}}]]</nowinter></td> | <td>{{{corpus9}}}</td> }}
<td align="right">{{#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>
}}
}}


{{#ifneq | {{{corpus10}}} | None |
{{#ifneq | {{{corpus10}}} | None |
<tr>
{{#iff | {{#op | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}} == }} |
<tr><td>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}}|{{{corpus10}}}]]</td> | <tr><td>{{{corpus10}}}</td> }}
{{#ifneq | {{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}} | |
<td>{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-words}}</td>
<td><nowinter>[[{{#lst:Apertium-{{{lang}}}/stats|{{{corpus10}}}-wikipage}}|{{{corpus10}}}]]</nowinter></td> | <td>{{{corpus10}}}</td> }}
<td align="right">{{#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>
}}
}}

Latest revision as of 03:20, 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 ++}} ||

}}

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 |

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

}}

corpuswordscoverage
<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}}} ~%