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

edu.stanford.nlp.semgraph.IndexedWordUnaryPred 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.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); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy