public class OpenNlpConfFunction<E> extends Object
| Constructor and Description |
|---|
OpenNlpConfFunction(opennlp.maxent.GISModel model,
BooleanFeatureSet<E> featureSet) |
public OpenNlpConfFunction(opennlp.maxent.GISModel model,
BooleanFeatureSet<E> featureSet)
throws IOException
IOExceptionpublic String[] featurize(E extr)
extr - the extraction to featurizepublic double getConf(E extr) throws ConfidenceFunctionException
extr - ConfidenceFunctionException - if unable to compute the confidence scoreCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.