public interface InformationExtractionTrainer
Modifier and Type | Method and Description |
---|---|
void |
initialize(InformationExtractionTrainerSpecification spec)
Initialize this instance.
|
void |
invalidateTraining(InformationExtraction ext)
Performs invalidation of any training performed for the target InformationExtraction,
called after the InformationExtraction was confirmed and after training is performed
on the confirmed InformationExtraction.
|
void |
train(InformationExtraction ext)
Performs any training for the target InformationExtraction, called once the
the InformationExtraction has a confirmed solution.
|
void initialize(InformationExtractionTrainerSpecification spec) throws IfsException
Called immediately after construction (via the default constructor) and used so that the implementation can initialize session-independent state. This instance may be subsequently used concurrently by multiple threads and sessions. A session can be retrieved from the specification object, but it must not be cached. The specification also has the implementation and instance specific parameters which should be cached in a session independent way.
spec
- The specification for a given implementation.IfsException
- if the operation fails.void train(InformationExtraction ext) throws IfsException
ext
- the target InformationExtraction.IfsException
- if the operation fails.void invalidateTraining(InformationExtraction ext) throws IfsException
ext
- the target InformationExtraction.IfsException
- if the operation fails.Copyright © 2023. All rights reserved.