org.apache.ctakes.relationextractor.ae.features
Class PhraseChunkingExtractor

java.lang.Object
  extended by org.apache.ctakes.relationextractor.ae.features.PhraseChunkingExtractor
All Implemented Interfaces:
RelationFeaturesExtractor

public class PhraseChunkingExtractor
extends java.lang.Object
implements RelationFeaturesExtractor


Constructor Summary
PhraseChunkingExtractor()
           
 
Method Summary
 java.util.List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation arg1, IdentifiedAnnotation arg2)
          Extract features for the pair of named entity mentions.
(package private)  java.util.List<TerminalTreebankNode> extractPhraseHeadByTreenode(org.apache.uima.jcas.JCas jCas, java.util.List<TreebankNode> treenodesList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhraseChunkingExtractor

public PhraseChunkingExtractor()
Method Detail

extractPhraseHeadByTreenode

java.util.List<TerminalTreebankNode> extractPhraseHeadByTreenode(org.apache.uima.jcas.JCas jCas,
                                                                 java.util.List<TreebankNode> treenodesList)

extract

public java.util.List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas jCas,
                                                              IdentifiedAnnotation arg1,
                                                              IdentifiedAnnotation arg2)
                                                       throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Description copied from interface: RelationFeaturesExtractor
Extract features for the pair of named entity mentions.

Specified by:
extract in interface RelationFeaturesExtractor
Parameters:
jCas - The JCas containing the two named entity mentions.
arg1 - The first identified annotation in the text.
arg2 - The second identified annotation in the text.
Returns:
A list of features indicative of the relation between the named entities
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException