Class AbstractParserEventStream

java.lang.Object
opennlp.tools.util.AbstractEventStream<opennlp.tools.parser.Parse>
opennlp.tools.parser.AbstractParserEventStream
All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
Direct Known Subclasses:
ParserEventStream, ParserEventStream

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

    • AbstractParserEventStream

      public AbstractParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype, Dictionary dict)
    • AbstractParserEventStream

      public AbstractParserEventStream(opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse> d, opennlp.tools.parser.HeadRules rules, opennlp.tools.parser.ParserEventTypeEnum etype)
  • Method Details

    • getInitialChunks

      public static opennlp.tools.parser.Parse[] getInitialChunks(opennlp.tools.parser.Parse p)