Package cc.mallet.util
Class FeatureCooccurrenceCounter
- java.lang.Object
-
- cc.mallet.util.FeatureCooccurrenceCounter
-
public class FeatureCooccurrenceCounter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FeatureCooccurrenceCounter(InstanceList instances)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
count()
double
g2(double left, double right, double both, double total)
static void
main(java.lang.String[] args)
void
printCounts()
-
-
-
Constructor Detail
-
FeatureCooccurrenceCounter
public FeatureCooccurrenceCounter(InstanceList instances)
-
-
Method Detail
-
count
public void count()
-
g2
public double g2(double left, double right, double both, double total)
-
printCounts
public void printCounts() throws java.io.IOException
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-