Stanford Parser - Moving Typed Dependency Charts

Basically, I want to find the path between two NP tokens in the dependency graph. However, I cannot find a good way to do this at Stanford Parser. Any help?

Many thanks

+3
source share
1 answer

The Stanford parser simply returns a list of dependencies between tokens. (We do this to avoid external library dependencies.) But if you want to manipulate the dependencies, you will almost certainly want to place them in the graph data structure. Usually we use jgrapht: http://jgrapht.sourceforge.net/

+9
source

Source: https://habr.com/ru/post/1742798/


All Articles