This determines a topic for a document, from a small list of broad general topics.

To try the code, either enter a URL or the text of a document below and click 'Submit'.

Test Links: bbc cnn whitehouse people smithsonian webmd wsj espn

This text is about the topic 'entertainment' with margin of confidence 0.004.

Note: Topics known about are (world, us, business, sci_tech, entertainment, sports, health) and confidence ranges from 0.0 to 1.0.
Took 297.248 milliseconds.