All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.berkeley.nlp.discPCFG.ObjectiveFunction Maven / Gradle / Ivy

Go to download

The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).

The newest version!
/**
 * 
 */
package edu.berkeley.nlp.discPCFG;

import edu.berkeley.nlp.math.DifferentiableRegularizableFunction;

/**
 * @author petrov
 *
 */
public interface ObjectiveFunction extends DifferentiableRegularizableFunction {
	 double[] getLogProbabilities(EncodedDatum datum, double[] weights, Encoding encoding, IndexLinearizer indexLinearizer);
	//Pair calculate();
	public void shutdown();
	  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy