AnalysisEngineDescription ae = (AnalysisEngineDescription) modelRoot.getAeDescription().clone();
// speedup = replace typeSystem with resolved imports version
if (ae.isPrimitive()) {
TypeSystemDescription tsd = modelRoot.getMergedTypeSystemDescription();
if (null != tsd)
tsd = (TypeSystemDescription) tsd.clone();
ae.getAnalysisEngineMetaData().setTypeSystem(tsd);
}
ae.getAnalysisEngineMetaData().setFsIndexCollection(modelRoot.getMergedFsIndexCollection());
ae.getAnalysisEngineMetaData().setTypePriorities(modelRoot.getMergedTypePriorities());
try {