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

java.lang.Object
  extended by edu.washington.cs.knowitall.sequence.SimpleLayeredSequence
      extended by edu.washington.cs.knowitall.sequence.BIOLayeredSequence
          extended by edu.washington.cs.knowitall.nlp.ChunkedSentence
              extended by edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction
                  extended by edu.washington.cs.knowitall.nlp.extraction.ChunkedArgumentExtraction
All Implemented Interfaces:
LayeredSequence

public class ChunkedArgumentExtraction
extends ChunkedExtraction

A class representing a noun phrase argument of a relation.

Author:
afader

Field Summary
 
Fields inherited from class edu.washington.cs.knowitall.nlp.ChunkedSentence
NP_LAYER, offsets, POS_LAYER, TOKEN_LAYER
 
Constructor Summary
ChunkedArgumentExtraction(ChunkedSentence sent, edu.washington.cs.knowitall.commonlib.Range range, ChunkedExtraction relation)
          Constructs a new NpChunkArgumentExtraction from sent for relation.
ChunkedArgumentExtraction(ChunkedSentence sent, edu.washington.cs.knowitall.commonlib.Range range, ChunkedExtraction relation, double confidence)
           
ChunkedArgumentExtraction(ChunkedSentence sent, edu.washington.cs.knowitall.commonlib.Range range, ChunkedExtraction relation, String string)
           
 
Method Summary
 double getConfidence()
           
 ChunkedExtraction getRelation()
           
 
Methods inherited from class edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction
equals, getRange, getSentence, getStart, getText, hashCode, isAdjacentOrOverlaps, overlapsWith, toString
 
Methods inherited from class edu.washington.cs.knowitall.nlp.ChunkedSentence
clone, getChunkTag, getChunkTags, getChunkTags, getChunkTags, getChunkTagsAsString, getNpChunkRanges, getOffsets, getOffsetsAsString, getPosTag, getPosTags, getPosTags, getPosTags, getPosTagsAsString, getPosTagsAsString, getPosTagsAsString, getSubSequence, getSubSequence, getToken, getTokenRange, getTokens, getTokens, getTokens, getTokensAsString, getTokensAsString, getTokensAsString, toOpenNlpFormat
 
Methods inherited from class edu.washington.cs.knowitall.sequence.BIOLayeredSequence
addSpanLayer, addSpanLayerRanges, getSpans, getSpans, getSubSequence, getSubSequence, isSpanLayer
 
Methods inherited from class edu.washington.cs.knowitall.sequence.SimpleLayeredSequence
addLayer, addLayer, addLayer, get, getLayer, getLayerAsString, getLayerAsString, getLayerAsString, getLayerNames, getLength, getNumLayers, hasLayer
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChunkedArgumentExtraction

public ChunkedArgumentExtraction(ChunkedSentence sent,
                                 edu.washington.cs.knowitall.commonlib.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 -

ChunkedArgumentExtraction

public ChunkedArgumentExtraction(ChunkedSentence sent,
                                 edu.washington.cs.knowitall.commonlib.Range range,
                                 ChunkedExtraction relation,
                                 double confidence)

ChunkedArgumentExtraction

public ChunkedArgumentExtraction(ChunkedSentence sent,
                                 edu.washington.cs.knowitall.commonlib.Range range,
                                 ChunkedExtraction relation,
                                 String string)
Method Detail

getRelation

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

getConfidence

public double getConfidence()


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.