Hi!
In classical UIMA you use following code to create an AnalysisEngineDescription
from an XML descriptor file.
final Path descriptorFilePath = Paths.get("/some/path/",
"AnalysisEngineDescriptorFile.xml");
final XMLInputSource xmlInputSource = new
XMLInputSource(descriptorFilePath.toFile());
final AnalysisEngineDescription analysisEngineDescription =
UIMAFramework.getXMLParser().parseAnalysisEngineDescription(xmlInputSource);
Now you can use analysisEngineDescription with
org.uimafit.factory.AggregateBuilder to create an aggregate analysis engine and
run the pipeline with SimpePipeline.run().
How is the uimaFit way to do this?
Cheers,
Armin