silverstripe/alchemiser

An integration with AlchemyAPI.

Installs: 155

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 3

Open Issues: 4

Type:silverstripe-module

dev-master / 1.0.x-dev 2016-01-18 22:40 UTC

This package is auto-updated.

Last update: 2024-03-29 02:50:18 UTC


README

Integrates with the Alchemy API to provide automatic category, keyword and entity extraction for SilverStripe data objects.

Basic Usage

To use the Alchemiser module you must first sign up for an Alchemy API key. Once you have this you set it in your _config.php file, and apply the Alchemisable extension to any objects you wish to perform metadata extraction on:

// Sets the Alchemy API key.
AlchemyService::set_api_key('<your key here>');

// Applies entity extraction to SiteTree objects.
Object::add_extension('SiteTree', 'Alchemisable');

If you wish metadata annotation to be fully automatic, all you need to do is set the first parameter of the Alchemisable construction to true:

Object::add_extension('SiteTree', 'Alchemisable(true)');

Once configured, an Alchemy tab will appear for content that can be indexed. Add some content to the page, and save it. Go to the Alchemy tab, and click the Analyze Content link. After a few seconds, a window will appear with a list of identified keywords and other metadata. Simply check the box next to those you wish to keep.

Maintainer Contacts

Requirements

  • SilverStripe 2.4+

License

This module is licensed under the BSD license at http://silverstripe.org/BSD-license

It interfaces with the AlchemyAPI which is made available under the terms at http://www.alchemyapi.com/company/terms.html

Be aware that the Alchemy license requires the Alchemy logo and link remain in place.

Project Links