public abstract class TemporalLinkAnnotator_ImplBase<SOURCE extends org.cleartk.timeml.type.Anchor,TARGET extends org.cleartk.timeml.type.Anchor> extends org.cleartk.classifier.CleartkAnnotator<String>
| Modifier and Type | Class and Description |
|---|---|
protected class |
TemporalLinkAnnotator_ImplBase.SourceTargetPair |
| Modifier and Type | Field and Description |
|---|---|
protected List<org.cleartk.classifier.feature.extractor.BetweenAnnotationsFeatureExtractor> |
betweenExtractors |
static Map<String,String> |
REVERSE_RELATION |
protected List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> |
sourceExtractors |
protected List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> |
targetExtractors |
| Constructor and Description |
|---|
TemporalLinkAnnotator_ImplBase(Class<SOURCE> sourceClass,
Class<TARGET> targetClass,
String... trainingRelationTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<TemporalLinkAnnotator_ImplBase.SourceTargetPair> |
getSourceTargetPairs(org.apache.uima.jcas.JCas jCas)
Returns the (source, target) anchor pairs for which a relation should be classified.
|
protected static String |
noLeavesPath(org.cleartk.syntax.constituent.type.TreebankNodeUtil.TreebankNodePath path) |
void |
process(org.apache.uima.jcas.JCas jCas) |
protected void |
setBetweenExtractors(List<org.cleartk.classifier.feature.extractor.BetweenAnnotationsFeatureExtractor> extractors) |
protected void |
setSourceExtractors(List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> extractors) |
protected void |
setTargetExtractors(List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> extractors) |
collectionProcessComplete, initialize, isTraininggetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextprotected List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> sourceExtractors
protected List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> targetExtractors
protected List<org.cleartk.classifier.feature.extractor.BetweenAnnotationsFeatureExtractor> betweenExtractors
protected void setSourceExtractors(List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> extractors)
protected void setTargetExtractors(List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> extractors)
protected void setBetweenExtractors(List<org.cleartk.classifier.feature.extractor.BetweenAnnotationsFeatureExtractor> extractors)
protected abstract List<TemporalLinkAnnotator_ImplBase.SourceTargetPair> getSourceTargetPairs(org.apache.uima.jcas.JCas jCas)
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_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionprotected static String noLeavesPath(org.cleartk.syntax.constituent.type.TreebankNodeUtil.TreebankNodePath path)
Copyright © 2013. All Rights Reserved.