Modifier and Type | Class and Description |
---|---|
class |
InMemoryLookupTable<T extends SequenceElement>
Default word lookup table
|
Modifier and Type | Method and Description |
---|---|
void |
SequenceLearningAlgorithm.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
void |
ElementsLearningAlgorithm.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
SkipGram.lookupTable |
Modifier and Type | Method and Description |
---|---|
void |
CBOW.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
void |
SkipGram.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration)
SkipGram initialization over given vocabulary and WeightLookupTable
|
void |
GloVe.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
DBOW.lookupTable |
Modifier and Type | Method and Description |
---|---|
void |
DBOW.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
void |
DM.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static WordVectors |
WordVectorSerializer.fromTableAndVocab(WeightLookupTable table,
VocabCache vocab)
Load word vectors for the given vocab and table
|
static <T extends SequenceElement> |
WordVectorSerializer.writeWordVectors(WeightLookupTable<T> lookupTable,
File file)
This mehod writes word vectors to the given file.
|
static <T extends SequenceElement> |
WordVectorSerializer.writeWordVectors(WeightLookupTable<T> lookupTable,
OutputStream stream)
This mehod writes word vectors to the given OutputStream.
|
static <T extends SequenceElement> |
WordVectorSerializer.writeWordVectors(WeightLookupTable<T> lookupTable,
String path)
This mehod writes word vectors to the given path.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelUtils.init(WeightLookupTable<T> lookupTable)
This method implementations should accept given lookup table, and use them in further calls to interface methods
|
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
BasicModelUtils.lookupTable |
Modifier and Type | Method and Description |
---|---|
void |
TreeModelUtils.init(WeightLookupTable<T> lookupTable) |
void |
BasicModelUtils.init(WeightLookupTable<T> lookupTable) |
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
WordVectorsImpl.lookupTable |
Modifier and Type | Method and Description |
---|---|
WeightLookupTable |
WordVectorsImpl.lookupTable() |
WeightLookupTable |
WordVectors.lookupTable()
Lookup table for the vectors
|
Modifier and Type | Method and Description |
---|---|
void |
WordVectorsImpl.setLookupTable(WeightLookupTable lookupTable) |
Modifier and Type | Class and Description |
---|---|
class |
GloveWeightLookupTable<T extends SequenceElement>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Glove.Builder |
Glove.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable) |
Modifier and Type | Method and Description |
---|---|
Node2Vec.Builder<V,E> |
Node2Vec.Builder.lookupTable(WeightLookupTable<V> lookupTable) |
Modifier and Type | Method and Description |
---|---|
ParagraphVectors.Builder |
ParagraphVectors.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used
|
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
SequenceVectors.Builder.lookupTable |
Modifier and Type | Method and Description |
---|---|
SequenceVectors.Builder<T> |
SequenceVectors.Builder.lookupTable(WeightLookupTable<T> lookupTable)
You can pass externally built WeightLookupTable, containing model weights and vocabulary.
|
Modifier and Type | Method and Description |
---|---|
WeightLookupTable |
StaticWord2Vec.lookupTable()
Lookup table for the vectors
PLEASE NOTE: This method is not available in this implementation.
|
Modifier and Type | Method and Description |
---|---|
Word2Vec.Builder |
Word2Vec.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used
|
Modifier and Type | Method and Description |
---|---|
protected WeightLookupTable<T> |
VocabConstructor.buildExtendedLookupTable()
Placeholder for future implementation
|
Copyright © 2017. All rights reserved.