|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.ie.crf.LinearCliquePotentialFunction
public class LinearCliquePotentialFunction
| Method Summary | |
|---|---|
double |
computeCliquePotential(int cliqueSize,
int labelIndex,
int[] cliqueFeatures,
double[] featureVal)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public double computeCliquePotential(int cliqueSize,
int labelIndex,
int[] cliqueFeatures,
double[] featureVal)
computeCliquePotential in interface CliquePotentialFunctioncliqueSize - 1 if node clique, 2 if edge clique, etclabelIndex - the index of the output class labelcliqueFeatures - an int array containing the feature indices that are active in this cliquefeatureVal - a double array containing the feature values corresponding to feature indices in cliqueFeatures
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||