|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object opennlp.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(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 |
---|
public POSEventStream(opennlp.maxent.DataStream d)
d
- public POSEventStream(opennlp.maxent.DataStream d, Dictionary dict)
d
- dict
- public POSEventStream(opennlp.maxent.DataStream d, POSContextGenerator cg)
d
- cg
- Method Detail |
---|
public boolean hasNext()
public opennlp.model.Event next()
public static void main(String[] args) throws IOException, InvalidFormatException
IOException
InvalidFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |