<[url removed, login to view]>
This page allows you to enter some sample text and get back some categories and semantic tags. For example, suppose you enter the text
"If stock prices have nowhere to go but down, and everyone knows it, then trades won't clear - remember, for every seller there must be a buyer - until prices have gone down far enough that there is once again a possibility of prices going *up*."
Then the category you get back is "Business Finance" and the semantic tags with 3 stars are "Marketing", "Business" and "Finance".
Now go to [url removed, login to view], register and obtain a key and use the key to call their API. See if their key allows calling their API directly with a URL. If not, pass on a specific URL text stripping the html tags to the API.
Finally, write a perl script that users the URL classification API:
I want a perl script that takes as input, a file with one URL per line. It then calls the API for each of these URLs and prints the predicted categories in an output file, one category per line corresponding to each URL, separated by a semi colon. In another output file, it should print out the corresponding semantic tags also separated by a semi colon. If no category or no semantic tag is returned, it should print out a blank line in the output file.