public class LanguageDetectorWeb1T
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_FREQUENCY_PROVIDER_RESOURCES
An array of external resources of frequency providers (one for each language that should be detected).
|
static String |
PARAM_MAX_NGRAM_SIZE
The maximum n-gram size that should be considered.
|
static String |
PARAM_MIN_NGRAM_SIZE
The minimum n-gram size that should be considered.
|
Constructor and Description |
---|
LanguageDetectorWeb1T() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_FREQUENCY_PROVIDER_RESOURCES
public static final String PARAM_MIN_NGRAM_SIZE
public static final String PARAM_MAX_NGRAM_SIZE
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 jcas) 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.