| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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. > |
|
#2
| |||
| |||
| 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. > > > |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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 > |
|
#5
| |||
| |||
| 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 |
|
#6
| |||
| |||
| 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 > > > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.