|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.corpuslinguistics.textsegmenter.struct.EntropyVector
public class EntropyVector
Entropy vector.
Use of this code is free for academic, education, research and other non-profit making uses only.
| Nested Class Summary | |
|---|---|
protected static class |
EntropyVector.TableValue
Vector entries. |
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,EntropyVector.TableValue> |
table
Map holding labeled vector values. |
| Constructor Summary | |
|---|---|
EntropyVector(ContextVector v)
Create an entropy vector from a context vector. |
|
| Method Summary | |
|---|---|
static double |
entropy(java.lang.String s,
EntropyVector v)
Return entropy for labeled table entry. |
static double |
inverse(java.lang.String s,
EntropyVector v)
Return inverse for labeled table entry. |
static double |
probability(java.lang.String s,
EntropyVector v)
Return probability for labeled table entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,EntropyVector.TableValue> table
| Constructor Detail |
|---|
public EntropyVector(ContextVector v)
v - uk.ac.man.cs.choif.extend.structure.ContextVector| Method Detail |
|---|
public static double entropy(java.lang.String s,
EntropyVector v)
s - Entry name.v - Entropy vector.
public static double inverse(java.lang.String s,
EntropyVector v)
s - Entry name.v - Entropy vector.
public static double probability(java.lang.String s,
EntropyVector v)
s - Entry name.v - Entropy vector.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||