|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopennlp.model.AbstractEventStream
opennlp.tools.util.AbstractEventStream<DocumentSample>
opennlp.tools.doccat.DocumentCategorizerEventStream
public class DocumentCategorizerEventStream
Iterator-like class for modeling document classification events.
Constructor Summary | |
---|---|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
Initializes the current instance. |
|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data,
FeatureGenerator... featureGenerators)
Initializes the current instance. |
Method Summary |
---|
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 |
---|
public DocumentCategorizerEventStream(ObjectStream<DocumentSample> data, FeatureGenerator... featureGenerators)
data
- ObjectStream
of DocumentSample
sfeatureGenerators
- public DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
samples
- ObjectStream
of DocumentSample
s
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |