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.)
Steve On Oct 2, 2012, at 3:12 PM, "Chen, Pei" <[email protected]> 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:[email protected]] >> Sent: Tuesday, October 02, 2012 4:47 PM >> To: [email protected] >> Subject: cTAKES resources and the classpath >> >> On Sep 25, 2012, at 3:22 PM, "Chen, Pei" <[email protected]> >> 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 >
