AbstractParserEventStream (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.parser, class: AbstractParserEventStream

# Class AbstractParserEventStream

java.lang.Object
opennlp.tools.util.AbstractEventStream<Parse>
opennlp.tools.parser.AbstractParserEventStream

All Implemented Interfaces:
  `AutoCloseable, ObjectStream<Event>`

Direct Known Subclasses:
  `ParserEventStream, ParserEventStream`

public abstract class AbstractParserEventStream extends AbstractEventStream<Parse>
Abstract class extended by parser event streams which perform tagging and chunking.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)`
  `AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Parse[]`
  `getInitialChunks(Parse p)`

  ### Methods inherited from class AbstractEventStream

  `close, read, reset`

  ### Methods inherited from class Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractParserEventStream

    public AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)

  - ### AbstractParserEventStream

    public AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)

- ## Method Details

  - ### getInitialChunks

    public static Parse[] getInitialChunks(Parse p)