| Package | Description |
|---|---|
| de.julielab.topicmodeling.services |
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
MalletTopicModeling.readDocuments(File file,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
List<Document> |
ITopicModeling.readDocuments(File file,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
List<Document> |
MalletTopicModeling.readXmiDb(MalletTopicModeling tm,
org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Topic>> |
MalletTopicModeling.inferLabel(Document doc,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig)
The argument topicWords has to be passed here due to performance reasons; this object is
available in every model.malletModel by the method getTopWords()
|
Map<String,List<Topic>> |
ITopicModeling.inferLabel(Document docs,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
TMSearchResult |
MalletTopicModeling.search(Document query,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
TMSearchResult |
ITopicModeling.search(Document query,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
TMSearchResult |
MalletTopicModeling.searchIndexOnly(Document query,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
TMSearchResult |
MalletTopicModeling.searchModelOnly(Document query,
Model model,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
| Modifier and Type | Method and Description |
|---|---|
List<cc.mallet.types.TokenSequence> |
MalletTopicModeling.jcorePreprocess(List<Document> docs) |
void |
MalletTopicModeling.mapMalletIdToPubmedId(List<Document> docs,
Model model) |
void |
MalletTopicModeling.mapPubmedIdToMalletId(List<Document> docs,
Model model) |
cc.mallet.types.InstanceList |
MalletTopicModeling.preprocess(List<Document> docs) |
Model |
MalletTopicModeling.train(List<Document> docs,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
Model |
ITopicModeling.train(List<Document> docs,
org.apache.commons.configuration2.XMLConfiguration xmlConfig) |
Copyright © 2018 JULIE Lab, Germany. All rights reserved.