edu.stanford.nlp.util.Factory 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.
package edu.stanford.nlp.util;
import java.io.Serializable;
/**
* A generified factory class which creates instances of a particular type.
*
* @author dramage
*/
public interface Factory extends Serializable {
/**
* Creates and returns a new instance of the given type.
*
* @return A new instance of the type T
*/
public T create();
}