Java text analysis libraries
I'm looking for a java driven solution to a requirement for analysing sentences to log whether a key word was used positively or negatively. Ie The key word might be 'cabbages' and the sentence:- 'I like cabbages but not peas' And I'd like a java text analyser of some kind to log this as positive. Can the lucene (Hibernate-Search) libraries be utilized to for this? Any thoughts? You're looking for "sentiment analysis". One possibility is LingPipe , who kindly link to their competitors also . Jeff Dalton also has a great list of natural language processing tools in his blog . I doubt there's