public interface TrainingDataReader
Modifier and Type | Method and Description |
---|---|
void |
readTrainingData(org.apache.uima.jcas.JCas jcas,
Collection<RawRelation> rawRelationInstances,
Collection<LabeledDataPoint> trainingDataCollection)
This constructs training data for the given combination of XCAS document
and RawRelations and writes them to the given collection of
LabeledDataPoints.
|
void readTrainingData(org.apache.uima.jcas.JCas jcas, Collection<RawRelation> rawRelationInstances, Collection<LabeledDataPoint> trainingDataCollection)
jcas
- an XCAS document given as JCas.rawRelationInstances
- a Collection of RawRelations that are treated
as positive Training examples.trainingDataCollection
- Copyright © 2014. All rights reserved.