Thanks for both of your help! I think i'm understanding things a little
better now. I got your example to work Katrin, however I do agree with
Frank in regards to the Aggregate AE. I do want to be able to use the
process outside a CPE. So that is my next step. For some reason, I
still can't get the example to work in Java. I now use one CAS, send it
through the sentence detector, then send it through the NE parser and I
get nothing out. Maybe I'll have more luck when I try to make my own AE.
I think a light clicked reading both your emails in that the inputs are
the annotations put in the CAS by the previous AE. So I don't have to
set any "input" per say (i.e. there is no "setInput" equivalent on the
CAS like I was looking for). I'll try out the next few steps later this
week hopefully. Thanks again for all your help and happy independence
day (if you're in the US...)!
One other question I had: Is there a model for the NE detector that is
trained off of news articles (like the one lingpipe has)? Or can I use
the one lingpipe has (I assumed it was in the wrong format...)? I'm not
really in the gene/bio business...;) I'm looking to discover People,
Locations, and Organizations.
Andrew
Katrin Tomanek wrote:
Dear Andrew,
I have added a small documentation to our website, explaining how to
set up a Collection Processing Engine (CPE) from PEAR packages. See here:
https://watchtower.coling.uni-jena.de/~tomanek/UIMA/
There is also a small demo-CPE.
In case you want to use the components rather programatically, i.e. in
an application, you might refer the "UIMA Tutorial and Developers'
Guides" (UIMA Version 2.1), section 3.2 (Using Analysis Engines). Do
it as explained there, i.e. make a AE from the sentence splitter and
from the named entity tagger. Create a CAS (important: as explained in
3.2.6!) and then just run the process method of both AEs, sentence
splitter first, then the ne tagger, on the CAS you created. Hope that
works.
Best wishes,
Katrin