ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Bethard <steven.beth...@Colorado.EDU>
Subject Re: cTAKES resources and the classpath
Date Tue, 02 Oct 2012 21:24:55 GMT
Yeah, I'm going to commit a change to the dependency parser that allows me to do this. (Currently
the location of the lemmatized data file is hard coded.)


On Oct 2, 2012, at 3:12 PM, "Chen, Pei" <Pei.Chen@childrens.harvard.edu> wrote:

> Hi Steve,
> I didn't get a chance to do this last week, but will work on it tonight and tomorrow.
> Don't want this to stop you though, so feel free to read in the resource from an another
location temporarily...
> --Pei
>> -----Original Message-----
>> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU]
>> Sent: Tuesday, October 02, 2012 4:47 PM
>> To: ctakes-dev@incubator.apache.org
>> Subject: cTAKES resources and the classpath
>> On Sep 25, 2012, at 3:22 PM, "Chen, Pei" <Pei.Chen@childrens.harvard.edu>
>> wrote:
>>> I think Brandyn and others had a reasonable suggestion to use the name
>> instead of location paths in those pesky descriptor xml files- Assuming
>> they're in the classpath (placed in src/main/resources).
>>> I'll take a stab at this later this week if I get a chance.
>> Pei, are you still working on this? I'm currently unable to use the dependency
>> parser from another project because it can't find it's resources. Specifically, it
>> fails on this line:
>> URL lemmatizerDataFileURL =
>> this.getClass().getResource(ENG_LEMMATIZER_DATA_FILE);
>> I would take a stab at fixing these myself, but the JCasGen issue makes these
>> kind of broad changes really difficult for me.
>> Steve

View raw message