Modifier and Type | Class and Description |
---|---|
class |
BasicModelUtils<T extends SequenceElement>
Basic implementation for ModelUtils interface, suited for standalone use.
|
class |
FlatModelUtils<T extends SequenceElement>
This model reader is suited for model tests, and for cases where flat scan against elements is required.
|
class |
TreeModelUtils<T extends SequenceElement>
This is VPTree-based implementation for wordsNearest method, suited for multiple consequent calls.
|
Modifier and Type | Field and Description |
---|---|
protected ModelUtils<T> |
WordVectorsImpl.modelUtils |
Modifier and Type | Method and Description |
---|---|
void |
WordVectors.setModelUtils(ModelUtils utils)
Specifies ModelUtils to be used to access model
|
void |
WordVectorsImpl.setModelUtils(ModelUtils modelUtils) |
Modifier and Type | Method and Description |
---|---|
Glove.Builder |
Glove.Builder.modelUtils(ModelUtils<VocabWord> modelUtils)
Sets ModelUtils that gonna be used as provider for utility methods: similarity(), wordsNearest(), accuracy(), etc
|
Modifier and Type | Method and Description |
---|---|
ParagraphVectors.Builder |
ParagraphVectors.Builder.modelUtils(ModelUtils<VocabWord> modelUtils)
Sets ModelUtils that gonna be used as provider for utility methods: similarity(), wordsNearest(), accuracy(), etc
|
Modifier and Type | Field and Description |
---|---|
protected ModelUtils<T> |
SequenceVectors.Builder.modelUtils |
Modifier and Type | Method and Description |
---|---|
SequenceVectors.Builder<T> |
SequenceVectors.Builder.modelUtils(ModelUtils<T> modelUtils)
ModelUtils implementation, that will be used to access model.
|
Modifier and Type | Method and Description |
---|---|
Word2Vec.Builder |
Word2Vec.Builder.modelUtils(ModelUtils<VocabWord> modelUtils)
Sets ModelUtils that gonna be used as provider for utility methods: similarity(), wordsNearest(), accuracy(), etc
|
void |
StaticWord2Vec.setModelUtils(ModelUtils utils)
Specifies ModelUtils to be used to access model
PLEASE NOTE: This method has no effect in this implementation.
|
Copyright © 2016. All Rights Reserved.