public class LdaResult extends Object
| Constructor and Description |
|---|
LdaResult(LdaModel model,
List<Doc> documents) |
| Modifier and Type | Method and Description |
|---|---|
long |
docCount() |
List<Doc> |
documents() |
double[][] |
getTopicCorrelations() |
List<com.github.chen0040.data.utils.TupleTwo<Doc,Double>> |
scoreDocuments(int selectedTopicIndex) |
List<com.github.chen0040.data.utils.TupleTwo<Doc,Double>> |
topDocuments(int selectedTopicIndex,
int limits) |
int |
topicCount() |
String |
topicSummary(int selectedTopicIndex) |
List<com.github.chen0040.data.utils.TupleTwo<String,Integer>> |
topKeyWords(int selectedTopicIndex,
int limits) |
List<com.github.chen0040.data.text.VocabularyTableCell> |
vocabularyTable(int size) |
public long docCount()
public List<com.github.chen0040.data.utils.TupleTwo<Doc,Double>> scoreDocuments(int selectedTopicIndex)
public String topicSummary(int selectedTopicIndex)
public List<com.github.chen0040.data.utils.TupleTwo<String,Integer>> topKeyWords(int selectedTopicIndex, int limits)
public int topicCount()
public List<com.github.chen0040.data.utils.TupleTwo<Doc,Double>> topDocuments(int selectedTopicIndex, int limits)
public List<com.github.chen0040.data.text.VocabularyTableCell> vocabularyTable(int size)
public double[][] getTopicCorrelations()
Copyright © 2017. All rights reserved.