![JAR search and dependency download from the Maven repository](/logo.png)
edu.stanford.nlp.objectbank.IdentityFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
The newest version!
package edu.stanford.nlp.objectbank;
import java.util.function.Function;
/** An Identity function that returns its argument.
*
* @author Jenny Finkel
*/
public class IdentityFunction implements Function {
/**
* @param o The Object to be returned
* @return o
*/
@Override
public X apply(X o) {
return o;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy