edu.washington.cs.knowitall.rule.confidence
Class MRConfidenceFunction

java.lang.Object
  extended by edu.washington.cs.knowitall.rule.confidence.ConfidenceFunction<PrecisionRecallScore>
      extended by edu.washington.cs.knowitall.rule.confidence.PrecisionRecallConfidenceFunction
          extended by edu.washington.cs.knowitall.rule.confidence.MRConfidenceFunction
All Implemented Interfaces:
com.google.common.base.Function<Rule,PrecisionRecallScore>

public class MRConfidenceFunction
extends PrecisionRecallConfidenceFunction

The confidence function developed by Stephen and Will.

Author:
schmmd

Field Summary
 double externalArgumentWeight
           
 double noExtractionConstraintInArgumentWeight
           
 double noTypeConstraintInExtractionWeight
           
 double noTypeConstraintWeight
           
 
Fields inherited from class edu.washington.cs.knowitall.rule.confidence.PrecisionRecallConfidenceFunction
minRecall
 
Fields inherited from class edu.washington.cs.knowitall.rule.confidence.ConfidenceFunction
annotationCount, annotations, matcher, results
 
Constructor Summary
MRConfidenceFunction(List<AnnotatedSentence> annotations)
           
MRConfidenceFunction(List<AnnotatedSentence> annotations, double noTypeConstraint, double noTypeConstraintInExtraction, double noArgConstraint, double nonLocal)
           
 
Method Summary
 PrecisionRecallScore apply(Rule rule)
           
 
Methods inherited from class edu.washington.cs.knowitall.rule.confidence.PrecisionRecallConfidenceFunction
apply, createScore
 
Methods inherited from class edu.washington.cs.knowitall.rule.confidence.ConfidenceFunction
apply, apply, createRank, match, numberAnnotationsCorrect, reduce, relations, relations, results, results, setResults
 
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
 

Field Detail

noTypeConstraintWeight

public final double noTypeConstraintWeight

noTypeConstraintInExtractionWeight

public final double noTypeConstraintInExtractionWeight

noExtractionConstraintInArgumentWeight

public final double noExtractionConstraintInArgumentWeight

externalArgumentWeight

public final double externalArgumentWeight
Constructor Detail

MRConfidenceFunction

public MRConfidenceFunction(List<AnnotatedSentence> annotations,
                            double noTypeConstraint,
                            double noTypeConstraintInExtraction,
                            double noArgConstraint,
                            double nonLocal)

MRConfidenceFunction

public MRConfidenceFunction(List<AnnotatedSentence> annotations)
Method Detail

apply

public PrecisionRecallScore apply(Rule rule)
Specified by:
apply in interface com.google.common.base.Function<Rule,PrecisionRecallScore>
Overrides:
apply in class PrecisionRecallConfidenceFunction


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