
cc.mallet.topics.TopicAssignment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcore-mallet-2.0.9 Show documentation
Show all versions of jcore-mallet-2.0.9 Show documentation
MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.
The newest version!
package cc.mallet.topics;
import java.io.Serializable;
import cc.mallet.types.*;
/** This class combines a sequence of observed features
* with a sequence of hidden "labels".
*/
public class TopicAssignment implements Serializable {
public Instance instance;
public LabelSequence topicSequence;
public Labeling topicDistribution;
public TopicAssignment (Instance instance, LabelSequence topicSequence) {
this.instance = instance;
this.topicSequence = topicSequence;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy