cc.mallet.types
Class InvertedIndex
java.lang.Object
cc.mallet.types.InvertedIndex
public class InvertedIndex
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvertedIndex
public InvertedIndex(InstanceList ilist)
getInstanceList
public InstanceList getInstanceList()
getInstancesWithFeature
public java.util.ArrayList getInstancesWithFeature(int featureIndex)
getInstancesWithFeature
public java.util.ArrayList getInstancesWithFeature(java.lang.Object feature)
getCountWithFeature
public int getCountWithFeature(int featureIndex)
getCountWithFeature
public int getCountWithFeature(java.lang.Object feature)