Apertium-kaz/test

From Apertium
Jump to navigation Jump to search

{{#nocache}} {{#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 | @= | kaz }}

{{#var | corpora | @= | Әуезов,bible,azattyq2010,wp2011,quran }} {{#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: 36,595
  • Coverage: ~94.5%

{{#ifneq | Әуезов | None |

{{#ifneq | Әуезов corpus | | | }}

}}

{{#ifneq | bible | None |

{{#ifneq | | | | }}

}}

{{#ifneq | azattyq2010 | None |

{{#ifneq | RFERL_corpora | | | }}

}}

{{#ifneq | wp2011 | None |

{{#ifneq | | | | }}

}}

{{#ifneq | quran | None |

{{#ifneq | | | | }}

}}

{{#ifneq | {{{corpus6}}} | None |

{{#ifneq | | | | }}

}}

{{#ifneq | {{{corpus7}}} | None |

{{#ifneq | | | | }}

}}

{{#ifneq | {{{corpus8}}} | None |

{{#ifneq | | | | }}

}}

{{#ifneq | {{{corpus9}}} | None |

{{#ifneq | | | | }}

}}

{{#ifneq | {{{corpus10}}} | None |

{{#ifneq | | | | }}

}}

corpuswordscoverage
<nowinter>Әуезов</nowinter>Әуезов155K ~92.89%
<nowinter>[[|bible]]</nowinter>bible577K ~95.29%
<nowinter>azattyq2010</nowinter>azattyq20103.2M ~95.07%
<nowinter>[[|wp2011]]</nowinter>wp2011850K ~90.72%
<nowinter>[[|quran]]</nowinter>quran107K ~96.71%
<nowinter>[[|{{{corpus6}}}]]</nowinter>{{{corpus6}}} ~%
<nowinter>[[|{{{corpus7}}}]]</nowinter>{{{corpus7}}} ~%
<nowinter>[[|{{{corpus8}}}]]</nowinter>{{{corpus8}}} ~%
<nowinter>[[|{{{corpus9}}}]]</nowinter>{{{corpus9}}} ~%
<nowinter>[[|{{{corpus10}}}]]</nowinter>{{{corpus10}}} ~%

LangStats2 is test template, LangStats is real one :] -- delete this page and test template after I'm done, please. I don't think have the appropriate permissions. ""

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

Over-all stats[edit]

  • stems: 55
  • average: ~94.5%

Corpora[edit]

{{#explode | "," | bible,stems$hi,coverage$hi,asof$hi,wikipage$hi | {{#var | corpusCats}} }} {{#var | corpus | @= | {{#var | {{#var | corporaCats }} | 0 }} }} {{#var | corpus }}:

  • <winterprewiki>10</winterprewiki>

{{#for | {{#a @= 1}} || {{#a | < | {{#count | {{#var | corporaCats }} }} }} || {{#a ++}} ||

  • {{#var | tag | = | {{#var | {{#var | corporaCats }} | {{#a}} }} }}

{{#explode | "$" | {{#var | tag}} | {{#var | tags}} }}

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

""