Title: Post summarizer
Author: marcocampana
Published: <strong>2009 年 1 月 14 日</strong>
Last modified: 2009 年 1 月 14 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/post-summarizer.svg)

# Post summarizer

 由 [marcocampana](https://profiles.wordpress.org/marcocampana/) 開發

[下載](https://downloads.wordpress.org/plugin/post-summarizer.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/post-summarizer/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/post-summarizer/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/post-summarizer/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/post-summarizer/#developers)

 [技術支援](https://wordpress.org/support/plugin/post-summarizer/)

## 外掛說明

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.

 1. Write your post
 2. Press the `save` or `publish` button
 3. An excerpt will be created. Now you can review it, modify it and save it as many
    times as needed
 4. 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:

 1. Create a directory named with a code for the language: e.g. ‘EN’, ‘IT’, ‘JP’ and
    so on.
 2. Create a class that extend the abstract class Document in lib/
 3. Implement the tokenize() and normalize() methods.
 4. 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!

## 安裝方式

Here are the steps to follow in order to install the plugin and get it working.

 1. Upload the `post_summarizer` folder to the `/wp-content/plugins/` directory
 2. Edit the file `config.php` and specify the language of your blog (default English`
    EN`)
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Now every time you write a post and press the `save` or `publish` button an excpert
    is created

## 常見問題集

  Why should I use this plugin if I don’t want to show excerpts in my blog?

Even if you don’t show excerpts in your blog it’s always useful to have small summaries
of your posts to remind yourself
 what are they about, especially for old and long
posts.

  Does the summarizer work for every language?

At the moment the summarizer will work properly with posts written in English. However
this plugin has been created
 to make it easy for developers to extend it and make
it work with other languages. This means that in the future, hopefully, more languages
will be supported.

  I want to write a summarizer for my language, how can I do that?

You are more than welcome to extend the summarizer to handle more languages. Read
the section `How to adapt the plugin
 to summarize documents in other languages (
for developers)
 for more information.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Post summarizer〉的開發相關工作。

參與者

 *   [ marcocampana ](https://profiles.wordpress.org/marcocampana/)

[將〈Post summarizer〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/post-summarizer)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/post-summarizer/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/post-summarizer/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/post-summarizer/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/post-summarizer/)。

## 中繼資料

 *  版本 **0.1**
 *  最後更新 **17 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.0.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.7**
 *  語言
 * [English (US)](https://wordpress.org/plugins/post-summarizer/)
 * 標籤:
 * [excerpt](https://tw.wordpress.org/plugins/tags/excerpt/)[summarization](https://tw.wordpress.org/plugins/tags/summarization/)
   [summary](https://tw.wordpress.org/plugins/tags/summary/)
 *  [進階檢視](https://tw.wordpress.org/plugins/post-summarizer/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/post-summarizer/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/post-summarizer/reviews/)

## 參與者

 *   [ marcocampana ](https://profiles.wordpress.org/marcocampana/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/post-summarizer/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.xterm.it)