An integration with AlchemyAPI.
This package is auto-updated.
Last update: 2020-04-30 00:36:00 UTC
Integrates with the Alchemy API to provide automatic category, keyword and entity extraction for SilverStripe data objects.
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
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
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.
- SilverStripe 2.4+
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.