Java edu.stanford.nlp.trees Trees fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.trees Trees fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for edu.stanford.nlp.trees Trees.

The text is from its open source code.

Method

voidconvertToCoreLabels(Tree tree)
Converts the tree labels to CoreLabels.
Listleaves(Tree t)
returns the leaves in a Tree in the order that they're found.
intleftEdge(Tree t, Tree root)
Returns the positional index of the left edge of a tree t within a given root, as defined by the size of the yield of all material preceding t.
Treelexicalize(Tree t, HeadFinder hf)
Returns a lexicalized Tree whose Labels are CategoryWordTag instances, all corresponds to the input tree.
intrightEdge(Tree t, Tree root)
Returns the positional index of the right edge of a tree t within a given root, as defined by the size of the yield of all material preceding t plus all the material contained in t.