opennlp.tools.postag
Class POSEventStream

java.lang.Object
  extended by opennlp.model.AbstractEventStream
      extended by opennlp.tools.postag.POSEventStream
All Implemented Interfaces:
opennlp.model.EventStream

Deprecated.

@Deprecated
public class POSEventStream
extends opennlp.model.AbstractEventStream

An implementation of EventStream whcih assumes the data stream gives a sentence at a time with tokens as word_tag pairs.


Constructor Summary
POSEventStream(opennlp.maxent.DataStream d)
          Deprecated. Initializes the current instance.
POSEventStream(opennlp.maxent.DataStream d, Dictionary dict)
          Deprecated. Initializes the current instance.
POSEventStream(opennlp.maxent.DataStream d, POSContextGenerator cg)
          Deprecated. Initializes the current instance.
 
Method Summary
 boolean hasNext()
          Deprecated.  
static void main(String[] args)
          Deprecated.  
 opennlp.model.Event next()
          Deprecated.  
 
Methods inherited from class opennlp.model.AbstractEventStream
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSEventStream

public POSEventStream(opennlp.maxent.DataStream d)
Deprecated. 
Initializes the current instance.

Parameters:
d -

POSEventStream

public POSEventStream(opennlp.maxent.DataStream d,
                      Dictionary dict)
Deprecated. 
Initializes the current instance.

Parameters:
d -
dict -

POSEventStream

public POSEventStream(opennlp.maxent.DataStream d,
                      POSContextGenerator cg)
Deprecated. 
Initializes the current instance.

Parameters:
d -
cg -
Method Detail

hasNext

public boolean hasNext()
Deprecated. 

next

public opennlp.model.Event next()
Deprecated. 

main

public static void main(String[] args)
                 throws IOException,
                        InvalidFormatException
Deprecated. 
Throws:
IOException
InvalidFormatException


Copyright © 2010. All Rights Reserved.