Skip to main content

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
********

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.ots, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size collective.ots-0.3.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page