Difference between revisions of "Template:CorpusData"

From Apertium
Jump to navigation Jump to search
Line 10: Line 10:


{{#explode | "," | {{#var | {{#var | corporaArr }} | {{#a}} }} | {{#var | corporaArrCats}} }}
{{#explode | "," | {{#var | {{#var | corporaArr }} | {{#a}} }} | {{#var | corporaArrCats}} }}
{{#count {{#var | corporaArrCats }} }}
{{#var | corpus | @= | {{#var | {{#var | corporaArrCats }} | 0 }} }}
{{#var | corpus | @= | {{#var | {{#var | corporaArrCats }} | 0 }} }}
{{#var | corpus }}:
{{#var | corpus }}:

Revision as of 05:48, 9 January 2013

{{#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}} }} {{#count {{#var | corporaArrCats }} }} {{#var | corpus | @= | {{#var | {{#var | corporaArrCats }} | 0 }} }} {{#var | corpus }}:

}}