-
Notifications
You must be signed in to change notification settings - Fork 106
SemanticSpaceClasses
fozziethebeat edited this page Oct 27, 2011
·
2 revisions
[SemanticSpace
] (http://fozziethebeat.github.com/S-Space/apidocs/edu/ucla/sspace/common/SemanticSpace.html) is an interface
that defines the basic functionality which all Semantic Space models should implement for uniformity of use. It is designed so that a SemanticSpace
is a multi-step process:
-
processDocument()
- run for each document to add it to the sspace -
processSpace()
- run after all documents have been added, for post-processing (e.g. SVD) -
getWords()
- call to obtain aSet
of words in the sspace -
getVector()
- call to obtain the vector associate for a give word
Various utilities are then provided for any implemented SemanticSpace
, such as storing the sspace as a binary or text file, and retrieving the sspace from a binary or text file for evaluation purposes.