<p>I'm looking for an existing library to summarize or paraphrase content (I'm aiming at blog posts) - any experience with existing natural language processing libraries?</p>

<p>I'm open to a variety of languages, so I'm more interested in the abilities &amp; accuracy.</p>

[{'answer_id': 25345, 'author': 'mmattax', 'author_id': 1638, 'author_profile': 'https://Stackoverflow.com/users/1638', 'pm_score': 0, 'selected': False, 'text': '<p>Your getting into really far out AI type domain. I have done extensive work in text transformation into machine knowledge mainly using Attempto Controlled English (see: <a href="http://attempto.ifi.uzh.ch/site/" rel="nofollow noreferrer">http://attempto.ifi.uzh.ch/site/</a>), it is a natural language (english) that is completely computer processable into several different ontologies, such as OWLDL.</p>\n\n<p>Seems like that would we way overkill though...</p>\n\n<p>Is there a reason for not just taking the first few sentences of your blog post and then appending an ellipse for your summary?</p>\n'}, {'answer_id': 37454, 'author': 'jeffreypriebe', 'author_id': 1592, 'author_profile': 'https://Stackoverflow.com/users/1592', 'pm_score': 0, 'selected': False, 'text': '<p>Thanks for those links. Looks like GROK is dead - but it may work still for my purposes.</p>\n\n<p>2 more links:</p>\n\n<ul>\n<li><a href="http://classifier4j.sourceforge.net/" rel="nofollow noreferrer">http://classifier4j.sourceforge.net/</a></li>\n<li><a href="http://www.corporasoftware.com/products/summarize.aspx" rel="nofollow noreferrer">http://www.corporasoftware.com/products/summarize.aspx</a></li>\n</ul>\n\n<p>The Attempto Controlled English is an interesting concept: as it\'s a completely reverse way of looking at the problem. Not really practical for what I am trying to do.</p>\n\n<p>@mmattax As for the suggestion of taking a few sentences - I\'m not trying to present a summary: otherwise that would be a nice <a href="http://www.corporasoftware.com/products/summarize.aspx" rel="nofollow noreferrer">judo</a> solution. I\'m looking to actually summarize the content to use for other evaluation purposes.</p>\n'}, {'answer_id': 187510, 'author': 'Osama Al-Maadeed', 'author_id': 25544, 'author_profile': 'https://Stackoverflow.com/users/25544', 'pm_score': 3, 'selected': False, 'text': '<p>I think he wants to generate blog posts by automatically paraphrasing whatever was it the blogs this system is monitoring.</p>\n\n<p>This would be really interesting if you could combine 2 to 10 blog posts that are similar, but from different sources and then do a paraphrased "real" summary automatically (the size of 1 blog post).</p>\n\n<p>It could also be great for Homeworks. Unfortunately it\'s not that easy to do.</p>\n\n<p>The only way I could see is to be able to decompose every sentence into "meaning", and then randomly change the sentence structure and some words retaining the meaning.</p>\n\n<p>These sentences mean the same:</p>\n\n<ul>\n<li>I hate this guy, he is so dumb.</li>\n<li>This guy is stupid, I hate him.</li>\n<li>I despise this dumb guy.</li>\n<li>He is dumb, I hate him.</li>\n</ul>\n\n<p>It would be nontrivial to write a program to transform one of these sentences to the others, and these are simple sentences, real sentences from blogs are much more complicated.</p>\n'}, {'answer_id': 193239, 'author': 'Robert Elwell', 'author_id': 23102, 'author_profile': 'https://Stackoverflow.com/users/23102', 'pm_score': 3, 'selected': False, 'text': '<p>There was some discussion of Grok.  This is now supported as OpenCCG, and will be reimplemented in OpenNLP as well.</p>\n\n<p>You can find OpenCCG at <a href="http://openccg.sourceforge.net/" rel="noreferrer">http://openccg.sourceforge.net/</a>.  I would also suggest the Curran and Clark CCG parser available here: <a href="http://svn.ask.it.usyd.edu.au/trac/candc/wiki" rel="noreferrer">http://svn.ask.it.usyd.edu.au/trac/candc/wiki</a></p>\n\n<p>Basically, for paraphrase, what you\'re going to need to do is write up something that first parses sentences of blog posts, extracts the semantic meaning of these posts, and then searches through the space of vocab words which will compositionally create the same semantic meaning, and then pick one that doesn\'t match the current sentence.  This will take a long time and it might not make a lot of sense.  Don\'t forget that in order to do this, you\'re going to need near-perfect anaphora resolution and the ability to pick up discourse-level inferences.</p>\n\n<p>If you\'re just looking to make blog posts that don\'t have machine-identifiable duplicate content, you can always just use topic and focus transformations and WordNet synonyms.  There have definitely been sites which have made money off of AdWords that have done this before.</p>\n'}]
['https://Stackoverflow.com/questions/25332', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1592/']