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

edu.stanford.nlp.util.CallbackFunction Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

There is a newer version: 3.9.2
Show newest version
package edu.stanford.nlp.util;

/** A callback function (along the lines of Berkeley optimization repo), which is currently used in the optimization package.
 * In the optimization package, it is used for passing values (newX, iteration,  newObjectiveValue, newGradient) at every iteration and
 * then you can do whatever you want with those values.
 *
 * One use case is to print the values in a file; another is do some sanity check etc.
 * *
 * Created by sonalg on 2/4/15.
 */
public abstract class CallbackFunction {
  public abstract void callback(Object... args);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy