Re: I'm developing an application able to setup a workflow and run it ...

This is a discussion on Re: I'm developing an application able to setup a workflow and run it ... within the Apache forums in Application Servers & Tools category; Sounds like you want CPE1 that processes a collection of documents and creates a new collection, which would then be fed into CPE2. Is that it? If so, why not extend CPE1 to include the processing of CPE2? If my understanding is wrong, can you give more details on the scenario? Regards, Eddie On Fri, Sep 12, 2008 at 10:01 AM, Luigi Cosentino < luigi.cosentino-XFI7nPSamT/QT0dZR+AlfA @ public.gmane.org> wrote: > Hi all, > > I'm developing an application able to setup a workflow and run it. The > start > node of this workflow is an UIMA CPE. > I need ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-12-2008, 11:02 AM
Eddie Epstein
Guest
 
Default Re: I'm developing an application able to setup a workflow and run it ...

Sounds like you want CPE1 that processes a collection of documents and
creates a new collection, which would then be fed into CPE2. Is that it? If
so, why not extend CPE1 to include the processing of CPE2? If my
understanding is wrong, can you give more details on the scenario?

Regards,
Eddie

On Fri, Sep 12, 2008 at 10:01 AM, Luigi Cosentino <
luigi.cosentino-XFI7nPSamT/QT0dZR+AlfA@public.gmane.org> wrote:

> Hi all,
>
> I'm developing an application able to setup a workflow and run it. The
> start
> node of this workflow is an UIMA CPE.
> I need to take the UIMA consumer processed data and pass them to the next
> workflow node.
>
> Anyone can help me?
>
> Gigi.
>


Reply With Quote
  #2  
Old 09-12-2008, 11:17 AM
Luigi Cosentino
Guest
 
Default Re: I'm developing an application able to setup a workflow and run it ...

Eddie, thanks for the quick answer: the scenario is the follow: I have a
proprietary workflow in which just the first node is an UIMA CPE.

input----> UIMA CPE ----> third part node 2 ----> third part node 3
--->......

I need to pass the UIMA CPE produced results to the next node.

Regards.
Gg.


On Fri, Sep 12, 2008 at 5:02 PM, Eddie Epstein <eaepstein-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Sounds like you want CPE1 that processes a collection of documents and
> creates a new collection, which would then be fed into CPE2. Is that it? If
> so, why not extend CPE1 to include the processing of CPE2? If my
> understanding is wrong, can you give more details on the scenario?
>
> Regards,
> Eddie
>
> On Fri, Sep 12, 2008 at 10:01 AM, Luigi Cosentino <
> luigi.cosentino-XFI7nPSamT/QT0dZR+AlfA@public.gmane.org> wrote:
>
> > Hi all,
> >
> > I'm developing an application able to setup a workflow and run it. The
> > start
> > node of this workflow is an UIMA CPE.
> > I need to take the UIMA consumer processed data and pass them to the next
> > workflow node.
> >
> > Anyone can help me?
> >
> > Gigi.
> >

>


Reply With Quote
  #3  
Old 09-12-2008, 11:24 AM
Florian Laws
Guest
 
Default Re: I'm developing an application able to setup a workflow and runit ...

Luigi Cosentino schrieb:
> Eddie, thanks for the quick answer: the scenario is the follow: I have a
> proprietary workflow in which just the first node is an UIMA CPE.
>
> input----> UIMA CPE ----> third part node 2 ----> third part node 3
> --->......
>
> I need to pass the UIMA CPE produced results to the next node.


I can think of two options:

a) wrap the other nodes into CPEs

b) use a CAS consumer that takes the results of the UIMA CPE
and feeds it into your other workflow.
(you'd have to convert the data in the CAS on your own,
but there are mechanisms for serialization into XML that
might help you.)


Regards,

Florian

Reply With Quote
  #4  
Old 09-15-2008, 12:41 PM
Luigi Cosentino
Guest
 
Default Re: I'm developing an application able to setup a workflow and run it ...

Dear all,

I tried to use a StatusCallbackListener object to send the results of the
UIMA process to my own application.

In the following I report a little example:

*public class MyApplication implements StatusCallbackListener{

**public void entityProcessComplete(final CAS cas, final EntityProcessStatus
status)
{
<...manage output indexed into the Cas object...>
}


*
*public void start(){
*
*CpeDescription cpeDescriptor =
UIMAFramework.getXMLParser().parseCpeDescription(n ew
XMLInputSource(xmlConfigurationFile.getValue().get AbsolutePath()));
*
*
*
*final CollectionProcessingEngine mCPE =
UIMAFramework.produceCollectionProcessingEngine(cp eDescriptor);
*
*
*
*mCPE.addStatusCallbackListener(this);
*
*
*
*mCPE.process();
*
*}
*
*}*

