Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sentence compression using NLP [closed]

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 coffee Does 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?

like image 636
Codevalley Avatar asked Oct 22 '11 05:10

Codevalley


People also ask

How do you compress long sentences?

In producing compressions, you are free to delete words, add new words, substitute them or reorder them. While doing the task you will find that word deletion is the most frequent compression operation. You should use substitution, insertion, and reordering operations only if they render the original sentence shorter.

What is sentence compression?

Sentence compression is the task of compressing a long sentence into a short one by deleting redundant words. Paper.


1 Answers

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.

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.

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

like image 171
Khairul Avatar answered Sep 21 '22 04:09

Khairul