[WordPress] 外掛分享: Post summarizer

前言介紹

  • 這款 WordPress 外掛「Post summarizer」是 2009-01-13 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2009-01-14,距離現在已有 5954 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0.2 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

marcocampana |

外掛標籤

excerpt | summary | summarization |

內容簡介

這個插件會在文章儲存或發佈時,自動建立文章摘要。建立的摘要是一個含有文章最重要的句子的有條理的一段文字。
安裝此插件後,每當你寫一篇文章並按下「儲存」或「發佈」按鈕,就會為該文章建立一個摘要並存儲在數據庫中。即使您的博客不使用摘要,此插件也很有用:隨時擁有文章摘要的總結,可以提醒您文章的主題(對於舊的和長的文章非常有效)。
使用統計自然語言技術來從文檔中提取最重要的句子。輕鬆調整插件,使某些特定的文本特徵更加重要。插件的代碼已經優化,以實現可擴展性,以使貢獻者開發人員易於在自己的語言中實施摘要。目前只有英語摘要工具可用,意大利語摘要工具正在開發中。

啟用插件後,您可以遵循以下簡單的步驟,以便在博客中創建好的摘要。

撰寫文章
按下「儲存」或「發佈」按鈕
摘要將被創建。現在您可以查看摘要,修改需要的次數,並保存該摘要。
如果您希望該篇文章重新建立摘要,刪除現有的摘要,然後按下「儲存」或「發佈」按鈕建立新的摘要。

請注意,插件僅在一篇文章沒有摘要時自動為其創建摘要

如何調整插件以縮小其他語言的文檔篇幅(供開發人員使用)

如果您想要調整此插件以使其在英語以外的其他語言上運行,您需要:

創建一個以該語言代碼命名的目錄:例如「EN」、「IT」、「JP」等。
創建一個擴展 lib/ 中的抽象類 Document 的類。
實現 tokenize() 和 normalize() 方法。
在 config.php 文件中添加配置信息。

這比它看起來更容易。英文摘要工具的代碼已經有很好的注釋,並解釋了扩展它需要知道的內容。如果需要更多的信息或幫助,請隨時與我聯繫。享受吧!

原文外掛簡介

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 important sentences of the post.
After installing this plugin, every time you write a post and press the save or publish button an excpert is created for that
post and stored in the database. This plugin is useful also if you don’t use excerpts in your blog: it’s always useful
to 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!).
Statistical natural language techniques are used to extract the most important sentences from a document. It’s straightforward to
tweak the plugin to give more importance to certain features in your text.
The code of the plugin has been optimized for extensiblity in order to make it easy for contributor developers to implement a summarizer
in their own language. At the moment only an English language summarizer is available, and an Italian one is on its way.
After activating the plugin here are simple steps that you might want to follow in order to have a nice excerpt to use in
your blog.

Write your post
Press the save or publish button
An excerpt will be created. Now you can review it, modify it and save it as many times as needed
If you want the summarizer to create an excerpt again delete the existing one and press save or publish

Note that the plugin creates automatically an excerpt for a post only if there isn’t already an excerpt for that post
How to adapt the plugin to summarize documents in other languages (for developers)
If you want to adapt the plugin to make it work with languages other than English you have to:

Create a directory named with a code for the language: e.g. ‘EN’, ‘IT’, ‘JP’ and so on.
Create a class that extend the abstract class Document in lib/
Implement the tokenize() and normalize() methods.
Add config information to che config.php file

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
extend it. Don’t hesitate to contact me if you need more info or help. Enjoy!

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Post summarizer」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Visual Link Preview 》這個外掛可以輕鬆地為你網站上的任何連結建立像 Facebook 一樣的連結預覽。你可以選擇要顯示的圖像和文字,並建立自己的自訂範本。預設範本可以從設定中進行...。
  • Details Summary Block 》這個外掛會提供可摺疊的 HTML
    區塊和一個在區塊摺疊時顯示的 元素。區塊內可以放置任意數量的段落或程式碼區塊。, 需求, , ...。
  • Simple Event Summary for SportsPress 》WordPress 外掛「Simple Event Summary for SportsPress」可以在主要的事件卡片下方增加簡短的事件摘要,增強了「SportsPress」外掛。它包含得分者和裁判詳細...。
  • Auto Summarize Post Content 》- 使用這個 WordPress 外掛,可以自動摘要內容並將摘要顯示在文章的頂部。, - 可以更快速地讓讀者瞭解文章的主要內容。, - 容易吸引讀者的注意,讓他們對文章...。
  • Show / Hide Section Block 》Show / Hide Section Block 提供兩個區塊:一個「顯示 / 隱藏群組區塊」和一個以上的「顯示 / 隱藏區塊」。, 個別區塊的 HTML 輸出為:,
文章
Filter
Apply Filters
Mastodon