https://github.com/thinkphp/autotagger
This plugin MooTools will analyse the text of a form field, run it through the Yahoo Term Extraction Web Service and provides a list of signifiant words or phrases as tags
https://github.com/thinkphp/autotagger
Last synced: 3 months ago
JSON representation
This plugin MooTools will analyse the text of a form field, run it through the Yahoo Term Extraction Web Service and provides a list of signifiant words or phrases as tags
- Host: GitHub
- URL: https://github.com/thinkphp/autotagger
- Owner: thinkphp
- Created: 2010-11-07T09:05:06.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-25T11:33:40.000Z (about 15 years ago)
- Last Synced: 2024-11-10T13:37:22.426Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://thinkphp.github.com/AutoTagger/
- Size: 110 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AutoTagger
====================
This plugin will analyse the text of a form field, run it through the Yahoo Term Extraction Web Service and provides a list of signifiant words or phrases as tags.

How to use
----------
First you must to include the JS files in the head of your HTML document.
#HTML
In your JS.
#JS
(function($){
window.addEvent('domready',function() {
$('bt').addEvent('click',function() {
new AutoTagger('context',{
onComplete: function(tags) {
$('context').setStyle('opacity','1.0').removeClass('loading');
$('tags').set('value', tags);
},
onRequest: function(scriptSrc, scriptEl) {
$('context').setStyle('opacity','0.5').addClass('loading');
if(window.console) {console.log('make a request!'); }
}
}).send();
});
});
})(document.id);
In your HTML.
#HTML
Your message:
Mathematical analysis, which mathematicians refer to simply as analysis, has its beginnings in the rigorous formulation of infinitesimal calculus. It is a branch of pure mathematics that includes the theories of differentiation, integration and measure, limits, infinite series,[1] and analytic functions. These theories are often studied in the context of real numbers, complex numbers, and real and complex functions. However, they can also be defined and studied in any space of mathematical objects that has a definition of nearness (a topological space) or, more specifically, distance (a metric space).
Get
Tags:
### Notes:
You can view in action:
- [http://thinkphp.github.com/AutoTagger/](http://thinkphp.github.com/AutoTagger/)
### Requirements:
- MooTools Core 1.3
- MooTools More (Request.JSONP)