Template:CorpusData

From Apertium
Revision as of 05:34, 9 January 2013 by Sushain (talk | contribs)
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 }} }} }}

}} }}