|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.tools.doccat.DocumentCategorizerEventStream
public class DocumentCategorizerEventStream
Iterator-like class for modeling document classification events.
| Constructor Summary | |
|---|---|
DocumentCategorizerEventStream(opennlp.maxent.DataStream data)
Initializes the current instance. |
|
DocumentCategorizerEventStream(opennlp.maxent.DataStream data,
FeatureGenerator[] featureGenerators)
Initializes the current instance. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
opennlp.maxent.Event |
nextEvent()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentCategorizerEventStream(opennlp.maxent.DataStream data,
FeatureGenerator[] featureGenerators)
data - DataStream of DocumentSamplesfeatureGenerators - public DocumentCategorizerEventStream(opennlp.maxent.DataStream data)
data - DataStream of DocumentSamples| Method Detail |
|---|
public boolean hasNext()
hasNext in interface opennlp.maxent.EventStreampublic opennlp.maxent.Event nextEvent()
nextEvent in interface opennlp.maxent.EventStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||