Installing Mallet

Mallet is available for download at the UMass Amherst University website at http://mallet.cs.umass.edu/download.php. Navigate to the Download section as shown in the following screenshot and select the latest stable release (2.0.8, at the time of writing this book):

Download the ZIP file and extract the content. In the extracted directory, you should find a folder named dist with two JAR files: mallet.jar and mallet-deps.jar. The first one contains all of the packaged Mallet classes, while the second one packs all of the dependencies. We will include both JARs files in your project as referenced libraries, as shown in the ...

Get Machine Learning in Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.