首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何从单词对齐中获取短语表?

如何从单词对齐中获取短语表?
EN

Stack Overflow用户
提问于 2014-07-26 11:15:19
回答 1查看 1.3K关注 0票数 1

我的word对齐文件的输出如下:

代码语言:javascript
运行
复制
I wish to say with regard to the initiative of the Portuguese Presidency that we support the spirit and the political intention behind it . In bezug auf die Initiative der portugiesischen Präsidentschaft möchte ich zum Ausdruck bringen , daß wir den Geist und die politische Absicht , die dahinter stehen , unterstützen .   0-0 5-1 5-2 2-3 8-4 7-5 11-6 12-7 1-8 0-9 9-10 3-11 10-12 13-13 13-14 14-15 16-16 17-17 18-18 16-19 20-20 21-21 19-22 19-23 22-24 22-25 23-26 15-27 24-28
It may not be an ideal initiative in terms of its structure but we accept Mr President-in-Office , that it is rooted in idealism and for that reason we are inclined to support it .    Von der Struktur her ist es vielleicht keine ideale Initiative , aber , Herr amtierender Ratspräsident , wir akzeptieren , daß sie auf Idealismus fußt , und sind deshalb geneigt , sie mitzutragen .   0-0 11-2 8-3 0-4 3-5 1-6 2-7 5-8 6-9 12-11 17-12 15-13 16-14 16-15 17-16 13-17 14-18 17-19 18-20 19-21 21-22 23-23 21-24 26-25 24-26 29-27 27-28 30-29 31-30 33-31 32-32 34-33

我怎样才能从这个输出中产生摩西使用的短语表呢?

在这个pdf中,它解释了consistent phrase的提取:http://www.inf.ed.ac.uk/teaching/courses/mt/lectures/phrase-model.pdf但是,实现短语的算法是什么?(幻灯片16-21)

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-08-03 21:10:24

获得短语表的方法是首先使用下列算法从Philip Koehn的统计MT书(第133页)中提取短语表:

然后用它们的相对频率来估计短语的概率。

注意,这本书的原始印刷版本中有一个错误,但是它是在extract()函数第4行的勘误表中解决的。

有关详细信息,请参见Phrase extraction algorithm for statistical machine translation

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24970434

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档