You can tell whether an email, tweet, or online product review is good or bad. But what if you want to look at a lot of text, such as hundreds of tweets from a specific Twitter account or that use a specific hashtag? Or thousands of product reviews on your favorite ecommerce site? Natural language processing libraries, such as the Stanford CoreNLP suite, can perform that type of analysis.
Yuli Vasiliev explains how the CoreNLP library works, and he demonstrates how to extract online review information, parse the data with the Opencsv library, and then perform the analysis—all in Java.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. This is the final Java Magazine newsletter of 2021. We wish you and yours a new year of health, peace, and happiness. See you in January.
The newest articles
Perform textual sentiment analysis in Java using a deep learning model Sentiment analysis is a text classification task focused on identifying whether a piece of text is positive, negative, or neutral. Yuli Vasiliev shows how such tasks can be implemented in Java using the sentiment tool integrated into Stanford CoreNLP, an open source library for natural language processing.
11 great Java tricks from dev.java Nicolai Parlog is a Java enthusiast with a passion for learning and sharing, online and offline. He is also a developer advocate at Oracle, and he recently demonstrated 11 Java tricks for records and patterns, generics and lambdas, jpackage and jshell, and more—all hand-picked from dev.java.
Java is a top language for AI and ML developers, says research study Evans Data recently conducted an extensive study on AI and machine learning. From our perspective, the key top-level finding is in the response to this question: “Which programming languages do you use most in artificial intelligence or machine learning development?”
Making a case for a commercial offering of open source–based software Java has long served as a mission-critical language, running an incredibly wide range of business functions across a myriad of platforms. As an open source language, it has evolved, thanks to internal Oracle research and development, writes Brad Shimmin, chief analyst at Omdia.
The 10 top quizzes of 2021
Simon and Mikalai have kept us challenged every Quiz Tuesday. Here are the 10 most popular quizzes of the year.
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.