Uses of Record Class
opennlp.tools.depparse.Transition
Packages that use Transition
-
Uses of Transition in opennlp.tools.depparse
Fields in opennlp.tools.depparse declared as TransitionModifier and TypeFieldDescriptionprivate final Transition[]FeedforwardNetwork.decodedTransitions(package private) static final TransitionTransition.SHIFTThe single shift transition; shifts carry no label.private final Transition[]DependencyParserME.transitionsprivate final Transition[]FeedforwardDependencyParser.transitionsFields in opennlp.tools.depparse with type parameters of type TransitionModifier and TypeFieldDescriptionprivate final List<Transition> FeedforwardDependencyTrainer.Derivation.oracleThe field for theoraclerecord component.private final Map<Transition, Integer> FeedforwardNetwork.transitionIdsMethods in opennlp.tools.depparse that return TransitionModifier 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.(package private) static TransitionRestores a transition from a model outcome string produced byencode().(package private) Transition[]FeedforwardNetwork.decodedTransitions()(package private) static Transition[]Transition.decodeInventory(String[] outcomes) Decodes a transition inventory: the outcomes of a parser model, in index order.private Transition[]DependencyParserME.decodeOutcomes(MaxentModel model) Decodes the outcome inventory once, so that decoding a sentence indexes it instead of parsing an outcome string per configuration and outcome.(package private) static TransitionCreates a left-arc transition.private static TransitionArcStandardOracle.nextTransition(DependencyTree gold, int[] goldDependents, ArcStandardState state) Picks the gold transition for the current configuration.(package private) static TransitionCreates a right-arc transition.Methods in opennlp.tools.depparse that return types with arguments of type TransitionModifier and TypeMethodDescriptionFeedforwardDependencyTrainer.Derivation.oracle()Returns the value of theoraclerecord component.(package private) static List<Transition> ArcStandardOracle.transitions(DependencyTree gold) Derives the gold transition sequence for a tree.Methods in opennlp.tools.depparse with parameters of type TransitionModifier and TypeMethodDescription(package private) static List<ArcStandardBeam.Node> ArcStandardBeam.advance(List<ArcStandardBeam.Node> expansions, int beamSize, Transition[] transitions) Keeps the best expansions and advances their states.(package private) voidArcStandardState.apply(Transition transition) Applies a transition, updating stack, buffer, and arcs.(package private) booleanArcStandardState.canApply(Transition transition) Checks whether a transition may be applied in the current configuration.(package private) static List<ArcStandardBeam.Node> ArcStandardBeam.expand(List<ArcStandardBeam.Node> beam, FeedforwardContext context, FeedforwardNetwork network, ContributionCache cache, Transition[] transitions, int goldTransition, double[] hidden, double[] scores) Expands every node of the beam by its applicable transitions.private doubleFeedforwardDependencyTrainer.Optimizer.refineSentence(DependencySample sample, int[] oracle, Transition[] transitions, int beamSize) Decodes one sentence with the beam, updating on the early-update point or the final beam.(package private) intFeedforwardNetwork.transitionIndex(Transition transition) Constructor parameters in opennlp.tools.depparse with type arguments of type TransitionModifierConstructorDescriptionprivateDerivation(DependencySample sample, List<Transition> oracle) Creates an instance of aDerivationrecord class.