Uses of Class
opennlp.tools.depparse.ArcStandardState
Packages that use ArcStandardState
-
Uses of ArcStandardState in opennlp.tools.depparse
Fields in opennlp.tools.depparse declared as ArcStandardStateMethods in opennlp.tools.depparse that return ArcStandardStateModifier and TypeMethodDescription(package private) ArcStandardStateArcStandardState.copy()Creates an independent copy, so that a search alternative can be advanced without affecting the configuration it was expanded from.Methods in opennlp.tools.depparse with parameters of type ArcStandardStateModifier and TypeMethodDescriptionprivate TransitionDependencyParserME.bestApplicable(ArcStandardState state, String[] tokens, String[] tags) Scores all outcomes for the current configuration and picks the best transition that is applicable; inapplicable outcomes are passed over regardless of score.private StringDependencyContextGenerator.dependentRelation(ArcStandardState state, int index, boolean leftmost) Looks up the relation of a token's leftmost or rightmost dependent attached so far.private StringDependencyContextGenerator.dependents(ArcStandardState state, int index) Counts the dependents a token has been assigned so far.private StringDependencyContextGenerator.dependentTag(ArcStandardState state, String[] tags, int index, boolean leftmost) Looks up the tag of a token's leftmost or rightmost dependent attached so far.(package private) int[]FeedforwardContext.featureIds(ArcStandardState state) Extracts the embedding rows of a configuration into a new array.(package private) voidFeedforwardContext.featureIds(ArcStandardState state, int[] features) Extracts the embedding rows of a configuration intofeatures: absent positions take the absent-position row of their vocabulary and the artificial root takes the root row.(package private) String[]DependencyContextGenerator.getContext(ArcStandardState state, String[] tokens, String[] tags) Generates the features of the current configuration.private static intFeedforwardContext.leftmost(ArcStandardState state, int index) private static TransitionArcStandardOracle.nextTransition(DependencyTree gold, int[] goldDependents, ArcStandardState state) Picks the gold transition for the current configuration.private static intFeedforwardContext.rightmost(ArcStandardState state, int index) Constructors in opennlp.tools.depparse with parameters of type ArcStandardStateModifierConstructorDescriptionprivateArcStandardState(ArcStandardState source) Deep-copiessource; used only bycopy().(package private)Node(ArcStandardState state) Creates the start node of a sentence.