Package | Description |
---|---|
edu.ucla.sspace.gws | |
edu.ucla.sspace.vector |
Modifier and Type | Method and Description |
---|---|
SparseIntegerVector |
GenericWordSpace.getVector(String word)
Returns the semantic vector for the provided word.
|
Modifier and Type | Class and Description |
---|---|
class |
CompactSparseIntegerVector
A sparse
IntegerVector class whose data is back by a compact sparse
array. |
class |
SparseHashIntegerVector
A
SparseVector implementation backed by a HashMap . |
Modifier and Type | Method and Description |
---|---|
static SparseIntegerVector |
Vectors.immutable(SparseIntegerVector vector)
Returns an immutable view of the given
SparseIntegerVector . |
static SparseIntegerVector |
Vectors.subview(SparseIntegerVector vector,
int offset,
int length)
Returns a subview for the given
IntegerVector with a specified
offset and length. |
Modifier and Type | Method and Description |
---|---|
static SparseDoubleVector |
Vectors.asDouble(SparseIntegerVector v) |
static SparseIntegerVector |
Vectors.immutable(SparseIntegerVector vector)
Returns an immutable view of the given
SparseIntegerVector . |
static SparseIntegerVector |
Vectors.subview(SparseIntegerVector vector,
int offset,
int length)
Returns a subview for the given
IntegerVector with a specified
offset and length. |
Copyright © 2012. All Rights Reserved.