edu.washington.cs.knowitall.rule.base
Class IARPABaseRuleFactory

java.lang.Object
  extended by edu.washington.cs.knowitall.rule.base.BaseRuleFactory
      extended by edu.washington.cs.knowitall.rule.base.IARPABaseRuleFactory
All Implemented Interfaces:
com.google.common.base.Function<Annotation,List<Rule>>

public class IARPABaseRuleFactory
extends BaseRuleFactory


Field Summary
 
Fields inherited from class edu.washington.cs.knowitall.rule.base.BaseRuleFactory
logger
 
Constructor Summary
IARPABaseRuleFactory()
           
 
Method Summary
protected  void createConstraints(Annotation annotation, Extraction extraction, ExtractionPart part, List<Constraint> constraints)
          Used in base rule creation.
protected  List<Constraint> createConstraints(Annotation annotation, RelationExtraction extraction)
          Used in base rule creation.
protected  void createOntologicalFormArgumentConstraints(OntologicalRelationArgument argument, ExtractionPart part, Extraction extraction, List<CaptureConstraint> constraints)
          Used in base rule creation.
 
Methods inherited from class edu.washington.cs.knowitall.rule.base.BaseRuleFactory
apply, baseRuleArgumentConstraint, create, create, createOntologicalForm, createOntologicalForms, filter, isLearnable, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

IARPABaseRuleFactory

public IARPABaseRuleFactory()
Method Detail

createOntologicalFormArgumentConstraints

protected void createOntologicalFormArgumentConstraints(OntologicalRelationArgument argument,
                                                        ExtractionPart part,
                                                        Extraction extraction,
                                                        List<CaptureConstraint> constraints)
Description copied from class: BaseRuleFactory
Used in base rule creation.

Overrides:
createOntologicalFormArgumentConstraints in class BaseRuleFactory

createConstraints

protected List<Constraint> createConstraints(Annotation annotation,
                                             RelationExtraction extraction)
Used in base rule creation.

Overrides:
createConstraints in class BaseRuleFactory
Parameters:
annotation -
extraction -
Returns:

createConstraints

protected void createConstraints(Annotation annotation,
                                 Extraction extraction,
                                 ExtractionPart part,
                                 List<Constraint> constraints)
Description copied from class: BaseRuleFactory
Used in base rule creation. A recursive helper method.

Overrides:
createConstraints in class BaseRuleFactory
part - part of the relation
constraints - constructed result


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