All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.mallet.topics.TopicAssignment Maven / Gradle / Ivy

Go to download

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