|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.model.AbstractEventStream
opennlp.tools.postag.POSEventStream
@Deprecated public class POSEventStream
An implementation of EventStream whcih assumes the data stream gives a sentence at a time with tokens as word_tag pairs.
Constructor Summary | |
---|---|
POSEventStream(DataStream d)
Deprecated. Initializes the current instance. |
|
POSEventStream(DataStream d,
Dictionary dict)
Deprecated. Initializes the current instance. |
|
POSEventStream(DataStream d,
POSContextGenerator cg)
Deprecated. Initializes the current instance. |
Method Summary | |
---|---|
boolean |
hasNext()
Deprecated. |
static void |
main(java.lang.String[] args)
Deprecated. |
Event |
next()
Deprecated. |
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 |
---|
public POSEventStream(DataStream d)
d
- public POSEventStream(DataStream d, Dictionary dict)
d
- dict
- public POSEventStream(DataStream d, POSContextGenerator cg)
d
- cg
- Method Detail |
---|
public boolean hasNext()
public Event next()
public static void main(java.lang.String[] args) throws java.io.IOException, InvalidFormatException
java.io.IOException
InvalidFormatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |