|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SemanticSpace
This interface models a basic semantic space, that is a matrix in which targets are represented as vectors. The dimensions of these vectors are basis elements, and the cells contain the respective co-occurrence frequencies. This interface could (or should?) be richer, but some methods (such as log-likelihood transformation) are currently only available in the SemanticSpaceArray implementation.
| Method Summary | |
|---|---|
boolean |
containsBE(java.lang.String b)
Determines if the basis element b is used for representation in the semantic space. |
boolean |
containsTarget(java.lang.String t)
Determines if the target t is represented in the semantic space. |
void |
increaseCount(java.lang.String target,
java.lang.String be,
double value)
Increases the co-occurrence count for a given target and basis element combination. |
java.lang.String |
toString()
Returns a string representation of the semantic space. |
| Method Detail |
|---|
void increaseCount(java.lang.String target,
java.lang.String be,
double value)
java.lang.String toString()
toString in class java.lang.Objectboolean containsTarget(java.lang.String t)
boolean containsBE(java.lang.String b)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||