Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

Apertium-uzb-kaa

From Apertium
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
   
==Work plan==
+
== Work plan ==
 
* Trimmed coverage means the coverage of both of the morphological analysers after being trimmed according to the bilingual dictionary of the pair, that is, only containing stems which are also in the bilingual dictionary.
 
* Testvoc for a category means that the category is [[testvoc]] clean, in both translation directions.
 
* Evaluation is taking <math>n</math> words and performing an [[evaluation]] for post-edition word error rate (WER). The output for those <math>n</math> words should be clean.
 
* Bidix: number of stems in the bilingual dictionary
 
   
 
{|class=wikitable
 
{|class=wikitable
Line 10: Line 10:
 
! Corpus testvoc uzb->kaa (no *, no */@, no */@/# errors)
 
! Corpus testvoc uzb->kaa (no *, no */@, no */@/# errors)
 
! Corpus testvoc kaa->uzb (no *, no */@, no */@/# errors)
 
! Corpus testvoc kaa->uzb (no *, no */@, no */@/# errors)
  +
| WER,PER uzb->kaa
  +
| WER,PER kaa->uzb
 
!Evaluation
 
!Evaluation
 
!Notes
 
!Notes
 
|-
 
|-
| 0 || 20/05&mdash;26/05 || 412 || -- || jam(17.7, 17.7, 14.8) udhr(6.1, 6.1, 4.1) bible(9.6, 9.6, 8.2) || jam(34.1, 33.5, 16.2) udhr(n.a. in kaa) bible(17.0, 16.7, 9.7) || -- ||
+
| 0
  +
| 20/05&mdash;26/05
  +
| 412
  +
| --
  +
|
  +
* jam(17.7, 17.7, 14.8)
  +
* udhr(6.1, 6.1, 4.1)
  +
* bible(9.6, 9.6, 8.2)
  +
|
  +
* jam(34.1, 33.5, 16.2)
  +
* udhr(n.a. in kaa)
  +
* bible(17.0, 16.7, 9.7)
  +
|
  +
* jam(96.19, 93.84)
  +
* bible()
  +
|
  +
* jam(106.15, 102.91)
  +
* bible()
  +
|
 
|-
 
|-
| 1 || 27/05&mdash;02/06 || 5412 || || || || ||
+
| 1 || 27/05&mdash;02/06 || 5412 || || || || || ||
 
|-
 
|-
| 2 || 03/06&mdash;09/06 || 10412 || || || || ||
+
| 2 || 03/06&mdash;09/06 || 10412 || || || || || ||
 
|-
 
|-
| 3 || 10/06&mdash;16/06 || 15412 || || || || ||
+
| 3 || 10/06&mdash;16/06 || 15412 || || || || || ||
 
|-
 
|-
| 4 || 17/06&mdash;23/06 || 20412 || || || || ||
+
| 4 || 17/06&mdash;23/06 || 20412 || || || || || ||
 
|-
 
|-
  +
|}
   
 
<!--
 
<!--
Line 41: Line 44:
 
| 12 || 12/08&mdash;18/08 || || || || ||
 
| 12 || 12/08&mdash;18/08 || || || || ||
 
|-
 
|-
  +
|}
  +
 
-->
 
-->
   
* Corpus testvoc := cat <txt> | apertium-uzb-kaa/testvoc/corpus/trimmed-coverage.sh {uzb-kaa,kaa-uzb}. Corpora can be found [https://github.com/taruen/apertiumpp/tree/master/data4apertium/corpora here].
+
== Comments ==
* Number of stems taken from the header "aperium-dixtools format-1line 10 55 apertium-uzb-kaa.uzb-kaa.dix" produces.
+
  +
* Bidix: number of stems in the bilingual dictionary.
  +
** Number of stems is taken from the header "aperium-dixtools format-1line 10 55 apertium-uzb-kaa.uzb-kaa.dix" produces.
  +
* Corpus testvoc: cat <txt> | apertium-uzb-kaa/testvoc/corpus/trimmed-coverage.sh {uzb-kaa,kaa-uzb}. Corpora can be found [https://github.com/taruen/apertiumpp/tree/master/data4apertium/corpora here].
  +
* WER is calculated like shown below. Currently WER numbers are only a crude approximation, since input text and -ref text are probably independent translations (not parallel).
  +
* Evaluation is taking <math>n</math> words and performing an [[evaluation]] for post-edition word error rate (WER). The output for those <math>n</math> words should be clean.
  +
  +
Related terms:
  +
* Trimmed coverage means the coverage of both of the morphological analysers after being trimmed according to the bilingual dictionary of the pair, that is, only containing stems which are also in the bilingual dictionary.
  +
* Testvoc for a category means that the category is [[testvoc]] clean, in both translation directions.
  +
  +
<pre>
  +
apertium-uzb-kaa$ perl ../../../../../../src/sourceforge-apertium/trunk/apertium-eval-translator/apertium-eval-translator.pl -test <(cat ../../../data4apertium/corpora/jam/uzb.txt | apertium -d . uzb-kaa) -ref ../../../data4apertium/corpora/jam/kaa.txt
  +
Test file: '/dev/fd/63'
  +
Reference file '../../../data4apertium/corpora/jam/kaa.txt'
  +
  +
Statistics about input files
  +
-------------------------------------------------------
  +
Number of words in reference: 341
  +
Number of words in test: 309
  +
Number of unknown words (marked with a star) in test: 284
  +
Percentage of unknown words: 91.91 %
  +
  +
Results when removing unknown-word marks (stars)
  +
-------------------------------------------------------
  +
Edit distance: 325
  +
Word error rate (WER): 95.31 %
  +
Number of position-independent correct words: 26
  +
Position-independent word error rate (PER): 92.38 %
  +
  +
Results when unknown-word marks (stars) are not removed
  +
-------------------------------------------------------
  +
Edit distance: 328
  +
Word Error Rate (WER): 96.19 %
  +
Number of position-independent correct words: 21
  +
Position-independent word error rate (PER): 93.84 %
  +
  +
Statistics about the translation of unknown words
  +
-------------------------------------------------------
  +
Number of unknown words which were free rides: 3
  +
Percentage of unknown words that were free rides: 1.06 %
  +
</pre>

Revision as of 00:32, 27 May 2019

Work plan

Week Dates Bidix goal Achieved? Corpus testvoc uzb->kaa (no *, no */@, no */@/# errors) Corpus testvoc kaa->uzb (no *, no */@, no */@/# errors) WER,PER uzb->kaa WER,PER kaa->uzb Evaluation Notes
0 20/05—26/05 412 --
  • jam(17.7, 17.7, 14.8)
  • udhr(6.1, 6.1, 4.1)
  • bible(9.6, 9.6, 8.2)
  • jam(34.1, 33.5, 16.2)
  • udhr(n.a. in kaa)
  • bible(17.0, 16.7, 9.7)
  • jam(96.19, 93.84)
  • bible()
  • jam(106.15, 102.91)
  • bible()
1 27/05—02/06 5412
2 03/06—09/06 10412
3 10/06—16/06 15412
4 17/06—23/06 20412


Comments

  • Bidix: number of stems in the bilingual dictionary.
    • Number of stems is taken from the header "aperium-dixtools format-1line 10 55 apertium-uzb-kaa.uzb-kaa.dix" produces.
  • Corpus testvoc: cat <txt> | apertium-uzb-kaa/testvoc/corpus/trimmed-coverage.sh {uzb-kaa,kaa-uzb}. Corpora can be found here.
  • WER is calculated like shown below. Currently WER numbers are only a crude approximation, since input text and -ref text are probably independent translations (not parallel).
  • Evaluation is taking n words and performing an evaluation for post-edition word error rate (WER). The output for those n words should be clean.

Related terms:

  • Trimmed coverage means the coverage of both of the morphological analysers after being trimmed according to the bilingual dictionary of the pair, that is, only containing stems which are also in the bilingual dictionary.
  • Testvoc for a category means that the category is testvoc clean, in both translation directions.
apertium-uzb-kaa$ perl ../../../../../../src/sourceforge-apertium/trunk/apertium-eval-translator/apertium-eval-translator.pl -test <(cat ../../../data4apertium/corpora/jam/uzb.txt | apertium -d . uzb-kaa) -ref ../../../data4apertium/corpora/jam/kaa.txt
Test file: '/dev/fd/63'
Reference file '../../../data4apertium/corpora/jam/kaa.txt'

Statistics about input files
-------------------------------------------------------
Number of words in reference: 341
Number of words in test: 309
Number of unknown words (marked with a star) in test: 284
Percentage of unknown words: 91.91 %

Results when removing unknown-word marks (stars)
-------------------------------------------------------
Edit distance: 325
Word error rate (WER): 95.31 %
Number of position-independent correct words: 26
Position-independent word error rate (PER): 92.38 %

Results when unknown-word marks (stars) are not removed
-------------------------------------------------------
Edit distance: 328
Word Error Rate (WER): 96.19 %
Number of position-independent correct words: 21
Position-independent word error rate (PER): 93.84 %

Statistics about the translation of unknown words
-------------------------------------------------------
Number of unknown words which were free rides: 3
Percentage of unknown words that were free rides: 1.06 %
Personal tools