I'm writing a Java program and need to analyze small chunks of text (3-4 sentences, news articles paraphrased) for their sentiment. I just need to know whether the article is generally positive, negative or neutral.
For example, the following would ideally be classed as positive:
Kindle e-book sales soar for Amazon. Amazon.com says it is selling more e-books for its Kindle electronic reading device than paperback and hardback print editions combined
All I need is a very simple and quick to implement third party solution, that I can use in my program. It does not have to be totally accurate all the time. Licenses etc. are not an issue, so long as it is possible to trail the solution.
So far I have found a potential good solution, AlchemyAPI, but am struggling to actually use it.
If anyone has encountered this problem before and knows of a particularly good/easy solution, or of a really good tutorial, I would be very grateful :-)
(Also I apologize for the lack of code in this question.)