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 comment

Commentary on "Yahoo! Term extraction API":

  1. Dossy on 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`” | 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.