Hello Everyone,
I am trying to call AnalysisEngineDescription XML
files within UIMAFIT. Here is what I do..
CollectionReader reader =
UriCollectionReader.getCollectionReaderFromFiles(files);
XMLInputSource in1 = new XMLInputSource("desc/analysisenginedescription.xml"
);
AnalysisEngineDescription aeDesc2 =
UIMAFramework.getXMLParser().parseAnalysisEngineDescription(in1);
AggregateBuilder builder = new AggregateBuilder();
builder.add(aeDesc2);
SimplePipeline.runPipeline(reader, builder.createAggregateDescription());
Is this right? I have some XML files I had built using Component Descriptor
earlier. I was using this within UIMA pipeline. I recently wanted to
integrate POS Tagger (ClearTK) within my pipeline. This when I cam across
UIMAFIT...
I keep getting an error whenever I run this code?
Thanks,
Harshal