Writing a good summary (description) is hard, let the Open Text Summarizer (OTS) do the heavy lifting. This tool extracts a summary of the content and sets it as the description of the content item you added
Project description
Project Description
===================
The summary may not be perfect but it is a good starting point for a
description. Mostly the summary is pretty good though.
The description is only auto generated when you ADD a new Archetypes
content item WITHOUT a description. You may edit this description at any
time. You can invoke the summarizer on existing content items by
selecting 'Summarize' from the 'Actions' menu
Install using buildout
=======================
Just add collective.ots (and optionally ots) to the egges section of you buildout ::
eggs:
...
ots
collective.ots
Run buildout, restart your server and activate the product in your add ons section.
You do not have to use the ots egg (http://pypi.python.org/pypi/ots)
if you have problems installing it. Any ots found in your system will do,
so you may install it with: ::
sudo apt-get install libots0
or the package manager of your distribution, or install it from source.
check that ots is installed and working with: ::
ots -?
which will give you the output: ::
Usage:
ots [OPTION...] [file.txt | stdin] - Open Text Summarizer
Help Options:
-?, --help Show help options
Application Options:
-r, --ratio=<int> summarization % [default = 20%]
-d, --dic=<string> dictionary to use
-o, --out=<string> output file [default = stdout]
-h, --html output as html
-k, --keywords only output keywords
-a, --about only output the summary
-v, --version show version information
- Code repository: https://svn.plone.org/svn/collective/collective.ots/
- Questions and comments to product-developers@lists.plone.org
- Report bugs at http://plone.org/products/collective.ots/issues
Change history
**************
Changelog
=========
0.3 (2011/11/16)
----------------
- remove id and title from SearchableText
0.2 (2011/09/28)
----------------
- catch exceptions if ots is not found
0.1 (2011/02/22)
----------------
- added 'Summarize' view to 'Actions' menu
- Created recipe with ZopeSkel
["nan"]
Download
********
===================
The summary may not be perfect but it is a good starting point for a
description. Mostly the summary is pretty good though.
The description is only auto generated when you ADD a new Archetypes
content item WITHOUT a description. You may edit this description at any
time. You can invoke the summarizer on existing content items by
selecting 'Summarize' from the 'Actions' menu
Install using buildout
=======================
Just add collective.ots (and optionally ots) to the egges section of you buildout ::
eggs:
...
ots
collective.ots
Run buildout, restart your server and activate the product in your add ons section.
You do not have to use the ots egg (http://pypi.python.org/pypi/ots)
if you have problems installing it. Any ots found in your system will do,
so you may install it with: ::
sudo apt-get install libots0
or the package manager of your distribution, or install it from source.
check that ots is installed and working with: ::
ots -?
which will give you the output: ::
Usage:
ots [OPTION...] [file.txt | stdin] - Open Text Summarizer
Help Options:
-?, --help Show help options
Application Options:
-r, --ratio=<int> summarization % [default = 20%]
-d, --dic=<string> dictionary to use
-o, --out=<string> output file [default = stdout]
-h, --html output as html
-k, --keywords only output keywords
-a, --about only output the summary
-v, --version show version information
- Code repository: https://svn.plone.org/svn/collective/collective.ots/
- Questions and comments to product-developers@lists.plone.org
- Report bugs at http://plone.org/products/collective.ots/issues
Change history
**************
Changelog
=========
0.3 (2011/11/16)
----------------
- remove id and title from SearchableText
0.2 (2011/09/28)
----------------
- catch exceptions if ots is not found
0.1 (2011/02/22)
----------------
- added 'Summarize' view to 'Actions' menu
- Created recipe with ZopeSkel
["nan"]
Download
********
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
collective.ots-0.3.tar.gz
(16.7 kB
view details)
File details
Details for the file collective.ots-0.3.tar.gz
.
File metadata
- Download URL: collective.ots-0.3.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d81529354565f88f174b8bc8624c625393d7a02829d9a1f605ee5d90cbbb9d47 |
|
MD5 | 6094b44c4ac27c27d3e2e2f3928aab7a |
|
BLAKE2b-256 | d7300f0e440b6de579762f9a0c48f6c3a4db877af497eab7da9ec1c843f4e0d1 |