edu.washington.cs.knowitall.nlp.extraction
Class ChunkedArgumentExtraction

java.lang.Object
  extended by edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction
      extended by edu.washington.cs.knowitall.nlp.extraction.ChunkedArgumentExtraction
All Implemented Interfaces:
ChunkedSource, Extraction<ChunkedSentence>, PosTagged, Tokenized

public class ChunkedArgumentExtraction
extends ChunkedExtraction

A class representing a noun phrase argument of a relation.

Author:
afader

Constructor Summary
ChunkedArgumentExtraction(ChunkedSentence sent, Range range, ChunkedExtraction relation)
          Constructs a new NpChunkArgumentExtraction from sent for relation.
 
Method Summary
 ChunkedExtraction getRelation()
           
 
Methods inherited from class edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction
equals, getLength, getPair, getPosTag, getPosTags, getPosTags, getPosTags, getRange, getSentence, getSource, getStart, getToken, getTokens, getTokens, getTokens, getTokensAsString, hashCode, isAdjacentOrOverlaps, overlapsWith, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChunkedArgumentExtraction

public ChunkedArgumentExtraction(ChunkedSentence sent,
                                 Range range,
                                 ChunkedExtraction relation)
Constructs a new NpChunkArgumentExtraction from sent for relation.

Parameters:
sent - the source sentence.
range - the range of the argument in sent
relation -
Method Detail

getRelation

public ChunkedExtraction getRelation()
Returns:
the relation this is an argument to.