| Modifier and Type | Field and Description |
|---|---|
protected LookupCacheEncoder |
encoder |
| Constructor and Description |
|---|
Factory(LookupCacheEncoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachFromSectionAnnotations(Document doc,
Annotation.Source source) |
void |
attachFromSentenceVectors(Document doc,
Class<? extends Encoder> encoder,
Annotation.Source source) |
ClassTag |
create(org.nd4j.linalg.api.ndarray.INDArray prediction) |
ClassTag |
create(String heading) |
protected final LookupCacheEncoder encoder
public Factory(LookupCacheEncoder encoder)
public ClassTag create(org.nd4j.linalg.api.ndarray.INDArray prediction)
public void attachFromSectionAnnotations(Document doc, Annotation.Source source)
public void attachFromSentenceVectors(Document doc, Class<? extends Encoder> encoder, Annotation.Source source)
Copyright © 2019. All rights reserved.