edu.washington.cs.knowitall.ontology
Class OntologicalFormArgument
java.lang.Object
edu.washington.cs.knowitall.ontology.OntologicalFormArgument
- All Implemented Interfaces:
- Serializable
public class OntologicalFormArgument
- extends Object
- implements Serializable
- See Also:
- Serialized Form
name
public final String name
constraint
public final CaptureConstraint constraint
OntologicalFormArgument
public OntologicalFormArgument(String name,
CaptureConstraint constraint)
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
simplify
public OntologicalFormArgument simplify()
instance
public OntologicalRelationArgument instance(RelationExtraction extraction)
- Create an instance of this argument class by applying the constraint to
the extraction.
- Parameters:
extraction -
- Returns:
fromXmlElement
public static OntologicalFormArgument fromXmlElement(org.jdom.Element e)
toXmlElement
public org.jdom.Element toXmlElement()
Copyright © 2011 University of Washington CSE. All Rights Reserved.