How to get phrase tables from word alignments?

雨燕双飞 提交于 2019-12-06 14:38:25
alvas

The way to get a phrase table is to first extract the phrase table with the following algorithm from Philip Koehn's Statistical MT book, pp. 133:

Then estimate the probabilities for the phrases with their relative frequencies, i.e.

Note that there is an error in the original printed version of the book but it's addressed in the errata on line 4 of the extract() function.

Also see Phrase extraction algorithm for statistical machine translation for the details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!