opennlp.maxent
Class EvalParameters

java.lang.Object
  extended by opennlp.maxent.EvalParameters

public class EvalParameters
extends java.lang.Object

This class encapsulates the varibales used in producing probabilities from a model and facilitaes passing these variables to the eval method. Variables are declared non-private so that they may be accessed and updated without a method call for efficiency reasons.

Author:
Tom Morton

Constructor Summary
EvalParameters(Context[] params, double correctionParam, double correctionConstant, int numOutcomes)
          Creates a set of paramters which can be evaulated with the eval method.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvalParameters

public EvalParameters(Context[] params,
                      double correctionParam,
                      double correctionConstant,
                      int numOutcomes)
Creates a set of paramters which can be evaulated with the eval method.

Parameters:
params - The parameters of the model.
correctionParam - The correction paramter.
correctionConstant - The correction constant.
numOutcomes - The number of outcomes.


Copyright © 2005 Jason Baldridge, Gann Bierner, and Thomas Morton. All Rights Reserved.