public interface ITopicModelProvider
extends org.apache.uima.resource.SharedResourceObject
| Modifier and Type | Method and Description |
|---|---|
void |
addToIndex(String docId,
List<de.julielab.topicmodeling.businessobjects.Topic> topicList) |
void |
allowSave() |
de.julielab.topicmodeling.businessobjects.Model |
getModel() |
Object[][] |
getTopWords(int numwords)
Return an array (one element for each topic) of arrays of words, which
are the most probable words for that topic in descending order.
|
void |
saveModel() |
void |
setModelSavePath(String path) |
de.julielab.topicmodeling.businessobjects.Model getModel()
void setModelSavePath(String path)
void allowSave()
void saveModel()
throws IOException
IOExceptionvoid addToIndex(String docId, List<de.julielab.topicmodeling.businessobjects.Topic> topicList)
Object[][] getTopWords(int numwords)
numwords - The maximum length of each topic's array of words (may be less).Copyright © 2019 JULIE Lab Jena, Germany. All rights reserved.