Thanks for your reply, Jens.
I admit I had been avoiding setting the text of the CAS to be the entire XML
string I get back from the first REST service because it is a massive string
and I only want a couple nodes from that xml string to be processed throughout
the UIMA pipeline. But I see
Helen,
You might also consider using UIMA-AS instead. UIMA-AS allows you to deploy a
service (your AAE) that can be remotely accessed by UIMA-AS clients on other
machines or in other JVMs for scalable deployments. Each client provides a
CollectionReader to supply documents to the service and
Hi all,
I have a use case where I would like be able to get the AnalysisEngine
object from an AnalysisComponent object at runtime in order to get to
the:
private ResourceCreationSpecifier mDescription; (or the aggregate's
corresponding field.)
in the PrimitiveAnalysisEngine_impl class.
This
So it turns out I cannot invoke
cas.reset()
from inside an annotator, nor can I set anew the text to be processed using
cas.setDocumentText()
once the doc-text has already been set in the SimpleServer Service.java class.
What are my options for altering the document text inside an annotator
Hi Helen,
We use CAS views. Chapter six should help:
http://uima.apache.org/d/uimaj-2.4.0/tutorials_and_users_guides.pdf
We read the xml into one view and then have an annotator
scrape the plain text and put it in another.
You can work this so the XML to plaintext code is sofa aware and puts