edu.cmu.minorthird.text.learn
Class ExtractorTweaker
java.lang.Object
edu.cmu.minorthird.text.learn.ExtractorTweaker
public class ExtractorTweaker
- extends java.lang.Object
Allows one to adjust the parameters of a learned extractor.
- Author:
- William Cohen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractorTweaker
public ExtractorTweaker()
getOldBias
public double getOldBias()
- Return the value of bias term before the last tweak.
getNewBias
public double getNewBias()
- Return the value of bias term after the last tweak.
tweak
public ExtractorAnnotator tweak(ExtractorAnnotator annotator,
double bias)
- Return a modified copy of the annotator. Only works for annotators learned
by the voted perceptron and/or CRF learners.
getCLP
public CommandLineProcessor getCLP()
main
public static void main(java.lang.String[] args)