UIMA tutorial ex1

2014-06-11 Thread Pathima Nusrath Hameed
Hi,

I am a new uima  user. I am trying to implement the example given in
tutorial guide.
I found the following error when I do the example 1.
-- "org.apache.uima.resource.ResourceInititalizationException:Annotator
class name is required for a primitive analysis engine"

I set up all the jar files to the classpath of my project. Still I am
getting this error.
I appreciate your  feedback.
Thank you

Best Regards,
Nusrath Hameed


Re: Is there a way to tell UIMA component to only extract some kind of entities when run opennlp.pear?

2014-06-11 Thread Eddie Epstein
Hi Jeffery,

According the info at
http://uima.apache.org/d/uimaj-2.6.0/tutorials_and_users_guides.html#ugr.tug.aae.result_specification_setting

   "The default Result Specification is taken from the Engine's output
Capability Specification."

So it should be possible to deploy the UIMA-AS service with a particular
ResultSpecification,
if a static configuration is all that is needed.

Using the ResultSpecification to control annotator behavior is quite
limited;
consider wanting a speed vs accuracy knob. A more general static solution
would be based
on configuration parameters, and a dynamic solution would put control
information into the CAS.

Eddie




On Thu, Jun 5, 2014 at 5:20 PM, Jeffery  wrote:

> Marshall Schor  writes:
>
> >
> > UIMA's descriptors include a section under the XML capabilities element
> where
> > the descriptor may specify inputs and outputs.  These end up informing
> the
> > ResultSpecification which is provided to the annotator.  The
> ResultSpecification
> > can be queried by the annotator code to see what the annotator ought to
> produce.
> >
> > This is used, for example by sample annotators in the examples project:
> >TutorialDateTime
> >RegExAnnotator
> >PersonTitleAnnotator
> >
> > to control what the annotators produce.
> >
> > This behavior, on the part of annotators, is "optional" - that is, an
> annotator
> > might be written to ignore the ResultSpecification.
> >
> > So the key may be to update the annotators to take account of the
> > ResultSpecification.
> >
> > For more background, see
> > http://uima.apache.org/d/uimaj-
>
> 2.6.0/tutorials_and_users_guides.html#ugr.tug.aae.result_specification_setti
> ng
> >
> > which discusses the ResultSpecification further.
> >
> > -Marshall
>
> Thanks, Marshall
>
>I tried your suggestions, and it works very well.
>Recently, I am looking into UIMA-AS, I am wonderring whether we can do
> same thing in uima-as. But seems UIMA-AS doesn't use ResultSpecificatio:
> the
> sendCas method doesn't accept ResultSpecificatio.
>
>   String casId = asAE.sendCAS(cas);
>
> Thanks again for your great help, Marshall.
> -- Seems my last thank-you post somehow was gone.
>
>


ApacheCon Call For Papers (closes in just 2 weeks (June 25))

2014-06-11 Thread Marshall Schor
Dear UIMA (or uimaFIT, RUTA, DUCC, UIMA-AS) enthusiast,

As you may be aware, ApacheCon will be held this year in Budapest, on
November 17-23. (See http://apachecon.eu for more info.)

The Call For Papers for that conference is still open, but will be
closing soon.  If you have been doing something interesting with UIMA,
and feel others could benefit, please consider submitting a talk proposal.
We need all kinds of talks - deep technical talks, hands-on
tutorials, introductions for beginners, or case studies about the
awesome stuff you're doing with UIMA or any of its subprojects.

Please consider submitting a proposal, at
http://events.linuxfoundation.org//events/apachecon-europe/program/cfp

Thanks!  -Marshall Schor, on behalf of the UIMA Community