Package | Description |
---|---|
edu.ucla.sspace.dri | |
edu.ucla.sspace.index | |
edu.ucla.sspace.isa | |
edu.ucla.sspace.ri | |
edu.ucla.sspace.tri | |
edu.ucla.sspace.wordsi |
Modifier and Type | Method and Description |
---|---|
DependencyPermutationFunction<TernaryVector> |
DependencyRandomIndexing.getPermutations() |
Map<String,TernaryVector> |
DependencyRandomIndexing.getWordToVectorMap() |
Modifier and Type | Method and Description |
---|---|
void |
DependencyRandomIndexing.setWordToIndexVector(Map<String,TernaryVector> m)
Assigns the word to
IntegerVector mapping to be used by this
instance. |
void |
DependencyRandomIndexing.setWordToVectorMap(Map<String,TernaryVector> vectorMap) |
Constructor and Description |
---|
DependencyRandomIndexing(DependencyPermutationFunction<TernaryVector> permFunc)
Creates a new instance of
DependencyRandomIndexing that takes
ownership of a DependencyExtractor and uses the System provided
properties to specify other class objects. |
DependencyRandomIndexing(DependencyPermutationFunction<TernaryVector> permFunc,
Properties properties)
Create a new instance of
DependencyRandomIndexing which
takes ownership |
Modifier and Type | Method and Description |
---|---|
TernaryVector |
RandomIndexVectorGenerator.generate()
Creates an
TernaryVector with the provided length. |
TernaryVector |
TernaryPermutationFunction.permute(TernaryVector v,
int numPermutations)
An optimized instance of permute for TernaryVectors.
|
Modifier and Type | Method and Description |
---|---|
TernaryVector |
TernaryPermutationFunction.permute(TernaryVector v,
int numPermutations)
An optimized instance of permute for TernaryVectors.
|
Modifier and Type | Method and Description |
---|---|
Map<String,TernaryVector> |
IncrementalSemanticAnalysis.getWordToIndexVector()
Returns an unmodifiable view on the token to
IntegerVector
mapping used by this instance. |
Modifier and Type | Method and Description |
---|---|
void |
IncrementalSemanticAnalysis.setWordToIndexVector(Map<String,TernaryVector> m)
Assigns the token to
IntegerVector mapping to be used by this
instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,TernaryVector> |
RandomIndexing.getWordToIndexVector()
Returns an unmodifiable view on the token to
IntegerVector
mapping used by this instance. |
static Map<String,TernaryVector> |
IndexVectorUtil.load(File indexVectorFile)
Loads a mapping from word to
TernaryVector from the file |
Modifier and Type | Method and Description |
---|---|
static void |
IndexVectorUtil.save(Map<String,TernaryVector> wordToIndexVector,
File output)
Saves the mapping from word to
TernaryVector to the specified
file. |
void |
RandomIndexing.setWordToIndexVector(Map<String,TernaryVector> m)
Assigns the token to
IntegerVector mapping to be used by this
instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,TernaryVector> |
OrderedTemporalRandomIndexing.getWordToIndexVector()
Returns an unmodifiable view on the token to
TernaryVector
mapping used by this instance. |
Modifier and Type | Method and Description |
---|---|
void |
OrderedTemporalRandomIndexing.setWordToIndexVector(Map<String,TernaryVector> m)
Assigns the token to
TernaryVector mapping to be used by this
instance. |
Constructor and Description |
---|
RandomIndexingContextGenerator(Map<String,TernaryVector> indexMap,
PermutationFunction<TernaryVector> perm,
int indexVectorLength)
Creates a new
RandomIndexingContextGenerator . |
RandomIndexingContextGenerator(Map<String,TernaryVector> indexMap,
PermutationFunction<TernaryVector> perm,
int indexVectorLength)
Creates a new
RandomIndexingContextGenerator . |
RandomIndexingDependencyContextGenerator(DependencyPermutationFunction<TernaryVector> permFunc,
DependencyPathAcceptor acceptor,
Map<String,TernaryVector> indexMap,
int indexVectorLength,
int pathLength)
Creates a new
RandomIndexingDependencyContextGenerator . |
RandomIndexingDependencyContextGenerator(DependencyPermutationFunction<TernaryVector> permFunc,
DependencyPathAcceptor acceptor,
Map<String,TernaryVector> indexMap,
int indexVectorLength,
int pathLength)
Creates a new
RandomIndexingDependencyContextGenerator . |
Copyright © 2012. All Rights Reserved.