Code organization
From Mallet
This is a high level view of the packages and major classes in Mallet. There is some Mallet javadoc now, but although that's a good reference, often it's hard when you're reading Javadoc to see the forest for the trees. Hopefully, this page will provide the forest.
Here are the main packages in Mallet:
- edu/umass/cs/mallet -- Base directory for everything
- base/ -- The MALLET core
- types/ -- Important data-struture-type classes like Instance and FeatureVector
- classify/ -- Supervised classification, like Naive Bayes and MaxEnt
- fst/ -- Finite-state transducers, including CRFs, HMMs, and MEMMs
- pipe/ -- Pipes, which are objects that transform instances, mostly for feature extraction
- extract/ -- Wrapper classes for performing extraction. These use classes like CRF to perform extraction from source text. They provide general utilites for output as XML, evaluation, and visualization.
- grmm/ -- Framework for inference in general undirected graphical models
- base/ -- The MALLET core