Uses of Class
opennlp.tools.depparse.DependencySample
Packages that use DependencySample
-
Uses of DependencySample in opennlp.tools.depparse
Fields in opennlp.tools.depparse declared as DependencySampleModifier and TypeFieldDescriptionprivate final DependencySampleFeedforwardDependencyTrainer.Derivation.sampleThe field for thesamplerecord component.Fields in opennlp.tools.depparse with type parameters of type DependencySampleModifier and TypeFieldDescriptionprivate final ObjectStream<DependencySample> DependencyEventStream.samplesMethods in opennlp.tools.depparse that return DependencySampleModifier and TypeMethodDescriptionprotected DependencySampleDependencyEvaluator.processSample(DependencySample reference) Evaluates the given referenceEvaluatorsample object.FeedforwardDependencyTrainer.Derivation.sample()Returns the value of thesamplerecord component.Methods in opennlp.tools.depparse with parameters of type DependencySampleModifier and TypeMethodDescriptionprotected DependencySampleDependencyEvaluator.processSample(DependencySample reference) Evaluates the given referenceEvaluatorsample object.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.Method parameters in opennlp.tools.depparse with type arguments of type DependencySampleModifier and TypeMethodDescriptionprivate static List<FeedforwardDependencyTrainer.Derivation> FeedforwardDependencyTrainer.derive(ObjectStream<DependencySample> samples) Reads a sample stream into memory and derives the oracle of every projective sample once; the trainer passes over the derivations repeatedly.voidDependencyCrossValidator.evaluate(ObjectStream<DependencySample> samples, int folds) Runs the cross validation and adds the scores of every fold to the totals.static FeedforwardDependencyModelFeedforwardDependencyTrainer.refine(FeedforwardDependencyModel model, ObjectStream<DependencySample> samples, TrainingParameters parameters) Refines a locally trained model with beam search and the early-update method of Collins and Roark (2004).static DependencyModelDependencyParserME.train(String languageCode, ObjectStream<DependencySample> samples, TrainingParameters parameters) Trains a greedy arc-standard parser model from dependency samples.static FeedforwardDependencyModelFeedforwardDependencyTrainer.train(String languageCode, ObjectStream<DependencySample> samples, TrainingParameters parameters) Trains a model from dependency samples.Constructors in opennlp.tools.depparse with parameters of type DependencySampleModifierConstructorDescriptionprivateDerivation(DependencySample sample, List<Transition> oracle) Creates an instance of aDerivationrecord class.Constructor parameters in opennlp.tools.depparse with type arguments of type DependencySampleModifierConstructorDescription(package private)DependencyEventStream(ObjectStream<DependencySample> samples, DependencyContextGenerator contextGenerator) Initializes the stream. -
Uses of DependencySample in opennlp.tools.formats.conllu
Methods in opennlp.tools.formats.conllu that return DependencySampleModifier and TypeMethodDescriptionprivate DependencySampleConverts one sentence into a sample.ConlluDependencySampleStream.read()Returns the nextObjectStreamobject.Methods in opennlp.tools.formats.conllu that return types with arguments of type DependencySample