Uses of Package
opennlp.tools.depparse
Packages that use opennlp.tools.depparse
-
Classes in opennlp.tools.depparse used by opennlp.tools.depparseClassDescriptionOne path of the beam.Tracks the state of an arc-standard dependency parse: a stack of tokens being processed, a buffer of unread tokens, and the dependency arcs created so far.Accumulates the unlabeled and labeled attachment scores over all tokens and over the tokens that are not punctuation.Caches the hidden-layer contribution of each (feature position, embedding row) pair a
FeedforwardDependencyParserscores, within a byte budget.One labeled edge of aDependencyTree: the token atdependentis governed by the token atheadunder the givenrelation.Generates the classification features for one arc-standard configuration: words and tags of the topmost stack and frontmost buffer positions, their pairings, the partial structure built so far (tags and relations of the leftmost and rightmost dependents, valency counts), and a bucketed distance between stack top and buffer front.A marker interface for evaluatingdependency parsers.The persisted form of a trainedDependencyParserME: the transition classification model plus the standard model manifest, serialized and loaded through the sameBaseModelmachinery as every other tool model.The interface for dependency parsers, which assign every token of a sentence a syntactic head and a relation label, forming a single-rooted tree over the sentence.One dependency-annotated sentence: tokens, their part-of-speech tags, and the goldDependencyTreeover them.An immutable dependency tree over one sentence: for every token, the index of its head and the label of the relation to that head.The feature template of the feedforward parser for one sentence: a fixed set of configuration positions whose words, tags, and arc labels are embedded and concatenated into the network input, following Chen and Manning (2014).The persisted form of a trainedFeedforwardDependencyParser: the network weights plus the standard model manifest, serialized and loaded through the sameBaseModelmachinery as every other tool model.A projective training sample with its arc-standard oracle derivation.The parsed hyperparameters of one training or refinement run.The weights of the feedforward transition parser: embeddings for words, tags, and arc labels, one hidden layer with cube activation, and a transition output layer, after Chen and Manning (2014).One action of the arc-standard transition system: shift the next buffer token onto the stack, or attach one of the two topmost stack tokens to the other under a relation label.The kinds of arc-standard action. -
Classes in opennlp.tools.depparse used by opennlp.tools.formats.conlluClassDescriptionOne dependency-annotated sentence: tokens, their part-of-speech tags, and the gold
DependencyTreeover them.