opennlp.tools.parser
Class AbstractParserEventStream

java.lang.Object
  extended by opennlp.model.AbstractEventStream
      extended by opennlp.tools.util.AbstractEventStream<Parse>
          extended by opennlp.tools.parser.AbstractParserEventStream
All Implemented Interfaces:
opennlp.model.EventStream
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
AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)
           
AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)
           
 
Method Summary
static Parse[] getInitialChunks(Parse p)
           
 
Methods inherited from class opennlp.tools.util.AbstractEventStream
hasNext, next
 
Methods inherited from class opennlp.model.AbstractEventStream
remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParserEventStream

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

AbstractParserEventStream

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

getInitialChunks

public static Parse[] getInitialChunks(Parse p)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.