Package | Description |
---|---|
gate | |
gate.corpora | |
gate.creole |
Modifier and Type | Method and Description |
---|---|
protected static void |
Factory.checkDuplicationContext(Factory.DuplicationContext ctx)
Throws an exception if the specified duplication context is null or
not active.
|
static Resource |
Factory.defaultDuplicate(Resource res,
Factory.DuplicationContext ctx)
Implementation of the default duplication algorithm described in
the comment for
Factory.duplicate(Resource) . |
static FeatureMap |
Factory.duplicate(FeatureMap fm,
Factory.DuplicationContext ctx)
Construct a feature map that is a copy of the one provided except
that any
Resource values in the map are replaced by their
duplicates. |
static Resource |
Factory.duplicate(Resource res,
Factory.DuplicationContext ctx)
Create a duplicate of the given resource, using the provided
context.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CorpusImpl.duplicate(Factory.DuplicationContext ctx)
Custom duplication for a corpus - duplicate this corpus in the
usual way, then duplicate the documents in this corpus and add them
to the duplicate.
|
Resource |
SerialCorpusImpl.duplicate(Factory.DuplicationContext ctx)
SerialCorpusImpl does not support duplication.
|
Modifier and Type | Method and Description |
---|---|
Resource |
CustomDuplication.duplicate(Factory.DuplicationContext ctx)
Create a duplicate of this resource.
|
Resource |
SerialController.duplicate(Factory.DuplicationContext ctx)
Duplicate this controller.
|
Resource |
ConditionalSerialController.duplicate(Factory.DuplicationContext ctx)
Custom duplication method for conditional controllers to handle
duplicating the running strategies.
|
Copyright © 2024 GATE. All rights reserved.