Installing Mallet

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

Installing Mallet

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 the packaged Mallet classes, while the second one packs all the dependencies. Include both JARs in your project as referenced libraries, as shown in the following image:

Installing Mallet

If you are using Eclipse, right click on Project, select Properties, and pick Java Build Path. Select the Libraries tab and click Add External JARs. Now, select the two JARs and confirm, as shown in the following screenshot:

Installing Mallet

Now we are ready to start using Mallet.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.202.209