Trees
Dependency structure in natural language consists of directed relations between words in a sentence.
Simple API for building dependency trees:
DependencyTrees.deptree — Functiondeptree(read_token, xs)Create a DependencyTree by calling read_token on each of xs.
DependencyTrees.deptoken — Functiondeptoken(form, head=-1, label=nothing)Create a token in a dependency tree.
DependencyTrees.DependencyTree — TypeDependencyTreeA rooted tree of dependency relations among the tokens of a sentence.