Package cc.mallet.types
Class InvertedIndex
- java.lang.Object
-
- cc.mallet.types.InvertedIndex
-
public class InvertedIndex extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InvertedIndex(InstanceList ilist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCountWithFeature(int featureIndex)
int
getCountWithFeature(java.lang.Object feature)
InstanceList
getInstanceList()
java.util.ArrayList
getInstancesWithFeature(int featureIndex)
java.util.ArrayList
getInstancesWithFeature(java.lang.Object feature)
-
-
-
Constructor Detail
-
InvertedIndex
public InvertedIndex(InstanceList ilist)
-
-
Method Detail
-
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)
-
-