Uses of Class
opennlp.tools.depparse.DependencyTree
Packages that use DependencyTree
-
Uses of DependencyTree in opennlp.tools.depparse
Fields in opennlp.tools.depparse declared as DependencyTreeMethods in opennlp.tools.depparse that return DependencyTreeModifier and TypeMethodDescriptionprivate DependencyTreeFeedforwardDependencyParser.beamParse(FeedforwardContext context, int tokenCount) Decodes with a beam and returns its highest scoring complete sequence.DependencySample.getTree()private DependencyTreeFeedforwardDependencyParser.greedyParse(FeedforwardContext context, int tokenCount) Decodes greedily: the highest scoring applicable transition wins each step.static DependencyTreeCreates aDependencyTreefrom parallel head and relation arrays.Parses a sentence into aDependencyTree.Parses a sentence into aDependencyTree.Parses a sentence into aDependencyTree.(package private) DependencyTreeArcStandardState.toTree()Builds theDependencyTreeof a completed parse.Methods in opennlp.tools.depparse with parameters of type DependencyTreeModifier and TypeMethodDescription(package private) static booleanArcStandardOracle.isProjective(DependencyTree gold) Tests whether a gold tree is projective: no pair of arcs crosses when the arcs are placed above the token sequence.private static TransitionArcStandardOracle.nextTransition(DependencyTree gold, int[] goldDependents, ArcStandardState state) Picks the gold transition for the current configuration.(package private) static List<Transition> ArcStandardOracle.transitions(DependencyTree gold) Derives the gold transition sequence for a tree.Constructors in opennlp.tools.depparse with parameters of type DependencyTreeModifierConstructorDescriptionDependencySample(String[] tokens, String[] tags, DependencyTree tree) Initializes aDependencySample.