PHP Summarizer

PHP Summarizer

Released 7 years ago , Last update 4 years ago

Summarizer is a standalone PHP class that allows the quick creation of a summary for a given text or HTML page.

Expand All

Downloads

  • Version 1.1.0

    Released on Feb 9, 2014
    Version 1.1.0 - February 9, 2014
    ------------------------------------
    * Added support for Natural language processing

    Natural language processing give much better results when working with non-standard languages (e.g. Russian, Farsi, Arabic, Chinese).

    Natural language processing is done using NlpTools (https://github.com/atrilla/nlptools) - licensed under GPL conditions.

    This option must be specifically enabled in order to be used.

    // needed only if you don't use your own autoloader
    require_once dirname(dirname(__FILE__)) . '/library/autoloader.php';
    require_once dirname(dirname(__FILE__)) . '/library/Summarizer.php';

    // options for the summarizer
    $options = array(
    Summarizer::OPTION_NATURAL_LANGUAGE_PROCESSING => true
    );

    $summarizer = new Summarizer($options);
    $summarizer->loadText($text);
    $summary = $summarizer->run();

    Please note that Natural language processing uses more resources (10-30%), but the quality of the results is usually much better.

    Must be a license holder to download.

You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.