Modifier and Type | Class and Description |
---|---|
class |
Beagle
An implementation of the Beagle Semantic Space model.
|
Modifier and Type | Class and Description |
---|---|
class |
Coals
An implementation of the COALS Semantic Space model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DimensionallyInterpretableSemanticSpace<T>
An interface for
SemanticSpace instances that are meaningfully
interpretable. |
Modifier and Type | Class and Description |
---|---|
class |
CachingOnDiskSemanticSpace
A
SemanticSpace where most vector data is kept on disk, but
frequently accessed data is kept in memory. |
class |
GenericTermDocumentVectorSpace
This base class centralizes much of the common text processing needed for
term-document based
SemanticSpace s. |
class |
OnDiskSemanticSpace
A
SemanticSpace where all vector data is kept on disk. |
class |
StaticSemanticSpace
An unmodifiable
SemanticSpace whose data is loaded into memory from
an .sspace file. |
class |
VectorMapSemanticSpace<T extends Vector>
|
Modifier and Type | Method and Description |
---|---|
static SemanticSpace |
SemanticSpaceIO.load(File sspaceFile)
Loads and returns the
SemanticSpace stored in the specified
file. |
static SemanticSpace |
SemanticSpaceIO.load(File sspaceFile,
SemanticSpaceIO.SSpaceFormat format)
Deprecated.
|
static SemanticSpace |
SemanticSpaceIO.load(String sspaceFileName)
Loads and returns the
SemanticSpace from the file with the
specified name. |
static SemanticSpace |
SemanticSpaceIO.load(String sspaceFileName,
SemanticSpaceIO.SSpaceFormat format)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SortedMultiMap<Double,String> |
WordComparator.getMostSimilar(String word,
SemanticSpace sspace,
int numberOfSimilarWords,
Similarity.SimType similarityType)
Compares the provided word to all other words in the provided
SemanticSpace and return the specified number of words that were most
similar according to the specified similarity measure. |
static void |
SemanticSpaceIO.save(SemanticSpace sspace,
File output)
Writes the data contained in the
SemanticSpace to the provided
file using the SemanticSpaceIO.SSpaceFormat.TEXT format. |
static void |
SemanticSpaceIO.save(SemanticSpace sspace,
File output,
SemanticSpaceIO.SSpaceFormat format)
Writes the data contained in the
SemanticSpace to the provided
file and format. |
static void |
SemanticSpaceIO.save(SemanticSpace sspace,
String outputFileName)
Writes the data contained in the
SemanticSpace to the file with
the provided name using the SemanticSpaceIO.SSpaceFormat.TEXT format. |
Constructor and Description |
---|
DocumentVectorBuilder(SemanticSpace baseSpace)
Creates a
DocumentVectorBuilder from a SemanticSpace and
extracts options from the system wide Properties . |
DocumentVectorBuilder(SemanticSpace baseSpace,
Properties props)
Creates a
DocumentVectorBuilder from a SemanticSpace and
extracts options from the given Properties . |
Modifier and Type | Class and Description |
---|---|
class |
DependencyRandomIndexing
A co-occurrence based approach to statistical semantics that uses dependency
parse trees and approximates a full co-occurrence matrix by using a
randomized projection.
|
Modifier and Type | Class and Description |
---|---|
class |
DependencyVectorSpace
An implementation of the Dependency Vector Space word space model.
|
Modifier and Type | Class and Description |
---|---|
class |
ExplicitSemanticAnalysis
An implementation of Explicit Semanic Analysis proposed by Evgeniy
Gabrilovich and Shaul Markovitch.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
DeeseAntonymEvaluation.computeAssociation(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
protected abstract Double |
AbstractWordAssociationTest.computeAssociation(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
protected abstract Double |
AbstractWordPrimingTest.computePriming(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
protected Double |
OnePairPerLinePrimingTest.computePriming(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
double |
OneNormedQuestionPerLineTest.computeStrength(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
protected abstract double |
AbstractNormedWordPrimingTest.computeStrength(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
WordPrimingReport |
AbstractWordPrimingTest.evaluate(SemanticSpace sspace)
Evaluates the performance of a given
SemanticSpace on a given
WordSimilarityEvaluation using the provided similarity metric. |
NormedWordPrimingReport |
NormedWordPrimingTest.evaluate(SemanticSpace sspace) |
WordAssociationReport |
WordAssociationTest.evaluate(SemanticSpace sspace) |
NormedWordPrimingReport |
AbstractNormedWordPrimingTest.evaluate(SemanticSpace sspace)
Evaluates the performance of a given
SemanticSpace on a given
WordSimilarityEvaluation using the provided similarity metric. |
WordPrimingReport |
WordPrimingTest.evaluate(SemanticSpace sspace)
Evaluates a
SemanticSpace on a particular test of word priming
pairs. |
WordAssociationReport |
AbstractWordAssociationTest.evaluate(SemanticSpace sspace)
Evaluates the performance of a given
SemanticSpace on a given
WordSimilarityEvaluation using the provided similarity metric. |
static WordChoiceReport |
WordChoiceEvaluationRunner.evaluate(SemanticSpace sspace,
WordChoiceEvaluation test,
Similarity.SimType vectorComparisonType)
Evaluates the performance of a given
SemanticSpace on a given
WordChoiceEvaluation using the provided similarity metric. |
static WordSimilarityReport |
WordSimilarityEvaluationRunner.evaluate(SemanticSpace sspace,
WordSimilarityEvaluation test,
Similarity.SimType vectorComparisonType)
Evaluates the performance of a given
SemanticSpace on a given
WordSimilarityEvaluation using the provided similarity metric. |
Modifier and Type | Class and Description |
---|---|
class |
Grefenstette
An implementation of a semantic space built from syntactic co-occurrence, as
described by Grefenstette.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericWordSpace
The most basic co-occurrence model that counts word co-occurrence within a
sliding window with no further processing.
|
Modifier and Type | Class and Description |
---|---|
class |
HyperspaceAnalogueToLanguage
A
SemanticSpace implementation of the Hyperspace Analogue to Language
(HAL) algorithm described by Lund and Burgess. |
Modifier and Type | Class and Description |
---|---|
class |
IncrementalSemanticAnalysis
An implementation of Incremental Semantic Analysis (ISA).
|
Modifier and Type | Class and Description |
---|---|
class |
LatentSemanticAnalysis
An implementation of Latent Semantic Analysis (LSA).
|
Modifier and Type | Method and Description |
---|---|
SemanticSpace |
ESAMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
GenericWordsiMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
SemanticSpace |
CoalsMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
VsmMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
HALMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
GwsMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
StructuredVectorSpaceMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
DependencyVectorSpaceMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
SemanticSpace |
DependencyRandomIndexingMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected abstract SemanticSpace |
GenericMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
IsaMain.getSpace() |
protected SemanticSpace |
LpcsMain.getSpace() |
protected SemanticSpace |
ReflectiveRandomIndexingMain.getSpace()
Returns an instance of
ReflectiveRandomIndexing . |
SemanticSpace |
GrefenstetteMain.getSpace()
Returns an instance of the
Grefenstette algorithm. |
protected SemanticSpace |
PurandareMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
PLSAMain.getSpace() |
SemanticSpace |
BeagleMain.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
LSAMain.getSpace() |
protected SemanticSpace |
RandomIndexingMain.getSpace()
Returns an instance of
RandomIndexing . |
protected SemanticSpace |
LpsaMain.getSpace() |
Modifier and Type | Method and Description |
---|---|
protected void |
GenericMain.parseDocumentsMultiThreaded(SemanticSpace sspace,
Iterator<Document> docIter,
int numThreads)
Calls
processDocument once for every document in docIter using a the
specified number thread to call processSpace on the SemanticSpace instance. |
protected void |
GenericMain.parseDocumentsSingleThreaded(SemanticSpace sspace,
Iterator<Document> docIter)
Calls
processDocument once for every document in docIter using a
single thread to interact with the SemanticSpace instance. |
protected void |
GenericMain.processDocumentsAndSpace(SemanticSpace space,
Iterator<Document> docIter,
int numThreads,
Properties props)
Processes all the documents held by the iterator and process the space.
|
protected void |
GenericMain.saveSSpace(SemanticSpace sspace,
File outputFile)
Serializes the
SemanticSpace object to outputFile . |
Modifier and Type | Class and Description |
---|---|
class |
LocalityPreservingCooccurrenceSpace |
class |
LocalityPreservingSemanticAnalysis
An implementation of Locality Preserving Semantic Analysis (LPSA).
|
Modifier and Type | Class and Description |
---|---|
class |
PurandareFirstOrder
An implementation of the word sense induction algorithm described by
Purandare and Pedersen.
|
Modifier and Type | Class and Description |
---|---|
class |
RandomIndexing
A co-occurrence based approach to statistical semantics that uses a
randomized projection of a full co-occurrence matrix to perform
dimensionality reduction.
|
Modifier and Type | Class and Description |
---|---|
class |
ReflectiveRandomIndexing
An implementation of Reflective Random Indexing, which uses a two passes
through the corpus to build semantic vectors that better approximate indirect
co-occurrence.
|
Modifier and Type | Class and Description |
---|---|
class |
StructuredVectorSpace
A dependency parsed based approach to statistical semantics that uses a
collection of vectors to represent a word.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TemporalSemanticSpace
A common interface for interacting with semantic space models of meaning that
include time information in their word representation.
|
Modifier and Type | Class and Description |
---|---|
class |
FileBasedTemporalSemanticSpace
A
TemporalSemanticSpace created from the serialized output of another
TemporalSemanticSpace after it has finished processing. |
Modifier and Type | Class and Description |
---|---|
class |
BasisMaker.OccurrenceCounter
A simple term
SemanticSpace implementation that counts word
co-occurrences, performs a transform, and then scores each recorded basis
dimension based on the row summed scores for each word. |
class |
DependencyBasisMaker.OccurrenceCounter
A simple term
SemanticSpace implementation that counts word
co-occurrences, performs a transform, and then scores each recorded basis
dimension based on the row summed scores for each word. |
Modifier and Type | Method and Description |
---|---|
protected SemanticSpace |
BasisMaker.getSpace()
Returns the
SemanticSpace that will be used for processing. |
protected SemanticSpace |
DependencyBasisMaker.getSpace()
Returns the
SemanticSpace that will be used for processing. |
Modifier and Type | Method and Description |
---|---|
protected void |
BasisMaker.saveSSpace(SemanticSpace sspace,
File outputFile)
Saves the
BasisMapping created from the BasisMaker.OccurrenceCounter . |
protected void |
DependencyBasisMaker.saveSSpace(SemanticSpace sspace,
File outputFile)
Saves the
BasisMapping created from the DependencyBasisMaker.OccurrenceCounter . |
Modifier and Type | Class and Description |
---|---|
class |
FixedDurationTemporalRandomIndexing
A
TemporalSemanticSpace class that optimizes a special case of TemporalRandomIndexing where the documents are in sorted order and the
duration of a semantic partition is fixed. |
class |
OrderedTemporalRandomIndexing
A simplified version of
TemporalRandomIndexing that imposes
restrictions on the document input ordering to improve efficiency at the cost
of functionality. |
Constructor and Description |
---|
PartitioningNearestNeighborFinder(SemanticSpace sspace)
Creates a new
NearestNeighborFinder for the SemanticSpace , using loge(|words|) principle vectors to
efficiently search for neighbors. |
PartitioningNearestNeighborFinder(SemanticSpace sspace,
int numPrincipleVectors)
Creates a new
NearestNeighborFinder for the SemanticSpace , using the specified number of principle vectors to
efficiently search for neighbors. |
SemanticSpaceMatrix(SemanticSpace sspace)
Creates a
Matrix whose data is backed by the provided SemanticSpace . |
SimpleNearestNeighborFinder(SemanticSpace sspace)
Creates this
SimpleNearestNeighborFinder with as many threads as
processors, and using the cosine similarity for word comparisons. |
SimpleNearestNeighborFinder(SemanticSpace sspace,
int numThreads)
Creates this
SimpleNearestNeighborFinder with the specified
number of threads, using the cosine similarity for word comparisons. |
SimpleNearestNeighborFinder(SemanticSpace sspace,
SimilarityFunction similarity)
Creates this
SimpleNearestNeighborFinder with as many threads as
processings and using the provided similarity function to compare words. |
SimpleNearestNeighborFinder(SemanticSpace sspace,
SimilarityFunction similarity,
int numThreads)
Creates this
SimpleNearestNeighborFinder with the specified
number of threads and using the provided similarity function to compare
words. |
Modifier and Type | Class and Description |
---|---|
class |
VectorSpaceModel
An implementation of the Vector Space Model
(VSM).
|
Modifier and Type | Class and Description |
---|---|
class |
BaseWordsi
This base class accepts or rejects key words based on a set of
acceptedWords and dispatches calls to a ContextExtractor so that
Wordsi sub-classes will be called with each generated vector. |
class |
EvaluationWordsi
An
Wordsi implementation to be used for evaluations. |
class |
StreamingWordsi
A
Wordsi implementation that utilizes streaming, or online,
clustering algorithms. |
class |
WaitingWordsi
A
Wordsi implementation that performs batch clustering. |
Constructor and Description |
---|
EvaluationWordsi(Set<String> acceptedWords,
ContextExtractor extractor,
SemanticSpace sspace,
AssignmentReporter reporter)
Creates a new
EvaluationWordsi . |
Copyright © 2012. All Rights Reserved.