edu.washington.cs.knowitall.rule.learn
Class RuleSetOptimizer<E extends Comparable<E>>
java.lang.Object
edu.washington.cs.knowitall.rule.learn.Learner<E>
edu.washington.cs.knowitall.rule.learn.RuleSetOptimizer<E>
- Direct Known Subclasses:
- SimpleMaximizingRuleSetOptimizer
public abstract class RuleSetOptimizer<E extends Comparable<E>>
- extends Learner<E>
Rule learning framework for mapping extractions onto an ontology. Annotations
of rule instances are supplied, as well as corresponding extractions. For
each annotation, a base rule is created by making a maximally constrained
rule that results in the ontological relation given the extraction. Then the
base rule is generalized using a search algorithm, by default beam search. A
list of generalized rules are returned. There may be more than one value in
the case of a tie.
- Author:
- schmmd
| Methods inherited from class edu.washington.cs.knowitall.rule.learn.Learner |
generalize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleSetOptimizer
public RuleSetOptimizer(BaseRuleFactory factory,
RuleValidator validator,
ConfidenceFunction<E> confidence)
optimize
public abstract Collection<Rule> optimize(Iterable<Rule> rules)
printCorrect
public static void printCorrect(Iterable<OntologicalRelation> relations)
printError
public static void printError(Iterable<OntologicalRelation> relations)
Copyright © 2011 University of Washington CSE. All Rights Reserved.