| Package | Description |
|---|---|
| eus.ixa.ixa.pipe.ml |
Package containing common code for training and evaluating IXA pipes models.
|
| eus.ixa.ixa.pipe.ml.document |
Classes related to Document Classification.
|
| Modifier and Type | Method and Description |
|---|---|
static opennlp.tools.util.ObjectStream<DocSample> |
DocumentClassifierTrainer.getDocumentStream(String inputData,
String clearFeatures)
Getting the stream with the right corpus format.
|
| Modifier and Type | Method and Description |
|---|---|
DocSample |
DocumentClassifierEvaluator.processSample(DocSample sample)
Evaluates the given reference
DocSample object. |
DocSample |
DocSampleStream.read() |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<opennlp.tools.ml.model.Event> |
DocumentClassifierEventStream.createEvents(DocSample sample) |
DocSample |
DocumentClassifierEvaluator.processSample(DocSample sample)
Evaluates the given reference
DocSample object. |
| Modifier and Type | Method and Description |
|---|---|
void |
DocClassifierCrossValidator.evaluate(opennlp.tools.util.ObjectStream<DocSample> samples,
int nFolds)
Starts the evaluation.
|
static DocumentClassifierModel |
DocumentClassifierME.train(String languageCode,
opennlp.tools.util.ObjectStream<DocSample> samples,
opennlp.tools.util.TrainingParameters mlParams,
DocumentClassifierFactory factory) |
| Constructor and Description |
|---|
DocumentClassifierEventStream(opennlp.tools.util.ObjectStream<DocSample> dataStream,
DocumentClassifierContextGenerator contextGenerator)
Initializes the current instance via samples and feature generators.
|
Copyright © 2017 IXA pipes. All rights reserved.