Hi Richard,

if you can provide me with this code earlier that will help us a lot with our 
initial testing.

Thanks and regards,

Alex



----- Original Message -----
From: "Richard Eckart de Castilho" <[email protected]>
To: [email protected]
Sent: Tuesday, August 30, 2011 4:47:57 PM
Subject: Re: cpe descriptor import locations in a jar file

Hi Alex,

> is there a way to change the import locations of CpeCasProcessors in a 
> cpeDescriptor during the runtime of this descriptor?

we solve this problem by generating the CpeDescription at runtime. Basically 
the procedure is this:

- locate the Analysis Engine Descriptions in the classpath
- copy them to the filesystem (temporary files, delete on exit)
- create a CPE description programmatically and add the Analysis Engine 
Descriptors to it
- crate an CPE from the CPE description
- run it

If you are interested, I can provide you with the code that does this. It's 
scheduled for a release within the next few weeks anyway.

-- Richard

--
-------------------------------------------------------------------
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab
FB 20 Computer Science Department
Technische Universität Darmstadt
Hochschulstr. 10, D-64289 Darmstadt, Germany
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
[email protected]
www.ukp.tu-darmstadt.de
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
-------------------------------------------------------------------




Reply via email to