edu.washington.cs.knowitall.extraction
Class ArgumentExtraction

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.extraction.Extraction
                      extended by edu.washington.cs.knowitall.extraction.ArgumentExtraction
All Implemented Interfaces:
edu.washington.cs.knowitall.sequence.LayeredSequence, TokenSequence, XmlSerializable, Serializable

public class ArgumentExtraction
extends Extraction
implements Serializable

The portion of a relation extraction that is the argument.

Author:
schmmd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.washington.cs.knowitall.nlp.ChunkedSentence
NP_LAYER, POS_LAYER, TOKEN_LAYER
 
Constructor Summary
ArgumentExtraction(Sentence sent, edu.washington.cs.knowitall.commonlib.Range range)
           
ArgumentExtraction(Sentence sent, edu.washington.cs.knowitall.commonlib.Range range, String string)
           
 
Method Summary
static ArgumentExtraction fromXmlElement(org.jdom.Element e, Sentence sentence)
           
 org.jdom.Element toXmlElement()
           
 
Methods inherited from class edu.washington.cs.knowitall.extraction.Extraction
equals, getLemmas, getSentence, getTypes, tag, tag, zip
 
Methods inherited from class edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction
getRange, getStart, hashCode, isAdjacentOrOverlaps, overlapsWith, toString
 
Methods inherited from class edu.washington.cs.knowitall.nlp.ChunkedSentence
clone, getChunkTag, getChunkTags, getChunkTags, getChunkTags, getChunkTagsAsString, getNpChunkRanges, 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
 
Methods inherited from interface edu.washington.cs.knowitall.TokenSequence
getChunkTags, getPosTags, getTokens, getTokensAsString
 

Constructor Detail

ArgumentExtraction

public ArgumentExtraction(Sentence sent,
                          edu.washington.cs.knowitall.commonlib.Range range,
                          String string)

ArgumentExtraction

public ArgumentExtraction(Sentence sent,
                          edu.washington.cs.knowitall.commonlib.Range range)
Method Detail

fromXmlElement

public static ArgumentExtraction fromXmlElement(org.jdom.Element e,
                                                Sentence sentence)

toXmlElement

public org.jdom.Element toXmlElement()
Specified by:
toXmlElement in interface XmlSerializable
Overrides:
toXmlElement in class Extraction


Copyright © 2011 University of Washington CSE. All Rights Reserved.