edu.washington.cs.knowitall.extraction
Class NestedExtraction

java.lang.Object
  extended by edu.washington.cs.knowitall.nlp.extraction.SpanExtraction
      extended by edu.washington.cs.knowitall.extraction.NestedExtraction

public class NestedExtraction
extends edu.washington.cs.knowitall.nlp.extraction.SpanExtraction

A class that represents a nested relation. An example of a nested relation is theoryThat(heliocentrism, centerOf(sun, universe)). A nested relation has the following components:

Arg2, the base relation, and arg3 are collectively referred to as the base extraction.

Author:
afader

Field Summary
static String ARG1
           
static String ARG2
           
static String ARG3
           
static String BREL
           
static String NREL
           
 
Constructor Summary
NestedExtraction(edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction arg1, edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction nrel, edu.washington.cs.knowitall.nlp.extraction.ChunkedBinaryExtraction baseExtr)
          Constructs a new NestedExtraction object
 
Method Summary
 edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction getArgument1()
           
 edu.washington.cs.knowitall.nlp.extraction.ChunkedBinaryExtraction getBaseExtraction()
           
 edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction getNestedRelation()
           
 String toString()
           
 
Methods inherited from class edu.washington.cs.knowitall.nlp.extraction.SpanExtraction
equals, getField, getField, getFieldName, getFieldNames, getFieldRange, getFieldRange, getFieldRanges, getFields, getNumFields, getProperties, getProperty, getPropertyNames, getSentence, hasField, hashCode, hasProperty, setProperties, setProperty, toBIOLayer
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ARG1

public static final String ARG1
See Also:
Constant Field Values

NREL

public static final String NREL
See Also:
Constant Field Values

ARG2

public static final String ARG2
See Also:
Constant Field Values

BREL

public static final String BREL
See Also:
Constant Field Values

ARG3

public static final String ARG3
See Also:
Constant Field Values
Constructor Detail

NestedExtraction

public NestedExtraction(edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction arg1,
                        edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction nrel,
                        edu.washington.cs.knowitall.nlp.extraction.ChunkedBinaryExtraction baseExtr)
Constructs a new NestedExtraction object

Parameters:
arg1 - the first argument
nrel - the nested relation
baseExtr - the base extraction
Method Detail

getBaseExtraction

public edu.washington.cs.knowitall.nlp.extraction.ChunkedBinaryExtraction getBaseExtraction()
Returns:
the base extraction

getArgument1

public edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction getArgument1()
Returns:
the first argument

getNestedRelation

public edu.washington.cs.knowitall.nlp.extraction.ChunkedExtraction getNestedRelation()
Returns:
the nested relation

toString

public String toString()
Overrides:
toString in class Object


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