Description Usage Arguments Details Value Author(s) References See Also
It measures Precision, Recall, AER, and F_measurs metrics to evaluate the quality of word alignment.
1 2 3 | evaluation(file.gold = 'gold.RData',
file.align = 'alignment.-1.3.RData',
agn = c('my.agn','an.agn'), alpha = 0.3)
|
file.gold |
the gold standarad file name. |
file.align |
the alignment file name. |
agn |
character string including two values. If |
alpha |
is a parameter that sets the trade-off between Precision and Recall. |
To evaluate word alignment quality, we need to a "reference alignment" (a gold standard for the word alignment) of a test set.
In order to read the gold into RData format and to compare it with the word alignment results, the gold standard file name must be set in file.gold.
A list.
Recall |
A decimal number. |
Precision |
A decimal number. |
AER |
A decimal number. |
F_measure.PS |
A decimal number. |
F_measure.S |
A decimal number. |
Neda Daneshgar and Majid Sarmad.
Fraser F., Marcu D. (2007), "MeasuringWord Alignment Quality for Statistical Machine Translation.", Computational Linguistics, 33(3), 293-303.
Koehn P. (2010), "Statistical Machine Translation.", Cambridge University, New York.
Och F., Ney H.(2003)."A Systematic Comparison Of Various Statistical Alignment Models.", 2003 Association for Computational Linguistics, J03-1002, 29(1).
Wang X. "Evaluation of Two Word Alignment Systems.", Final Thesis, Department of Computer and Information Science.
cross.table, align.test, align.ibm1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.