Natural Language Processing

MALLET – statistical natural language processing toolkit

MALLET (MAchine Learning for LanguagE Toolkit) is a Java package for statistical natural language processing, document classification, clustering, topic modelling and information extraction.

The toolkit is particularly well suited to analysing large collections of documents. It provides algorithms for discovering topics, categorising text and recognising patterns within sequences of words. These capabilities make it useful for research involving document collections, digital humanities and text mining.

MALLET uses flexible processing pipelines to transform raw documents into representations suitable for statistical analysis. Its components can be combined to handle data preparation, model training and evaluation without requiring every stage to be implemented separately.

The software provides command-line utilities and Java APIs for developing custom text-analysis applications.

This is free and open source software.

Key Features

  • Latent Dirichlet Allocation (LDA) topic modelling with efficient Gibbs sampling.
  • Supports parallel, hierarchical, labelled, polylingual and other topic modelling variants.
  • Provides hyperparameter optimisation and topic inference for new documents.
  • Includes topic model diagnostics and facilities for examining word-topic relationships.
  • Text classification using Naive Bayes, Maximum Entropy, decision trees and other algorithms.
  • Supports training and comparing multiple classification algorithms.
  • Provides cross-validation and evaluation metrics including accuracy and F1 scores.
  • Sequence tagging with Conditional Random Fields, Hidden Markov Models and Maximum Entropy Markov Models.
  • Includes clustering algorithms for grouping related documents and observations.
  • Flexible processing pipes for tokenisation, stopword filtering and feature extraction.
  • Supports importing text from individual files and directory-based document collections.
  • Provides configurable tokenisation using regular expressions.
  • Can transform text into feature vectors and sequences for machine learning.
  • Includes numerical optimisation algorithms such as Limited Memory BFGS.
  • Provides command-line tools and Java APIs for training, applying and evaluating models.

Website: github.com/mimno/Mallet
Support:
Developer: Andrew McCallum, David Mimno and contributors
License: Apache License 2.0

MALLET is written in Java. Learn Java with our recommended free books and free tutorials.


Related Software

Java Natural Language Processing Tools
CoreNLPAnnotation-based NLP pipeline that provides core natural language analysis
OpenNLPMachine learning based toolkit
DL4JDeploy and train deep learning models
LuceneHigh-performance, full-featured information retrieval software library
UIMAOpen source implementation of the UIMA specification
Spark NLPScalable library for natural language processing pipelines
TikaContent analysis toolkit
processorsToolkit for linguistic analysis and information extraction
MALLETStatistical natural language processing, document classification and more
Apache cTAKESExtracts clinical information from unstructured medical text
GATEFull-lifecycle solution for a broad range of NLP tasks

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted