Extracting topics from text documents using Mallet

With an ever-increasing amount of documents in text format nowadays, an important task for any data scientist is to get an overview of a large number of articles with abstracts, summaries, or a list of abstract topics, not because this saves time to read through the articles but to do clustering, classification, semantic relatedness measurement, sentiment analysis, and so on.

In machine learning and natural language processing domain, topic modelling refers to retrieving abstract topics or keywords from text articles using statistical models. In this recipe, we will be using a sophisticated Java-based machine learning and natural language processing library named Mallet, which is an acronym for ...

Get Java Data Science Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.