How can I get topic of a tweet?




I would like some way, to get the topic of a tweet. I’m developing an application in java, to classify the tweets in categories.

Mainly, I want read the tweets of timeline, and through a java library or some class implemented already, to get the topic of a tweet.

I have seen in differents forums, like classify the tweets using naives-bayes, but think that must be able to get a solution easier.

Thank you for time taken.