public class ReVerbIndependentConfFunction extends Object implements ConfidenceFunction
ReVerbFeatures class. See that documentation for details.| Constructor and Description |
|---|
ReVerbIndependentConfFunction(File modelFile)
Loads the model from specified file.
|
ReVerbIndependentConfFunction(String modelResourceName)
Loads the model as a resource from the root.
|
ReVerbIndependentConfFunction(URL modelUrl)
Loads the model from the specified url.
|
public ReVerbIndependentConfFunction(URL modelUrl)
model - an URL to the modelpublic ReVerbIndependentConfFunction(File modelFile) throws MalformedURLException
model - the model file to loadMalformedURLExceptionpublic ReVerbIndependentConfFunction(String modelResourceName)
model - the model file to loadpublic 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.