de.pado.dv
Interface SemanticSpace

All Known Implementing Classes:
SemanticSpaceArray, SemanticSpaceHash

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

increaseCount

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.


toString

java.lang.String toString()
Returns a string representation of the semantic space.

Overrides:
toString in class java.lang.Object

containsTarget

boolean containsTarget(java.lang.String t)
Determines if the target t is represented in the semantic space.


containsBE

boolean containsBE(java.lang.String b)
Determines if the basis element b is used for representation in the semantic space.