Apr04

Yahoo! Term extraction API

Yahoo! now offers a term extraction API call for content analysis. You provide Yahoo! with some text and Yahoo! returns what it determines are significant words or phrases in order of significance.

Using this API call a developer could pass a weblog post to Yahoo! and receive an ordered list of suggested tags for that post. Combine the results with Technorati's top tags API call and you can choose to include only the most popular contextual responses.

1 Comments

Commentary on "Yahoo! Term extraction API":

Subscribe to new comments

  1. Dossy on April 5, 2005 at 11:57 AM wrote: #

    For geeks who want a command-line tool that uses the Y! Term Extraction API, I offer this: curl -s -d "appid=dossy&context=`links -dump http://dossy.org/index.html`" http://api.search.yahoo.com/ContentAnalysisService/V1/termExtraction | perl -lne 'while (m#(.*?)#g) { print $1; }' Change the URL after -dump. It spits out one term per line as output. Doesn't gracefully handle errors from the Y! API or anything else, but it's a handy scriptlet if you want to feed a page to the Y! API from a shell script or whatnot.

Add a comment

Some comments may be placed in a moderation queue to ensure topical relevancy. You may contact author Niall Kennedy directly if you prefer to comment privately.


(not published)



Niall Kennedy Niall Kennedy is a web technologist in San Francisco, California in the United States. I am very interested in the world of... MORE »

Search this weblog:

Subscribe:

Latest feature: Widget development

Archives: Popular Categories