{"id":4367,"date":"2009-01-14T22:44:54","date_gmt":"2009-01-14T22:44:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-summarizer\/"},"modified":"2009-01-14T22:58:49","modified_gmt":"2009-01-14T22:58:49","slug":"post-summarizer","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/post-summarizer\/","author":1574501,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"trunk","tested":"2.7","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Post summarizer","header_author":"Marco Campana","header_description":"","assets_banners_color":"","last_updated":"2009-01-14 22:58:49","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.xterm.it","header_plugin_uri":"http:\/\/xterm.it\/downloads\/wp-summarizer","header_author_uri":"http:\/\/www.xterm.it","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2375,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1395,50304,520],"plugin_category":[],"plugin_contributors":[96259],"plugin_business_model":[],"class_list":["post-4367","plugin","type-plugin","status-publish","hentry","plugin_tags-excerpt","plugin_tags-summarization","plugin_tags-summary","plugin_contributors-marcocampana","plugin_committers-marcocampana"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-summarizer.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin create an automatic excerpt of a post when it is saved or published. The excerpt created is a coherent piece of\ntext containing the most important sentences of the post.\nAfter installing this plugin, every time you write a post and press the <code>save<\/code> or <code>publish<\/code> button an excpert is created for that\npost and stored in the database. This plugin is useful also if you don't use excerpts in your blog: it's always useful\nto have a summary of your post available just to remind yourself what the post is about (it works very well with old and long posts!).\nStatistical natural language techniques are used to extract the most important sentences from a document. It's straightforward to \ntweak the plugin to give more importance to certain features in your text.\nThe code of the plugin has been optimized for extensiblity in order to make it easy for contributor developers to implement a summarizer \nin their own language. At the moment only an English language summarizer is available, and an Italian one is on its way.<\/p>\n\n<p>After activating the plugin here are simple steps that you might want to follow in order to have a nice excerpt to use in \nyour blog.<\/p>\n\n<ol>\n<li>Write your post<\/li>\n<li>Press the <code>save<\/code> or <code>publish<\/code> button<\/li>\n<li>An excerpt will be created. Now you can review it, modify it and save it as many times as needed<\/li>\n<li>If you want the summarizer to create an excerpt again delete the existing one and press <code>save<\/code> or <code>publish<\/code><\/li>\n<\/ol>\n\n<p>Note that the plugin creates automatically an excerpt for a post <strong>only if there isn't already an excerpt for that post<\/strong><\/p>\n\n<h3>How to adapt the plugin to summarize documents in other languages (for developers)<\/h3>\n\n<p>If you want to adapt the plugin to make it work with languages other than English you have to:<\/p>\n\n<ol>\n<li>Create a directory named with a code for the language: e.g. 'EN', 'IT', 'JP' and so on.<\/li>\n<li>Create a class that extend the abstract class Document in lib\/<\/li>\n<li>Implement the tokenize() and normalize() methods.<\/li>\n<li>Add config information to che config.php file<\/li>\n<\/ol>\n\n<p>It's easier than it seems. The code for the English summarizer is well commented and explains what you need to know in order to\nextend it. Don't hesitate to contact me if you need more info or help. Enjoy!<\/p>\n\n<!--section=installation-->\n<p>Here are the steps to follow in order to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the <code>post_summarizer<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Edit the file <code>config.php<\/code> and specify the language of your blog (default English <code>EN<\/code>)<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Now every time you write a post and press the <code>save<\/code> or <code>publish<\/code> button an excpert is created<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why should I use this plugin if I don't want to show excerpts in my blog?<\/dt>\n<dd><p>Even if you don't show excerpts in your blog it's always useful to have small summaries of your posts to remind yourself\nwhat are they about, especially for old and long posts.<\/p><\/dd>\n<dt>Does the summarizer work for every language?<\/dt>\n<dd><p>At the moment the summarizer will work properly with posts written in English. However this plugin has been created \nto make it easy for developers to extend it and make it work with other languages. This means that in the future, hopefully,\nmore languages will be supported.<\/p><\/dd>\n<dt>I want to write a summarizer for my language, how can I do that?<\/dt>\n<dd><p>You are more than welcome to extend the summarizer to handle more languages. Read the section <code>How to adapt the plugin \nto summarize documents in other languages (for developers)<\/code> for more information.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"This plugin create an automatic excerpt of a post when it is saved or published. The excerpt created is a coherent piece of text containing the most i &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4367"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/marcocampana"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4367"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4367"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4367"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4367"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4367"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}