public class ExternalClassifier extends Classifier<Object>
conf
Constructor and Description |
---|
ExternalClassifier(ClassifierConfiguration<Object> aConfiguration,
CustomAnnotationObjectLoader aLoader,
ExternalClassifierTraits aTraits,
long aRecommenderId) |
Modifier and Type | Method and Description |
---|---|
<T extends TokenObject> |
predict(org.apache.uima.jcas.JCas aJCas,
de.tudarmstadt.ukp.clarin.webanno.model.AnnotationLayer layer) |
List<List<List<AnnotationObject>>> |
predictSentences(List inputData) |
void |
reconfigure() |
void |
setModel(Object m) |
mergeAdjacentTokensWithSameLabel, setProject, setUser
getClassifierConfiguration, setClassifierConfiguration
public ExternalClassifier(ClassifierConfiguration<Object> aConfiguration, CustomAnnotationObjectLoader aLoader, ExternalClassifierTraits aTraits, long aRecommenderId)
public void setModel(Object m)
setModel
in class Classifier<Object>
public List<List<List<AnnotationObject>>> predictSentences(List inputData)
predictSentences
in class Classifier<Object>
public void reconfigure()
reconfigure
in class ConfigurableComponent<Object>
public <T extends TokenObject> List<AnnotationObject> predict(org.apache.uima.jcas.JCas aJCas, de.tudarmstadt.ukp.clarin.webanno.model.AnnotationLayer layer)
predict
in class Classifier<Object>
Copyright © 2018. All rights reserved.