Template:CorpusData

From Apertium
Revision as of 05:26, 9 January 2013 by Sushain (talk | contribs) (Created page with '{{#var | corpora | @= | {{{corpora}}} }} {{#explode | ";" | {{#var | corpora}} | {{#var | corporaArr}} }} == Over-all stats == * stems: <section begin=stems />{{{stems}}}<sectio…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#var | corpora | @= | {{{corpora}}} }} {{#explode | ";" | {{#var | corpora}} | {{#var | corporaArr}} }}

Over-all stats

  • stems: {{{stems}}}
  • average: ~{{:Apertium-{{{lang}}}/stats/average}}%

Corpora

{{#for | {{#a @= 0}} || {{#a | < | {{#count | {{#var | corporaArr }} }} }} || {{#a ++}} || {{#explode | "," | {{#var | {{#var | corporaArr }} | {{#a}} }} | {{#var | corporaArrCats}} }} {{#var | corpus | @= | {{#var | {{#var | corporaArrCats }} | 0 }} }} {{#var | corpus }}: {{#for | {{#b @= 0}} || {{#b | < | {{#count | {{#var | corporaArrCats }} }} }} || {{#b ++}} || {{#explode | "=" | {{#var | {{#var | corporaArrCats }} | {{#b}} }} | {{#var | tags}} }}

{{#ifeq | {{#var | {{#var | tags }} | 0 }} | "words" |

  • words: <section begin={{#var | corpus }}-words >/{{#var | {{#var | tags }} | 1 }} }} }}

{{#ifeq | {{#var | {{#var | tags }} | 0 }} | "coverage" |

  • coverage: <section begin={{#var | corpus }}-coverage >/{{#var | {{#var | tags }} | 1 }} }} }}

{{#ifeq | {{#var | {{#var | tags }} | 0 }} | "asof" |

  • as of: {{#var | {{#var | tags }} | 1 }} }}

{{#ifeq | {{#var | {{#var | tags }} | 0 }} | "wikipage" |

  • wikipage: <section begin={{#var | corpus }}-wikipage >/{{#var | {{#var | tags }} | 1 }} }} }}

}} }}