edu.washington.cs.knowitall.extraction
Class PredicateExtraction

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.PredicateExtraction
All Implemented Interfaces:
edu.washington.cs.knowitall.sequence.LayeredSequence, TokenSequence, XmlSerializable, Serializable

public class PredicateExtraction
extends Extraction
implements Serializable

The portion of a relation extraction that is the predicate.

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
PredicateExtraction(Sentence sent, edu.washington.cs.knowitall.commonlib.Range range)
           
PredicateExtraction(Sentence sent, edu.washington.cs.knowitall.commonlib.Range range, String string)
           
 
Method Summary
static PredicateExtraction fromXmlElement(org.jdom.Element e, Sentence sentence)
           
 boolean isPassive()
           
 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

PredicateExtraction

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

PredicateExtraction

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

fromXmlElement

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

isPassive

public boolean isPassive()

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.