uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: Could UIMA AS client send custom key value parameters to annotator?
Date Wed, 01 Oct 2014 12:46:36 GMT
There is no mechanism for a uima-as client to modify the result
specification of a remote service. Since type/feature control cannot
indicate many other behavioral characteristics, like speed vs accuracy
tradeoffs, the suggested approach for dynamic control is to use dedicated
feature structures in the submitted CAS.


On Tue, Sep 30, 2014 at 11:13 PM, jeffery yuan <yuanyuncn@gmail.com> wrote:

> Hi, Dear UIMA Developer and Users:
> Thanks advance for any help.
> I am using UIMA AS and the RegExAnnotator.
> I am wondering whether the client can send some custom key value
> parameters to
> the annotator.
> The real function I want to implement is:
> ------------------------------------------
> As there are multiple(10+) regex defined in the regex.pear, client may be
> only
> interested in several entity types, so we want RegExAnnotator only run
> regex
> for types that client specifies.
> If I use synchronous UIMA API, I can set ResultSpecification in client.
> AnalysisEngine ae;
> ResultSpecification rs = createResultSpecification(types);
> ae.process(cas, rsf);
> RegExAnnotator then check
> getResultSpecification().getResultTypesAndFeatures(), then only run needed
> regex.
> But as I use UIMA AS(ae.sendCAS(cas);), there is no API to set
> ResultSpecification or specify custom key value parameters.
> Thanks...

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message