ParserEventStream (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.parser.treeinsert

## Class ParserEventStream

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

- All Implemented Interfaces:
    AutoCloseable, ObjectStream<Event>

      public class ParserEventStream
      extends AbstractParserEventStream

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init()`

    - ### Methods inherited from class opennlp.tools.parser.AbstractParserEventStream

      `getInitialChunks`

    - ### Methods inherited from class opennlp.tools.util.AbstractEventStream

      `close, read, reset`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ParserEventStream

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

    - #### ParserEventStream

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

  - ### Method Detail

    - #### init

          public void init()

Copyright © 2026 The Apache Software Foundation. All rights reserved.