![JAR search and dependency download from the Maven repository](/logo.png)
edu.stanford.nlp.semgraph.package-info 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!
/**
*
* This package provides a representation of dependency graphs (normally the
* collapsed Stanford Dependencies representation) as a graph (backed by
* the jgrapht graph library.
*
* To create a typed dependency graph, a SemanticGraph
from a parse tree,
*
*
* import edu.stanford.nlp.trees.semgraph.*;
* ...
* Tree treeParse = processSentence(sentence);
* SemanticGraph depGraph = SemanticGraphFactory.allTypedDependencies(treeParse, true);
*
*
*/
package edu.stanford.nlp.semgraph;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy