FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
A CFML wrapper for the Aylien API. Access Aylien's Natural Language Processing (NLP) API to extract meaning and insight from textual content.
This is a very early stage API wrapper. Feel free to use the issue tracker to report bugs or suggest improvements!
Let's analyze some text! Here's how to extract entities:
aylien = new path.to.aylien( applicationId = 'xxx', applicationKey = 'xxx' ); entities = aylien.entities( url = 'http://bit.ly/intb2018' ); writeDump( entities );
sentiment( string text = '', string url = '', string language, string mode )
Determines the tone of a piece of text such as a tweet, a review or an article, and for short text, whether it is subjective or objective. You must provide either the
url argument. Be sure to use the appropriate mode parameter based on your input text: tweet for short text such as social media updates and document for longer text such as a review or an article. The default
mode is tweet.
entities( string text = '', string url = '', string language )
Extracts named entities (people, organizations and locations) and values (URLs, emails, telephone numbers, currency amounts and percentages) from a document. You must provide either the
concepts( string text = '', string url = '', string language )
Extracts different types of notable entities mentioned in a document, disambiguates and cross link them to DBPedia and Linked Data entities, along with their semantic types (including DBPedia and schema.org). You must provide either the
summarize( string url = '', string title = '', string text = '', numeric sentences_number, numeric sentences_percentage, string language )
Provides an easy way of summarizing a document such as a news article or blog post into a few key sentences. You can specify the length of the summary via the
sentences_percentage parameters. If not summary length is provided,
sentences_number defaults to 5.
hashtags( string text = '', string url = '', string language )
Generates a list of relevant hashtags from a piece of content.
For questions that aren't about bugs, feel free to hit me up on the CFML Slack Channel; I'm @mjclemente. You'll likely get a much faster response than creating an issue here.
👍 🎉 First off, thanks for taking the time to contribute! 🎉 👍
Before putting the work into creating a PR, I'd appreciate it if you opened an issue. That way we can discuss the best way to implement changes/features, before work is done.
Changes should be submitted as Pull Requests on the
Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.
|Version||Created||Last Update||Published By||Stable||Actions|
|0.5.0||Oct 08 2019 04:20 PM||Oct 08 2019 04:20 PM|
|0.3.0||Oct 08 2019 10:04 AM||Oct 08 2019 10:04 AM|
|0.1.2||Aug 20 2019 07:44 PM||Aug 20 2019 07:44 PM|
|0.1.1||Apr 29 2019 08:20 PM||Apr 29 2019 08:20 PM|
|0.1.0||Apr 29 2019 08:06 AM||Apr 29 2019 08:06 AM|