# Uses of Class
opennlp.tools.parser.Parse

Packages that use Parse
Package
Description
opennlp.tools.parser

- ## Uses of Parse in opennlp.tools.parser

  Methods in opennlp.tools.parser that return Parse
  Modifier and Type
  Method
  Description
  `Parse`
  Parse.`adjoin(Parse sister, HeadRules rules)`
  Sister adjoins this node's last child and the specified sister node and returns their new parent node.
  `Parse`
  Parse.`adjoinRoot(Parse node, HeadRules rules, int parseIndex)`
  `Parse`
  Parse.`clone(Parse node)`
  Clones the right frontier of `Parse` up to the specified `node`.
  `Parse`
  Parse.`cloneRoot(Parse node, int parseIndex)`
  Clones the right frontier of this root `Parse` up to and including the specified node.
  `static Parse`
  Parse.`createFromTokens(String[] tokens)`
  Creates a `Parse` structure from an array of pre-tokenized strings.
  `Parse[]`
  Parse.`getChildren()`
  `Parse`
  Parse.`getCommonParent(Parse node)`
  Returns the deepest shared parent of this node and the specified node.
  `Parse`
  HeadRules.`getHead(Parse[] constituents, String type)`
  Retrieves the head `constituent` for the specified constituents of given `type`.
  `Parse`
  Parse.`getHead()`
  `Parse`
  Parse.`getParent()`
  `Parse[]`
  Parse.`getTagNodes()`
  `Parse[]`
  Parse.`getTokenNodes()`
  `Parse`
  Parser.`parse(Parse tokens)`
  Returns a `Parse` for the specified `Parse` of `tokens`.
  `Parse[]`
  Parser.`parse(Parse tokens, int numParses)`
  Returns the specified number of parses or fewer for the specified tokens.
  `static Parse`
  Parse.`parseParse(String parse)`
  Parses the specified tree-bank style parse string and return a `Parse` structure for that string.
  `static Parse`
  Parse.`parseParse(String parse, GapLabeler gl)`
  Parses the specified tree-bank style `Parse` string and return a `Parse` structure for that string.
  Methods in opennlp.tools.parser that return types with arguments of type Parse
  Modifier and Type
  Method
  Description
  `Collection<Parse>`
  Parse.`getNextPunctuationSet()`
  `Collection<Parse>`
  Parse.`getPreviousPunctuationSet()`
  Methods in opennlp.tools.parser with parameters of type Parse
  Modifier and Type
  Method
  Description
  `void`
  Parse.`add(Parse daughter, HeadRules rules)`
  `static void`
  Parse.`addNames(String tag, Span[] names, Parse[] tokens)`
  Utility method to insert named entities.
  `void`
  Parse.`addNextPunctuation(Parse punct)`
  Designates that the specified punctuation follows this parse.
  `void`
  Parse.`addPreviousPunctuation(Parse punct)`
  Designates that the specified punctuation should is prior to this parse.
  `Parse`
  Parse.`adjoin(Parse sister, HeadRules rules)`
  Sister adjoins this node's last child and the specified sister node and returns their new parent node.
  `Parse`
  Parse.`adjoinRoot(Parse node, HeadRules rules, int parseIndex)`
  `Parse`
  Parse.`clone(Parse node)`
  Clones the right frontier of `Parse` up to the specified `node`.
  `Parse`
  Parse.`cloneRoot(Parse node, int parseIndex)`
  Clones the right frontier of this root `Parse` up to and including the specified node.
  `int`
  Parse.`compareTo(Parse p)`
  `void`
  Parse.`expandTopNode(Parse root)`
  `static void`
  Parse.`fixPossesives(Parse parse)`
  `Parse`
  Parse.`getCommonParent(Parse node)`
  Returns the deepest shared parent of this node and the specified node.
  `Parse`
  HeadRules.`getHead(Parse[] constituents, String type)`
  Retrieves the head `constituent` for the specified constituents of given `type`.
  `int`
  Parse.`indexOf(Parse child)`
  `void`
  Parse.`insert(Parse constituent)`
  Inserts the specified constituent into this parse based on its text span.
  `Parse`
  Parser.`parse(Parse tokens)`
  Returns a `Parse` for the specified `Parse` of `tokens`.
  `Parse[]`
  Parser.`parse(Parse tokens, int numParses)`
  Returns the specified number of parses or fewer for the specified tokens.
  `static void`
  Parse.`pruneParse(Parse parse)`
  Prune the specified sentence parse of vacuous productions.
  `void`
  Parse.`setParent(Parse parent)`
  Specifies the parent parse node for this constituent.
  Method parameters in opennlp.tools.parser with type arguments of type Parse
  Modifier and Type
  Method
  Description
  `void`
  Parse.`setNextPunctuation(Collection<Parse> punctSet)`
  Sets the `punctuation tags` which follow this parse.
  `void`
  Parse.`setPrevPunctuation(Collection<Parse> punctSet)`
  Sets the `punctuation tags` which precede this parse.
  Constructors in opennlp.tools.parser with parameters of type Parse
  Modifier
  Constructor
  Description
  ``
  `Parse(String text, Span span, String type, double p, Parse h)`
  Initializes a `node` for this specified `text` and `span` of the specified `type` with probability `p` and the head `index`.