public class Lda extends Object
| Modifier and Type | Field and Description |
|---|---|
LdaModel |
model |
java.util.function.Consumer<String> |
progressListener |
| Constructor and Description |
|---|
Lda() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStopWords(List<String> stopWords) |
void |
copy(Lda that) |
LdaResult |
fit(List<String> docs) |
Lda |
makeCopy() |
int |
sampleDiscrete(double[] weights) |
void |
setProgressListener(java.util.function.Consumer<String> listener) |
public LdaModel model
public java.util.function.Consumer<String> progressListener
public void setProgressListener(java.util.function.Consumer<String> listener)
public Lda makeCopy()
public void copy(Lda that)
public int sampleDiscrete(double[] weights)
Copyright © 2017. All rights reserved.