public class MalletLdaTopicModelInferencer
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
ParallelTopicModel
.Modifier and Type | Field and Description |
---|---|
static String |
PARAM_BURN_IN
The number of iterations before hyperparameter optimization begins.
|
static String |
PARAM_LOWERCASE
If set to true (default: false), all tokens are lowercased.
|
static String |
PARAM_MAX_TOPIC_ASSIGNMENTS
Maximum number of topics to assign.
|
static String |
PARAM_MIN_TOKEN_LENGTH
Ignore tokens (or lemmas, respectively) that are shorter than the given value.
|
static String |
PARAM_MIN_TOPIC_PROB
Minimum topic proportion for the document-topic assignment.
|
static String |
PARAM_MODEL_LOCATION |
static String |
PARAM_N_ITERATIONS
The number of iterations during inference.
|
static String |
PARAM_THINNING |
static String |
PARAM_TOKEN_FEATURE_PATH
The annotation type to use for the model.
|
static String |
PARAM_TYPE_NAME
The annotation type to use as tokens.
|
Constructor and Description |
---|
MalletLdaTopicModelInferencer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_MODEL_LOCATION
public static final String PARAM_TYPE_NAME
Token
public static final String PARAM_N_ITERATIONS
public static final String PARAM_BURN_IN
public static final String PARAM_THINNING
public static final String PARAM_MIN_TOPIC_PROB
public static final String PARAM_MAX_TOPIC_ASSIGNMENTS
public static final String PARAM_TOKEN_FEATURE_PATH
de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token
.
For lemmas, use de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token/lemma/value
public static final String PARAM_MIN_TOKEN_LENGTH
public static final String PARAM_LOWERCASE
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.