开发者 | marcocampana |
---|---|
更新时间 | 2009年1月15日 06:58 |
捐献地址: | 去捐款 |
PHP版本: | 2.0.2 及以上 |
WordPress版本: | 2.7 |
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.
save
or publish
buttonsave
or publish
post_summarizer
folder to the /wp-content/plugins/
directoryconfig.php
and specify the language of your blog (default English EN
)save
or publish
button an excpert is createdEven 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.
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.
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.