public class ReVerbOpenNlpConfFunction extends Object implements ConfidenceFunction
ReVerbFeatures class. See that documentation for details.| Constructor and Description |
|---|
ReVerbOpenNlpConfFunction()
Constructs a new instance of the confidence function.
|
ReVerbOpenNlpConfFunction(File modelFile)
Load a model from the specified file.
|
ReVerbOpenNlpConfFunction(String modelResourcePath)
Load a model specified as a resource path from the root.
|
ReVerbOpenNlpConfFunction(URL url)
Constructs a new instance of the confidence function from the specified
URL.
|
public ReVerbOpenNlpConfFunction()
throws ConfidenceFunctionException,
IOException
ConfidenceFunctionException - if unable to initializeIOExceptionpublic ReVerbOpenNlpConfFunction(URL url) throws IOException
ConfidenceFunctionException - if unable to initializeIOExceptionpublic ReVerbOpenNlpConfFunction(String modelResourcePath) throws IOException
modelResourcePath - IOExceptionpublic ReVerbOpenNlpConfFunction(File modelFile) throws IOException
modelFile - IOExceptionpublic double getConf(ChunkedBinaryExtraction extr) throws ConfidenceFunctionException
getConf in interface ConfidenceFunctionextr - ConfidenceFunctionException - if unable to compute the confidence scoreCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.