Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 474
jaseFace Avatar asked Sep 23 '10 12:09

jaseFace


People also ask

What are the libraries available in Java?

Java provides a rich set of libraries, and its standard Java library is a very powerful that contains libraries such as java. lang, java. util, and java. math, etc.

Can Java be used for NLP?

Java can be applied to a wide range of processes in machine learning and data science, including data export and import, data cleaning, deep learning, statistical analysis, NLP, ML, and data visualization.

What is Java NLP?

Natural Language Processing (NLP) allows you to take any sentence and identify patterns, special names, company names, and more. The second edition of Natural Language Processing with Java teaches you how to perform language analysis with the help of Java libraries, while constantly gaining insights from the outcomes.

How to perform sentiment analysis in Java?

In Java code, the Stanford CoreNLP sentiment classifier is used as follows. To start, you build up a text processing pipeline by adding the annotators required to perform sentiment analysis, such as tokenize , ssplit , parse , and sentiment .


1 Answers

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.

like image 127
ishnid Avatar answered Sep 20 '22 23:09

ishnid