这里首先向大家推荐一篇论文https://arxiv.org/abs/1704.04368。这篇论文介绍了一个文本摘要网络,具体是怎样的,这里不作详细介绍。向大家推荐知乎上一篇介绍它的文章https://zhuanlan.zhihu.com/p/27272224,其余请自行了解阅读论文。
下面是pointer-generator的开源项目地址:https://github.com/abisee/pointer-generator。我们现在要用它做中文复述的工作,那么首先来看一下它是如何处理英文文本摘要的。
Github网页上给了测试集输出结果,我们拿出第一篇看下效果:
这是文章原文(article):
washington ( cnn ) president barack obama says he is `` absolutely committed to making sure '' israel maintains
a military advantage over iran . his comments to the new york times , published on sunday , come amid
criticism from israeli prime minister benjamin netanyahu of the deal that the united states and five other world
powers struck with iran . tehran agreed to halt the country 's nuclear ambitions , and in exchange , western
powers would drop sanctions that have hurt the iran 's economy . obama said he understands and respects
netanyahu 's stance that israel is particularly vulnerable and does n't `` have the luxury of testing these
propositions '' in the deal . `` but what i would say to them is that not only am i absolutely committed to making
sure they maintain their qualitative military edge , and that they can deter any potential future attacks , but
what i 'm willing to do is to make the kinds of commitments that would give everybody in the neighborhood ,
including iran , a clarity that if israel were to be attacked by any state , that we would stand by them , '' obama
said . that , he said , should be `` sufficient to take advantage of this once-in-a-lifetime opportunity to see
whether or not we can at least take the nuclear issue off the table , '' he said . the framework negotiators
announced last week would see iran reduce its centrifuges from