The UIMA CPE descriptor contains a Collection Reader, an Analysis Engine and
a CAS Consumer.
Could this be a good idea? I'm having some problem maybe with the listener:
I obtain not expected null annotations value. Could the reason is a bad
implementation of the Listener?


On Fri, Sep 12, 2008 at 5:24 PM, Florian Laws <
florian.laws-z4aLgj2NwzYL63KmMnjC+CEWGD4kr0XT@public.gmane.org> wrote:

> Luigi Cosentino schrieb:
>
>> Eddie, thanks for the quick answer: the scenario is the follow: I have a
>> proprietary workflow in which just the first node is an UIMA CPE.
>>
>> input----> UIMA CPE ----> third part node 2 ----> third part node 3
>> --->......
>>
>> I need to pass the UIMA CPE produced results to the next node.
>>

>
> I can think of two options:
>
> a) wrap the other nodes into CPEs
>
> b) use a CAS consumer that takes the results of the UIMA CPE
> and feeds it into your other workflow.
> (you'd have to convert the data in the CAS on your own,
> but there are mechanisms for serialization into XML that
> might help you.)
>
>
> Regards,
>
> Florian
>


Reply With Quote
  #5  
Old 09-16-2008, 06:26 AM
Ahmed Ragheb
Guest
 
Default Updated UIMA runtime plugin for eclipse

Hi All,

The hotfix for UIMA v2.2.2 is shipped as a replacement uima-core.jar and
fixes a number of memory issues. Unfortunately this is of no use to our
product since we use the UIMA runtime plugin which does not use
uima-code.jar but instead uses something else containing the same class
files.

How can we obtain the UIMA runtime plugin with this hotfix?

Best Regards,
Ahmed
-------------------------------------------------------------------------------

Ahmed M. Ragheb
Staff Software Engineer
Advanced Technologies Group
IBM Cairo Technology Development Center
IBM WTC, Egypt Branch, P.O.B. 166, El-Ahram, Giza, Egypt.
Tel: DID: (202) 35361048 S/B: (202) 35362536 Ext: 1048
e-mail: ragheba-rmLlYnVr4qDQT0dZR+AlfA@public.gmane.org

"We think in generalities, but we live in details.", Alfred North Whitehead


Reply With Quote
  #6  
Old 09-17-2008, 04:14 PM
Marshall Schor
Guest
 
Default Re: Updated UIMA runtime plugin for eclipse

Hi -

The memory fixes are

UIMA-1067: Remove char heap/ref heap in StringHeap of the CAS
UIMA-1068: Use of the JCas cache should be configurable

To use these you have to update the jar for the plugin. You can use the
"jar" command which comes with Java to do this. Here are the steps:

1) get the hot fix
2) unzip it (it's a zip file). If you unzipped the hot fix into
directory DDD, there should be a folder in DDD called "org"
3) update the original plugin, using the command

jar -uvf path-to-org.apache.uima.runtime_2.2.2.incubating.jar -C
path-to-dir-where-you-unzipped org

Of course, change the "path-to-...." to be the paths described.

This command will update the jar file using the files from the hot fix.

Hope that helps. -Marshall



Ahmed Ragheb wrote:
> Hi All,
>
> The hotfix for UIMA v2.2.2 is shipped as a replacement uima-core.jar and
> fixes a number of memory issues. Unfortunately this is of no use to our
> product since we use the UIMA runtime plugin which does not use
> uima-code.jar but instead uses something else containing the same class
> files.
>
> How can we obtain the UIMA runtime plugin with this hotfix?
>
> Best Regards,
> Ahmed
> -------------------------------------------------------------------------------
>
> Ahmed M. Ragheb
> Staff Software Engineer
> Advanced Technologies Group
> IBM Cairo Technology Development Center
> IBM WTC, Egypt Branch, P.O.B. 166, El-Ahram, Giza, Egypt.
> Tel: DID: (202) 35361048 S/B: (202) 35362536 Ext: 1048
> e-mail: ragheba-rmLlYnVr4qDQT0dZR+AlfA@public.gmane.org
>
> "We think in generalities, but we live in details.", Alfred North Whitehead
>
>
>
>


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:58 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.