edu.stanford.nlp.semgraph.IndexedWordUnaryPred 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.semgraph;
import edu.stanford.nlp.ling.IndexedWord;
/**
* Represents an extensible class that can be extended and passed around
* to perform
* @author Eric Yeh
*
*/
public class IndexedWordUnaryPred {
public boolean test(IndexedWord node) { return true; }
public boolean test(IndexedWord node, SemanticGraph sg) { return test(node); }
}