本文介绍了使用NLP的句子压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用机器翻译,我能否获得句子的压缩版本,例如. 我真的想喝一杯美味可口的咖啡会被翻译成我想要咖啡是否有任何NLP引擎提供这种功能?

Using Machine translation, can I obtain a very compressed version of a sentence,eg. I would really like to have a delicious tasty cup of coffee would be translated to I want coffeeDoes any of the NLP engines provide such a functionality?

我有几篇研究论文完成了产生相态句子压缩.但是,有没有已经实现此功能的库?

I got a few research papers that does paraphase generation and sentence compression. But is there any library which has already implemented this?

推荐答案

如果您的意图是使句子简短但又不失去句子的重要意义,则可以通过公正提取三重主题来实现. -谓词对象.

If your intention is to make your sentences brief without losing important idea from that sentences then you can do that by just extracting triplet subject-predicate-object.

关于工具/引擎,我建议您使用Stanford NLP.它的依存解析器输出已经提供了主语和宾语(如果有的话).但是您仍然需要做一些调整以获得所需的结果.

Talking about tools/engine, I recommend you to use Stanford NLP. Its dependency parser output already provides subject and object(if any). But you still need to do some tuning to get desired result.

您可以下载Stanford NLP并在此处

You can download Stanford NLP and learn sample usage here

我找到了与您的问题有关的论文.看看使用类型依赖项进行文本简化:不同代际策略的鲁棒性比较

I found paper related to your question. Have a look at Text Simplification using Typed Dependencies: A Comparison of the Robustness of Different Generation Strategie

这篇关于使用NLP的句子压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 16:21